WordPress.org

Ready to get started?Download WordPress

Forums

2 list_pages and list_categories with drop-down nav ? (1 post)

  1. bryanlean
    Member
    Posted 3 years ago #

    Can we use 2 wp_list_pages or wp_list_categories in header php ?

    What I'm trying to do:
    A header with 2 page list (menu), one on the very top and another one act as a normal main menu beside the logo with hover dropdown effect in each menu. I put wp_list_pages for the top and the main-menu ( 2) and place wp_list_categories for the main-menu drop down list.

    So what it should have now is:
    1. Top menu. (wp_list_pages)
    2. Main menu. (wp_list_pages)
    3. Dropdown categories in Main menu. (wp_list_categories)

    The problem is I don't really know if that would work and I don't even know how to do a drop-down yet in wordpress php.

    Can someone please tell me if that could work and please give me an example of drop-down navigation with 2 menu (only the main menu need drop-down categories) if you could.

Topic Closed

This topic has been closed to new replies.

About this Topic