Jump to content


what php file does the blog archive page use for formatting?

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1 bbruemmer



  • Members
  • Pip
  • 3 posts

Posted 30 April 2010 - 01:59 PM

I've gone through and made some changes to the css and the php files to format the site with the blog on the front page. However, in doing so i seem to have messed up something. The blog on the front looks fine and has the feature and feature boxes on it. When i click a single post it correctly eliminates the feature and replaces it with the spotlight. But when i click a category it shows the feature again. Which php file is the categories page using so i know which file to go in and edit?

#2 arpowers



  • Administrators
  • 3272 posts

Posted 30 April 2010 - 04:25 PM

All the posts pages use the `_posts.php` file to render. What shows up where, is controlled by WP conditionals. If you want to have something specifically show up on the category pages... you could edit this file and add the `is_cat()` conditional in the code. Alternatively you could create your own category.php file; which would solve your issue as well :)