I’m so frustrated with the menu in the header of my site. I can’t seem to have an effect on the pages that appear there. It seems to me that there must be an instruction in the code that is telling it what to put there, but I can’t figure it out. Last time I asked about this, I was told that it was <?=wp_list_pages2()?> in the header part of the template, but what does that mean exactly and how can I tell it to do something else?
It’s not taking just top level pages (which is what I want), it’s not taking pages it order, it’s just got a mind of its own. I tried rolling things up into holding pages – no luck. Phooey. Ideas welcome
Site is http://tribeofadmins.com
Yes…that’s what I’m changing, with no result. I’m sure it’s me doing it wrong, but adding language for include, exclude, page order -whatever – leaves that menu exactly as it is. It’s got to be something else giving the instruction…but I can’t see where else it would be.
You’re not using wp_list_pages or wp_page_menu at the moment. That looks like a hard-coded menu to me.
I know that some actions change that menu, but I can’t figure them out.
Are you saying that the functions of that menu are hidden inside the obfuscated portion of the coding?
I’m really calling it the wrong thing…it’s a navigation bar in the header.
Doesn’t matter what you call it – the code isn’t being generated by a WordPress template tag. Could be a hardcoded included file or a custom function but, as it’s not hooking into any of the WP page listing tags, that would explain why you can’t re-order the pages etc via WP.
- The topic ‘Frustrated with header/menu’ is closed to new replies.