WordPress.org

Ready to get started?Download WordPress

Forums

Frustrated with header/menu (8 posts)

  1. mkirkwag
    Member
    Posted 3 years ago #

    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

  2. esmi
    Theme Diva & Forum Moderator
    Posted 3 years ago #

  3. mkirkwag
    Member
    Posted 3 years ago #

    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.

  4. esmi
    Theme Diva & Forum Moderator
    Posted 3 years ago #

    You're not using wp_list_pages or wp_page_menu at the moment. That looks like a hard-coded menu to me.

  5. mkirkwag
    Member
    Posted 3 years ago #

    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?

  6. mkirkwag
    Member
    Posted 3 years ago #

    I'm really calling it the wrong thing...it's a navigation bar in the header.

  7. esmi
    Theme Diva & Forum Moderator
    Posted 3 years ago #

    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.

  8. mkirkwag
    Member
    Posted 3 years ago #

    Very annoying. I really don't want to change my theme...I wish they'd just charge for it and support it.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags