plugin nav menu roles isn't showing
Hi there,
It seems Betheme isn't compatible with the plugin: nav menu roles. On the plugin's support page it's said to add the following code:
function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0 ) {...
Could you help me with the proper placement?
Thanks, Ed'
It seems Betheme isn't compatible with the plugin: nav menu roles. On the plugin's support page it's said to add the following code:
<?php
// Place this in your admin nav menu Walker
do_action( 'wp_nav_menu_item_custom_fields', $item_id, $item, $depth, $args );
// end added section
?>
I believe it should be placed in betheme/functions/theme-mega-menu.php @ line 95: function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0 ) {...
Could you help me with the proper placement?
Thanks, Ed'
Comments
P.S. What you ask for requires files customization what in reference to Item Support Policy is not allowed. So if you want to modify files and don't know how, you should contact with your web developer.
Thanks for understanding!
I'll do the workaround by installing a default theme that doesn't conflict with the plugin and revert back to betheme afterwards.
feature request: adjust the walker class, so there is no conflict. (see https://wordpress.org/plugins/nav-menu-roles/faq/)
Thanks
If you are not using the Mega Menu feature, one can disable it in:
BeTheme Options -> Global -> Advanced
Once it's been disabled, Nav Menu Roles works accordingly.