• Really hope I am lucky today and someone helps me solve this.
    I have several different menus in wordpress.
    Some pages belong to more that one menu.
    I want only the menu from which the page was chosen to be displayed instead of all the menus the pages belong to without having to duplicate the pages.

    I really like the in_same_cat and the in_category() funcion and was just wondering if wordpress has a conditional like those for menus.
    The following function shows how the in_same_cat is used and how I am thinking the menu exclusion would go.

    <? php previous_post_link($format, $link, $in_same_cat = true, $excluded_categories = 'cat-name'); ?>

Viewing 1 replies (of 1 total)
  • Thread Starter Asus24

    (@asus24)

    Still hoping someone can assist me with this, Can anyone tell me how to at least get the menu location. Basically which menu the page/post was select from?

Viewing 1 replies (of 1 total)
  • The topic ‘Multiple menus for the same page’ is closed to new replies.