WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Possible to have different navigation bar on each page? (4 posts)

  1. madhatterdesign
    Member
    Posted 5 years ago #

    Hi all! I'm wondering if it is possible in WordPress to have two navigation bars - one that is the same across all pages, and one that changes according to the page.

    For example, the Home page has the main nav bar at the top, and then a second navbar below the header that displays some links. Then a second page has the same main nav bar, but the second nav bar displays different links that are pertinent to that page. Does that make sense? Is this even possible in WordPress?

    Also, is it possible for each page to have a different header image?

    I'm asking because a client would like me to do this in WordPress, but I've never customized the code quite this much. Thanks!!!

  2. MichaelH
    Member
    Posted 5 years ago #

    Use the is_page() Conditional Tag and variations of the the template tag, wp_list_pages(), in your theme's header.php

  3. madhatterdesign
    Member
    Posted 5 years ago #

    Beautiful! Thanks!

  4. remotia
    Member
    Posted 4 years ago #

    Could anyone please explain a little bit more, because I have the same problem and am new to this

Topic Closed

This topic has been closed to new replies.

About this Topic