Support » Plugin: Nav Menu Roles » Conflicts with Themes and Plugins: READ BEFORE POSTING

  • Plugin Author helgatheviking

    (@helgatheviking)


    If you are not seeing the Nav Menu Roles options on your menu items it is likely that you have a theme or plugin that is also trying to alter the same code that creates the Menu section in the admin.

    Thanks to some clever thinking by others, menu plugins have improved compatibility among themselves by adding:

    <?php
    // This is the added section
    do_action( 'wp_nav_menu_item_custom_fields', $item_id, $item, $depth, $args );
    // end added section
    ?>

    to their admin menu Walkers. Ideally, adding their custom inputs via this hook, but at a bare minimum adding this hook.

    If you aren’t seeing the roles and can’t figure out how to add this hook yourself, please ask the other plugin/theme to add this hook. I do not provide support for other plugins/themes.

    ***********

    As always, please review the FAQ!

    ***********

    WordPress might finally support this once the menus are moved to the Customizer. When/if this happens, I will update Nav Menu Roles.

  • The topic ‘Conflicts with Themes and Plugins: READ BEFORE POSTING’ is closed to new replies.