• writeonsister

    (@writeonsister)


    Hello

    I’m trying to change which menu is displayed at the top of my website and no matter what i do it sticks with what it was on my old site.

    I have tried to change it to a new menu multiple times in the menu’s section. Any ideas what i’m doing wrong? I’ve never had this problem before.

    Thanks

Viewing 1 replies (of 1 total)
  • codemovement.pk

    (@codemovementpk)

    Try the following code

    // value can be "id, slug, name"
    wp_nav_menu( array('menu'=>$value) );

    It will only show the menu you specify, I think this is what you are missing, by not giving the menu argument. It may not show your desired menu..

Viewing 1 replies (of 1 total)
  • The topic ‘Changing the menu’ is closed to new replies.