Forums

[resolved] Put main-level pages in sub-navigation (3 posts)

  1. janecraft
    Member
    Posted 4 months ago #

    I'm looking for a way to custom-pick the sub-navigation items, regardless of the parent/child attributes. I'm using WP as a CMS and I have about 50 pages. I want to make them all top-level pages (no children) for several reasons.

    Sub-navigation, as far as I can tell, is completely determined by the page structure (parent/child attributes). Is there another way to build a sub-menu under the main links on the navigation bar?

    For example, on the navigation bar I have About Us, Products, Partners (etc.). I'd like "Partner Solutions" to appear in a submenu under both Products and Partners. Further, when my boss changes (again!), I want to be able to put Partners under About Us (for example) without making it a child and changing the URL structure!

    I can get closer to this functionality by giving up on pages altogether and using posts (not pages) with categories in the navigation bar. However, then "category" appears in the URLs, I must still designate sub-categories, and giving up on pages is undesirable for this CMS-style site.

    Does my question make sense? Does anyone have any ideas?

  2. janecraft
    Member
    Posted 4 months ago #

    I found an answer in the WordPress Menu Creator plugin. Figuring out how to style it was kind of hard -- the topic here http://wordpress.org/support/topic/237500 pointed me in the right direction -- I was able to do a search-and-replace in the css file for the class name and it worked.

  3. JohnPye
    Member
    Posted 2 months ago #

    Thanks for posting the solution you found as well as the question. It really does help others.

Reply

You must log in to post.

About this Topic