Hello,
I’m using “Nav Menu Roles” plugin, which allow me to provide different version of items menu depending on the status of the user (connected / disconnected). I didn’t find any other way to do it.
Unfortunately, the “Mega Menu” disable the “Nav Menu Roles”, probably a conflict somewhere. How could I do to answer my first need (add/remove item in the menu depending on the status connected / disconnected of the user), or to disable “Mega Menu”, so I can use “Nav Menu Roles” again ?
Thank you !
Hello,
The mega menu is enabled or disabled from the menus section of wordpress: https://www.screencast.com/t/ONNsH9sluX
Thank you!
My items are already set to “- Not mega menu -“.
I believe that there is a code conflict between the mega menu and the plugin I use. I need to disactivate the mega menu from the start, in the code.
Hello,
If you want to delete parts of the theme, you will have to know what you are doing as the mega menu code is not found just in one place. It is linked to multiple parts of the theme files. https://www.screencast.com/t/Hnt0cr001
Thanks.
@jfoulquier were you able to find a solution because right now Newspaper is not suited to any site like woocommerce, restrict content pro, eeasy digital downloads because you cannot use any plugin that hides menu items and of course with any membership based website you have to hide menu items in the most simple of ways. Any help would be much appreciated. Thanks
Hi,
If no plugin will work, then you should use the coding method.
This function verifies whether a user is logged in or not: https://developer.wordpress.org/reference/functions/is_user_logged_in/ You will need coding skills in order to use it though.
Here is an example topic of such a conditional logic:
https://forum.tagdiv.com/topic/conditional-logic-for-menu/
Thanks.