• Hello,

    plugin options are not visible in the admin menu. I tried #1 and #3 solution but didn’t work either. I can’t find any files with extends Walker_Nav_Menu also I downloaded that tiny addon too. Didn’t help either.

    Any ideas?

Viewing 1 replies (of 1 total)
  • Plugin Author HelgaTheViking

    (@helgatheviking)

    Have you tried disabling all other plugins and reverting to a default theme? I’m surprised to hear #3 didn’t work, because the priority of my filter is really high, but you can always make it higher:

    <?php
    /*
    Plugin Name: Nav Menu Roles Toggle
    Plugin URI: https://gist.github.com/helgatheviking/d00f9c033a4b0aab0f69cf50d7dcd89c
    Description: Give NMR priority over any competing Walkers
    Version: 0.1.0
    Author: helgatheviking
    Author URI: https://kathyisawesome.com
    */
    function kia_force_nmr_filter( $walker ){
    	if( function_exists( 'Nav_Menu_Roles' ) ){
    		$walker = 'Walker_Nav_Menu_Edit_Roles';
    	}
    	return $walker;
    }
    add_filter( 'wp_edit_nav_menu_walker', 'kia_force_nmr_filter', 9999 );

    You could try increasing the 9999 to a number that is even higher.

Viewing 1 replies (of 1 total)
  • The topic ‘options are not visible (the retailer)’ is closed to new replies.