Jump to content
Sign in to follow this  
diva@authenticdiva.ca

Secondary nav menu missing on category page/single post

Recommended Posts

diva@authenticdiva.ca

Even though it's showing in the header, the secondary menu is missing on the category page and posts pages. I know it's something simple I'm missing - but what? URL is http://www.thereallifediva.com/

Share this post


Link to post
Share on other sites
Rob
I suspect that the homepage is in fact a static homepage on which you selected the correct secondary menu to use. Unfortunately, categories, search results and some other page/post types are dynamic, so you cannot select a particular secondary menu. Noting that secondary menus must be selected manually to apply to the particular page or post, there's no way to do it either broadly or dynamically. When you get down to something like http://www.thereallifediva.com/2011/10/terrific-tuesday-october-11-2011/ in the editing mode, you will find a selection drop down to choose the secondary nav to apply to that particular post. But the category pages aren't "edited" as such. Now there's a way to do it. You won't like it because it's not easy. 1. You need to create and name a secondary nav menu for each category. There are no child or grandchild options for secondary nav, as a side note. 2. You need to create a page (not a post) for each specific category or subcategory you have. Use any template you desire from the list. 3. Download a plugin called TPG Get Posts from http://www.wordpress.org/extend/plugins. Activate it and use the instructions found via that link to include posts from the applicable category on the matching page. Save. 4. Style the post listings on your page as you wish. I know that thumbnails are possible, but generally TPG doesn't provide them in their default shortcodes. You have to do some serious research and editing. 5. Go back to your page and make any content or style changes you wish. In edit mode, select the secondary nav you created. Save your page. 6. In your main menu, replace the category link you have with its corresponding page (just finished saving). View your homepage... navigate to the menu link you just created and voila, there's your secondary nav. Unfortunately, it still won't work for search results. You'll also have to manually add the secondary nav for that category to all posts in the category. No way to do it globally - a WP function, btw.

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
diva@authenticdiva.ca
Thanks - will give the page per category a try and see how it goes. Alternatively, I guess I can pop a menu into the sidebar to take over the secondary nav function so I"ll see how that works as well :) jill :)

Share this post


Link to post
Share on other sites
Rob
I think you'll find it useful.

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
jankowalski
didn t get this: Activate it and use the instructions found via that link where is this link?

Share this post


Link to post
Share on other sites
Rob
Jan, my apologies. I wasn't aware people might not think to search once they arrived at the link provided. Here's the specific link: http://wordpress.org/extend/plugins/tpg-get-posts/

Former PageLines Moderator, Food Expert and Raconteur

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  

×