O'Reilly logo

WordPress 2.7 Complete by Hasin Hayder, April Hodge Silver

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

Product pages

The first thing we'll do is set up the product pages so that the product items don't look like blog posts. There are three types of product pages. They are:

  • Main products page
  • Product category page
  • Single product page

Main products page template

This is what the main products page needs to look like:

Main products page template

As you can see, the main products page will need a custom template to list the categories. These categories are subcategories of the Products category. I could have simply hardcoded the sub-items into the Products page, but that wouldn't have made the theme very flexible — if I add new subcategories in the future, they will not show up automatically. ...

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