• Resolved aderojas

    (@dresde)


    Hi there,

    I’m having trouble with the option to active “responsive select menu” only on the main menu but not on the footer menu. It seems that it completely deactivates the menu everywhere (the CSS classes disappear too).

    I’m setting the “Activate All” option to OFF and then setting the Main Menu to ON.

    Cheers.

    http://ww.wp.xz.cn/plugins/responsive-select-menu/

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

    (@sevenspark)

    Sounds like your theme may not be using the theme_location parameter appropriately when it calls wp_nav_menu for your Main Menu.

    Thread Starter aderojas

    (@dresde)

    Thanks @sevenspark, could you give me an example of how that call should look? The theme seems to be working fine with the menus.

    Cheers.

    Plugin Author sevenspark

    (@sevenspark)

    When they call wp_nav_menu, the array needs to contain the theme_location parameter and not the menu parameter.

    Good:

    wp_nav_menu( array(
      'theme_location' => 'primary'
    ) );

    Hope that helps,

    Chris

    Thread Starter aderojas

    (@dresde)

    Hey Chris,

    I’m sorry I couldn’t check this fix earlier, it works. The theme was using the menu name instead of the location.

    Thanks!

    Plugin Author sevenspark

    (@sevenspark)

    You’re welcome! 🙂

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

The topic ‘Selectively Activate Theme Locations not working’ is closed to new replies.