Since using the static home page, I notice that all of my sites that I have dynamic menu highlighting set up on do not highlight the blog (posts) page in the menu when the user lands there. Is there a test I need to put in the code to check that it is that page? I am assuming that is_home() is now the static home page – so what is the default posts page then? Or should I name the page something different than “blog”?
Hey deltina – I figured out a work around for my site since I only post to one category on our blog. The codex on the new Static and Posts page features notes that if you don’t make an entry in the Posts page then you have to use “category, calendar, or archive links” to link to your blog page. So I removed my Posts page entry and linked to the single category I post to and used the “is_category” call instead of the “is_page” call to make my dynamic menu highlight when I’m on the blog page. See http://codex.wordpress.org/Reading_Options_SubPanel for info on the new Static and Posts page and see http://www.stpaulsms.org, “News” link, to view the work around in action.
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Dynamic Menu and the blog page’ is closed to new replies.