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

Customizing the news blog

For this example website, we've created two kinds of items using posts: news items and product items. So far, we've customized all of the built-in blog functionality to serve the product items only. This means the category page and the single post page are perfect for the product item posts, but not quite ideal for the news item posts. Our product item posts contain only the product's name and text about the product, along with a sidebar with a product list. The news item posts, on the other hand, should have a date, monthly archives, and so on. Let's make them different.

News category page

I've created a link to the whole news category on the home page so that visitors can view more than just the six items. When you click ...

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