Forums

Does WP support "popup" menus with multi-levels? (4 posts)

  1. mathwriter
    Member
    Posted 9 months ago #

    I have about 20 pages/links I would like to directly link from my top level menu, and not simply be buried inside the blog. However, I don't want to add 20 different menu items. I would rather add 3 menu categories, and have the specific pages popup under a sub-menu when the user hovers. Basically, like all the non-WP websites had a few years ago.... Can I do this?

  2. Edward Caissie
    Member
    Posted 9 months ago #

    Depending on the theme and your page structure this can be very doable.

    For example, using a basic fallback function of wp_list_pages for the navigation menu; and having your pages structured in a parent-child relationship where the "parent" is the "category" I would imagine it would just fall into place.

  3. mathwriter
    Member
    Posted 9 months ago #

    I am using the default 20/11 theme for 3.2.1.

    I'm not sure what wp_list_pages() is.

  4. Edward Caissie
    Member
    Posted 9 months ago #

    The default menu falls back to wp_page_menu which is essentially a wrapper for wp_list_pages

    See the following links for more information:
    http://codex.wordpress.org/Function_Reference/wp_nav_menu
    http://codex.wordpress.org/Function_Reference/wp_page_menu
    http://codex.wordpress.org/Function_Reference/wp_list_pages

Reply

You must log in to post.

About this Topic

Tags