Index page assigning self to category of latest post
-
Hi there, my site betterRetailing has a pretty long if on the header which assigns styles depending on which page is being displayed. I published a post in one category that made the appearance of the header change and it would appear the index.php is assigning itself as a category depending on whatever is the latest post on the page. I’ve put in a hidden the_category tag in the navigation that shows the homepage is in the money category (currently the latest post there).
What’s going on, because if it does this then my big if is suddenly redundant, and I’m going to have to go back to having several header files as before.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Index page assigning self to category of latest post’ is closed to new replies.