Hi,
I have a few sidebar menus that I switch based on page category. When I add a new menu item to one of the sidebars, I have to manually go into all the pages that have this sidebar menu and check it. Sometimes it’s 20 to 30 pages. Is there a way to automatically add the menu item to all pages and then only uncheck it if needed?
Thanks,
Alice
Does the Page Menu have a way to set it to “No menu on this page”?
Google now uses CLS (cumulative layout shift – the way elements accumulate on a page as it loads) as a ranking factor. So, if you have a page with clumsy menu CSS, which takes too long to load, the Google will penalize your site.
Some webmasters will have to make changes, and while they do that, it would be good if there were a way to stop a page from showing a menu at all.
Is there a away to do this with Page Menu? Would our hero, Rohit Kumar, please step up to receive our undying adulation, and perhaps add that option to the plugin?
]]>I tested this plugin on a local test site. It’s a good thing I did, because it changed the selected menu to “Page Menu”, so no menu was showing.
When deactivating the plugin, the “Page Menu” menu remains, and is still selected for all menu locations, even though I never chose it.
From the plugin description, I thought I could use this plugin to output a custom menu for a Page, but it affects all pages instead of just the one I wanted to affect.
Perhaps you could make the readme more clear as to what is happening?
Also, a deactivation hook would be great, to restore the menu that was selected before, and delete the “Page Menu” menu.
Since I updated to wordpress5.5 I’ve been having issues with many of my plugins needing to update their code. The error is reported as “jquery.fn.live() is deprecated”.
In the meta-template.php file in this plugin, on line 90…
This line:
jQuery(‘.menu-item-has-children input[type=checkbox]’).live(‘click’, function() {
Needs to be edited to:
jQuery(‘.menu-item-has-children input[type=checkbox]’).on(‘click’, function() {
This edit seems to have corrected my issue.
Maybe it will help- with yours too.
Goran
]]>when you enable the plugin, the buttons in the editor disappear.
https://i.prntscr.com/I62NyHOHQ0G4FySvjxiBCg.png
https://i.prntscr.com/K1_aiZl3R5Stvxb0AjyMvQ.png
Hi,
I’ve just installed PageMenu on my website, need support for the following task.
I’d like to change menu on the shop page to put products categories instead of pages, just on this page.
A specific menu has been created and selected on the page editor, at the bottom.
However, the main menu is still displayed on the shop page.
here’s the link of the website if you want to check:
https://www.nilasphere.com/
How can I solve the issue?
I’m using WordPress 5.0 with Bridge theme 17.2 and WooCommerce 3.5.2.
Kind Regards,
Emilio
I am using this plugin For 1 year but after updating the wordpress to 4.9 and above this plugin stopped working.
It started giving me the error Warning: Missing argument 3 for pagemenu::pgm_nav_class();
I am using PHP 7.2 and WordPress verson 5.0 with Bridge theme.
Please give me a solution for this ASAP.
Thanks!
]]>I tried to set a different menus on different pages and it wont change anything. I already tried to see if I could fix this issue but still nothing, I hope you guys could help me to fix this. Thanks for the attention!
]]>Hi,
I set a different menù for a specific product category, but the menu doesn’t apply at product page of the category.
On the website there are many products ad it’s difficult to set the menù in all product manually.
Can I solve this problem?
Regards
]]>Hi! The plugin works very well on “standard” pages… but I need to configure it on woocommerce single pages (Shop + each item). Is it possibile?
Thanks!
]]>Hi,
Great plugin, but how can I choose a specific top/footer menu in the same time ?
If I check the top menu, the footer menu is the one by default.
If I check the footer menu, the top menu is the one by default.
I would like to be able to get a specific menu for both top/footer in one page.
Is it possible ?
Thanks a lot.
]]>error message:
Warning: Missing argument 3 for pagemenu::pgm_nav_class() in /homepages/46/d30149324/htdocs/clickandbuilds/TV1844Idstein/wp-content/plugins/page-menu/pagemenu.php on line 189
Theme Catch Evolution
]]>Hi there,
I installed this plugin a year ago, everything worked find. When I updatet WordPress to 4.9.6 and PHP to 7.1.18, i got a fatal error message:
Fatal error: Uncaught ArgumentCountError: Too few arguments to function pagemenu::pgm_nav_class(), 2 passed in /var/www/vhosts/massen.lu/httpdocs/wp-includes/class-wp-hook.php on line 286 and exactly 3 expected in /var/www/vhosts/massen.lu/httpdocs/wp-content/plugins/page-menu/pagemenu.php:189 Stack trace: #0 /var/www/vhosts/massen.lu/httpdocs/wp-includes/class-wp-hook.php(286): pagemenu->pgm_nav_class(Array, Object(WP_Post)) #1 /var/www/vhosts/massen.lu/httpdocs/wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array) #2 /var/www/vhosts/massen.lu/httpdocs/wp-content/themes/enfold/includes/helper-responsive-megamenu.php(310): apply_filters('nav_menu_css_cl...', Array, Object(WP_Post)) #3 /var/www/vhosts/massen.lu/httpdocs/wp-includes/class-wp-walker.php(145): avia_responsive_mega_menu->start_el('', Object(WP_Post), 0, Object(stdClass)) #4 /var/www/vhosts/massen.lu/httpdocs/wp-includes/class-wp-walker.php(243): Walker->display_element(Object(WP_Post), Array, 0, 0, Array, '') #5 /var/www/vhosts/massen.lu/httpdocs/w in /var/www/vhosts/massen.lu/httpdocs/wp-content/plugins/page-menu/pagemenu.php on line 189
Can you help me on this one? It’s a great plugin btw and I need it.
Thanks a lot
]]>When I go to activate the plugin I receive the following error
]]>Plugin could not be activated because it triggered a fatal error Parse error: syntax error, unexpected ‘[‘ in /var/www/html/thehub/wp-content/plugins/page-menu/pagemenu.php on line 291
Hi,
I’ve been using Page menu on a few sites, though, IMHO it still lacks a couple major feature :
The ability hide (or show) a new submenu on all pages/posts/customs posts without having to go through all the posts to check or uncheck the related checkbox.
That could be done through categories (edit a single category and set the menus for all posts in it, one click instead of 1600 : major improvement ??
Another improvement on the same topic :
Create a new submenu in appearance-menus ; if parent menu is visible : mark the new submenu checked automatically, if parent menu not shown, let the new submenu unchecked (that could be defined in the pagemenu settings and done on ‘save change’ or ‘refresh menus visibility’ button. Though that could be a heavy request, since you’d have to check for all posts individually, but worth the trouble)
With both these features, pagemenu would become really easier to use
(I have the case of administrative users filling contents and creating menus on the fly, with 3 level depth menus having to deal with 1000+ posts and selective menus, you can imagine how they like having to go through each post in order to set the menus to their needs)
Hi, one little question: After turning my website using pagemenu to another webspace (on a subdomain), I get this errors: Warning: Declaration of Pgm_Walker::start_el(&$output, $item, $depth, $args) should be compatible with Walker_Nav_Menu::start_el(&$output, $item, $depth = 0, $args = Array, $id = 0) in /www/htdocs/XXXX/domain.tld/wp-content/plugins/page-menu/pagemenu.php on line 380
Warning: Cannot modify header information – headers already sent by (output started at /www/htdocs/xxx/domain.tld/wp-content/plugins/page-menu/pagemenu.php:380) in /www/htdocs/xxx/domain.tld/wp-admin/includes/misc.php on line 1116
How to solve this?
]]>Hello guys! I discovered this plugin for my needs and made a little fix.
Now it’s enough to set the custom menu for a particular category (archive), and all the posts / pages that come with this category will get the same menu as the page of the category itself.
For example, you have a category:
site.com/cat1
You can set your own menu for this plugin, but when you go to any post / page in this category, you get a standard menu (I think maybe it’s a bug in the plugin or after the WordPress update). I corrected the situation, and now all posts will have the same menu as the category page. Works on WordPress 4.8.2
To do this, go to the source code of the plugin wp-content/plugins/page-menu/pagemenu.php, find the lines:
if (is_archive()) {
$t_id = $wp_query->get_queried_object_id();
$this->pgm_option = get_option("taxonomy_$t_id");
}
And add after them the code:
else if (is_single() OR is_page()) {
// post id
$p_id = $wp_query->get_queried_object_id();
// category data (may be few cats, we are getting menu only from 1st one)
$cats = get_the_category($p_id);
if ( ! empty( $cats ) ) {
$cat_id = $cats[0]->term_id;
}
// parent category custom taxonomy
if ($cat_id) {
$this->pgm_option = get_option("taxonomy_$cat_id");
}
}
]]>
Hello,
When adding the polylang language switcher menu through the “page menu plugin”, the language icons disappear on this page.
I commented out this line of the plugin to make it work:
//echo "<style>.pgm-hide{display:none !important;}</style>";
Getting this error message….
Strict Standards: Declaration of Pgm_Walker::start_el() should be compatible with Walker_Nav_Menu::start_el(&$output, $item, $depth = 0, $args = Array, $id = 0) in /var/www/html/wp-content/plugins/page-menu/pagemenu.php on line 0
Can you please help?
]]>Hi Rohit,
First off i love your plugin thank you so much for making it and for updating it. It really is well done. I found two problems when using it:
1. There’s a space (white space) before and after the php opening and closing tags that causes a wordpress activation error. When i edited the plugin and removed those two spaces it activated successfully.
2. When using a different menu the checkboxes don’t do anything, it always displays all the items from the menu.
Best regards,
Avery