December 30, 2012 at 8:56 am #8350
I am using enterprise theme which has 2 Nav menus,
however, I am struggling to find a way to control the second menu/sub menu
so it changes automatically depending what is the category/slug
Because I am trying to migrate old site to Genesis.. manually selecting sub menu for each post/page seems like a lot of pain with almost 2,000 posts/pages..
i have found some plugins to control widgets based on category, but no luck with conditional menus..
genesis-subpages-as-secondary-menu plugin - is no good, does not work on posts, only pages
any help would be really appreciated, I can't imagine I am the only one trying to achieve this
krisJanuary 13, 2013 at 10:00 pm #11742
Take a look at Genesis Simple Menus Plugin - http://www.studiopress.com/plugins/simple-menus
It says you can change the secondary nav menu by category.
August 17, 2013 at 4:09 pm #57091
It took me a while to get back to this issue,
Yes, I am using Genesis Simple Menus plugin, but it does not allow me to set automatically secondary menu based on the slug,
I have to change it manually.. for 2,000 or so posts
that;s why I wondered if there is a way to make it pick the correct secondary menu based on the slug that is usedAugust 17, 2013 at 5:39 pm #57102
So you want to display the sub nav for posts in specific categories or on category archive pages?
August 18, 2013 at 1:28 am #57127
I would like to show sub menu for all pages and posts
each post belongs only to one categoryAugust 18, 2013 at 5:39 am #57131
In what position? Before or after header?
Can you link to your site please.
August 18, 2013 at 8:57 am #57146
here is one page (blue is secondary menu)
and here is another
these are strictly "wordpress pages", (but later on, for the acca as one category there are many posts belong only to it
while aat is another category.
so, this post - should display proper aat menu, not default secondary menu
I hope that makes sense?August 18, 2013 at 9:42 am #57155
What you can do is remove either the primary or secondary menu conditionally.
How many menus do you want to display on pages and posts?
August 18, 2013 at 10:17 am #57160
uhm, not sure I understand,
both primary and secondary menu are always visible,
Only the content of the secondary changes (or rather, a different menu becomes the secondary menu) based on what category the post belongs to (or the slug of the post),August 18, 2013 at 10:22 am #57162
Have you tried the Genesis Simple Menu's plugin?
Otherwise you will need custom code with conditional tags.
I'm assuming you want to display a different sub nav depending on which category your posts are assigned to.
How many menus have your created?
Still not clear on exactly what you want.
August 18, 2013 at 10:36 am #57168
sorry, it;s my bad english
here is the post link
(it has 'acca' in the slug, it belongs to 'acca' category.
and yet, the submenu - is the default secondary menu,
not the menu I have created specially for this category 'acca'
using simple menu plugin. I can set the secondary menu to 'acca' but it has to be done manually for every post.
so, that's sucks
I want to find a way to make it automatically..
the the description, Genesis simple sidebars might work (if I could replace secondary menu with the widget area..
I will try this plugin and see if it works the way I expect.
thank you for your time.August 22, 2013 at 9:18 am #58210
Alright, I think the solution to my 'problem' is to create a custom category templates with Genesis
does anyone know of good tutorials?
You must be logged in to reply to this topic.