When updating some menu items and save it with the button Save Menu, no Menu is active in front-end! In tab Manage Locations every assigned Menu is deleted. I have to activate Manage Locations and choose again the correct Assigned Menu. Then Save Menu again. Then the menu appears on screen.
But….. a lot of menu items are not present. So I have to assign pages again to the power menu. I was struglling the whole morning (4 hours) with getting finally a correct front menu.
I use Avada Theme 3.8.6.1.
If I disable the power menu it still runs on screen!?
Have tryed everything to get it stable run, but nothing works.
Do you have suggestions for a good solution?
]]>I use Avada Theme Version 3.8.6 with Power Menus plugin. In Admin you do not get the roles per menu. This is caused by wrong parameters in power-menus.php.
/* Actions */
add_action('wp_update_nav_menu_item', 'power_menus_custom_nav_update', 10, 3);
add_action('admin_init', 'power_menus_secure_page_meta_box');
add_action('init', 'power_menus_output_buffer', 0);
//add_action('admin_enqueue_scripts', 'power_menus_admin_enqueue_scripts');
/* Filters */
add_filter('wp_edit_nav_menu_walker', 'power_menus_nav_walker', 10, 2);
add_filter('wp_setup_nav_menu_item', 'power_menus_custom_nav_item');
add_filter('wp_nav_menu_objects', 'power_menus_main_navigation_links', 10, 2);
/* Avada Support Suggestions */
add_action('wp_update_nav_menu_item', 'power_menus_custom_nav_update', 30, 5);
add_action('admin_init', 'power_menus_secure_page_meta_box');
add_action('init', 'power_menus_output_buffer', 0);
//add_action('admin_enqueue_scripts', 'power_menus_admin_enqueue_scripts');
/* Filters */
add_filter('wp_edit_nav_menu_walker', 'power_menus_nav_walker', 30, 5);
add_filter('wp_setup_nav_menu_item', 'power_menus_custom_nav_item');
add_filter('wp_nav_menu_objects', 'power_menus_main_navigation_links', 30, 5);
Remarks from Avada:
Notice the numbers are 30, 5. This is higher than previously set, which means the plugin takes priority over the theme for menu item options.
WordPress has a limitation on the number of options added to the menus. So it cannot have both from the theme and from the plugin.
]]>I have set the secure page to my home page, so that when someone tries to view a page without a sufficient role, they are redirected to my homepage. But this is causing a Too Many Redirects page error. Is there any way i can redirect to the login page? (it doesn’t appear in the choice of pages to secure, but would seem like the natural, and default, choice).
]]>… or user having a customized role.
After activating your, very great and useful, plugin I found that when
opening a static page, that has been configured as menu-item, the page
opens but the menu-item disappears! This happens only when not logged in
or when logged in user has a customized role.
Digging in your source I found the statement:
unset($menu_items[$current_menu_item]);
in line 128 of power-menus.php.
What is that for? (when I comment this line out, everything is fine
then….)
Thanks!!
]]>Hi,
I have a problem with the plugin, when activated, the site does not work,
I get the message:
error 310 (net::ERR_TOO_MANY_REDIRECTS)
It’s a Bug?
Thankyou very much.
]]>I have created two additional user roles using Advanced Access Manager. The user roles show up in Power Menus options and when I set them to be visible to one of the new user roles when logged in they do not show up in the menu.
It works fine for built in user roles
]]>Awesome. Just the plugin I was looking for. Copule of questions:
1. Is supporting widget visibility on the road map?
2. Is there a plugin that extends make pages/posts invisible to non-registered users? (meaning not even listing “this page is private” default WP message) ?
Thanks!
Chris.
I installed the Power Menus plugin, but the menus I tried to hide are still visible after clicking “yes” on the setting “Visible to logged in users only.” I made sure I was logged out of WordPress to test this. I am using the Tempera WP theme, and am wondering if the Power Menus plugin is not compatible with the theme.
]]>Hi,
Like the topic title says, I cant see the visibility rules under my menu items. The “Secure Page- Power Menus” on the left is visible. I have tried to deactivate all plugins so there are no conflicts.
Anyone know how to solve this?
]]>Hi,
today I tried to install your Power-Admin plugin and found that
admin-style.css is missing…
thanks,
christian
Hey
I am wondering when the next update will be and what features you plan on releasing with it?
]]>The menu page is set for only visible to logged in users. But anyone can type the url, they can still view the page! is it right?
]]>Hi,
I gave your plugin a try and it is looking very promising. One thing I noticed was a lot of PHP notices on the front end.
I hunted the issue down to line 100 of power-menus.php
instead of:
if ( count($menu_item->power_menus_user_roles[0]) > 0 ) {
it should be (or something to this effect):
if ( is_array($menu_item->power_menus_user_roles) && !empty($menu_item->power_menus_user_roles) && count($menu_item->power_menus_user_roles[0]) > 0 ) {
Before the change, I saved all of my menus and the notices went away.
I think these wouldn’t have popped up had I not had so many menus on my test site ??
—
I had been planning on building a mini internal plugin to allow me to show/hide menu items for logged-in vs logged-out users, so I was pretty excited to find your plugin on WP Tavern. However, my main use for this would be for Login/My Account links, which your plugin does not easy allow as there is no way to hide an item for logged in users.
Maybe you can change the ‘Visible to logged in users only’ radio buttons to checkboxes like so:
Visible to:
□ Logged In
□ Logged Out
(Both checked by default)
Let me know your thoughts.
Thanks
]]>How do you configure a Register Page (within the Menus) please:
Appear for non-logged in users
Do not appear for logged in users
When I un-check all the roles this seems to have no effect.
Thank you very much!
]]>Hey
What about adding a show subpages on active parent page?
Showing certain menus on certain pages/posts?
Widget?