Viewing 1 replies (of 1 total)
  • Thread Starter Hatchman

    (@hatchman)

    It seems that by commenting out the wp_nav_menu_object you get the desired result of only working in the main menu. At this point I do not understand the code well enough to comment further.

    //add_filter( ‘wp_nav_menu_objects’, array( &$this, ‘wp_nav_menu_objects’ ) );

Viewing 1 replies (of 1 total)

The topic ‘Only main menu’ is closed to new replies.