Jump to content
Sign in to follow this  
bbruemmer

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

Recommended Posts

bbruemmer

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?

Share this post


Link to post
Share on other sites
Andrew

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 :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×