O'Reilly logo

WordPress 2.8 Themes Cookbook by Lee Jordan, Nick Ohrn

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a table of contents page template

Let's say you're writing a book where you publish each chapter as it is finished. You're going to use WordPress pages for your content organization, with a top-level page describing the book and then a subpage for each of the chapters in your book.

On the top-level page, in addition to the book title and description, you want to display links to each of the chapters, and a brief description of their content. This task would be difficult with a lot of other content management systems, but not with WordPress.

Getting ready

To properly use the techniques in this recipe, you'll need to be working with a theme that you previously acquired or developed. If you haven't started developing a custom theme yet, I ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required