WordPress.org

Ready to get started?Download WordPress

Forums

Menu Links (2 posts)

  1. adub99
    Member
    Posted 3 years ago #

    Hi all, what I'm trying to achieve is :
    When you click on a menu link from a certain page, you go to another page, but on the 2nd page, I'd like a different set of options to appear in the menu.

    Is there anything I can read up to achieve this (or if its easy peasy, could someon point me in the right direction please)

    Many thanks all
    Andy

  2. jeezyo
    Member
    Posted 3 years ago #

    Take a look at condtional tags. http://codex.wordpress.org/Conditional_Tags

    What youd want to do, first, add additional menus to your theme. http://codex.wordpress.org/Function_Reference/wp_nav_menu

    Then, go into your theme template wherever the navigation is (most likely your header) and put your new menus in surrounded by conditional tags testing for your specific pages. Then just go to appearance > menus, and create navigation for each.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.