Reply 114087 to: Suggestions and proposals for Classico theme

Avatar: ZoBabe
ZoBabe
Participant
February 21, 2016 at 15:43

Lots of people ask me for the option to have different menu items for logged in or logged out users. I tried to implement the plug-in Nav Menu Roles (https://wordpress.org/plugins/nav-menu-roles/), however it seems to conflict with the custom menu options in the theme.

This is a known issue with a lot of themes, and they say to add this code to nav menu Walker, after the Description field, but I’m having trouble figuring out where to put it in Classico.

<?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
?>

Would it be possible to include either this patch, or some other means of selecting user permissions for menu items in an update?

Go To The Whole Conversation In Topic
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.