Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author sevenspark

    (@sevenspark)

    Hi Mike,

    If you’re using a plugin like WPML, I think it has a built in theme location assignment functionality that should take care of that automatically.

    To do it programmatically, you could use the wp_nav_menu_args filter and adjust either the theme_location or menu variable, depending on how you have things set up.

    Hope that helps! 🙂

    Chris

    Thread Starter mikeharris

    (@mikeharris)

    Awesome! Using wp_nav_menu_args & changing the theme_location var worked perfectly. Thanks Chris

    Plugin Author sevenspark

    (@sevenspark)

    You’re welcome, Mike – glad it helped! 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Dynamically change which nav is used’ is closed to new replies.