Do you still offer support? See that I’ve posted a year ago as well without response, hopefully this one will get a response..
I would like to add a custom post type (‘tour’ in this case), so that I can select the preferred menu on those pages as well. I’ve tried adding in to the ddi_functions.php file but keep getting 500 errors. Any help would be awesome.
So I’ve added this:
{
if($post->post_type==’page’ || $post->post_type==’post’){
$selected_menu_id = get_post_meta( $post->ID ,’selected_menu’);
$menus = wp_get_nav_menus();
}
to this:
{
if($post->post_type==’page’) {
$selected_menu_id = get_post_meta( $post->ID ,’selected_menu’);
$menus = wp_get_nav_menus();
} elseif ($post->post_type==’post’) {
$selected_menu_id = get_post_meta( $post->ID ,’selected_menu’);
$menus = wp_get_nav_menus();
} else ($post->post_type==’tour’){
$selected_menu_id = get_post_meta( $post->ID ,’selected_menu’);
$menus = wp_get_nav_menus();
endif;
}
note: errors in brackets might come from copying. Checked them carefully.
Hope you or someone accidentally passing by can help me ??
]]>Dear,
The Plugin shows a lot of promise, only downside is that (for a new website) I would like to use it together with the plugin “Max Mega Menu”. Which as the name suggests, creates a mega menu.
This however doesn’t work with your plugin, the layout is not being used. And thus the advantage of a Mega menu is gone. Would you have an idea how to get both plugins working together? The Max Mega Menu plugin lets you create your own Menu with additional options, you would say selecting this menu on a page would transfer all the selected options. This however is not the case.
The following page should display the Mega Menu but isn’t;
https://reizenin.net/oceanie/nieuw-zeeland/
I’ve put out the same question with the developers of the “Max Mega Menu” plugin.
Hope you can help!
Cheers,
Lars
]]>Hi there,
I have set up some products through woocommerce and when navigating to the product edit page I can’t select the menu as an option. The window is there, but no buttons.
]]>We build a site where we use the “Custom Menu” widget.
But per default “Menu Per Pages” overwrites each and every menu and thus also the ones in the widget.
This can be avoided if you add if( 'primary' == $args['theme_location'] ){
arround the content of the function my_wp_nav_menu_args
in menu-per-pages/includes/ddi_functions.php
.
See here for reference: https://codex.www.ads-software.com/Plugin_API/Filter_Reference/wp_nav_menu_args
How can i make this work on Mobile Devices?
]]>Great plug-in. I’m currently using the Twenty Fifteen theme and it works as expected. I have had trouble using it with the Twenty Fourteen theme though. For some reason I’m not able to use a different menu for the primary location. Regardless of what menu I select for the primary location, the secondary location menu remains in both locations.
]]>Plugin doesn’t work on both installation. One is 3.8.3 and other 3.3.2. Any suggestion ? The theme supports only one primary menu, but I don’t think this is an issue.
]]>Received this error in the select menu:
Notice: Undefined offset: 0 in /Applications/MAMP/htdocs/the-crucible-project/wp-content/plugins/menu-per-pages/includes/ddi_functions.php on line 20
>Primary Navigation
Hi,
How do I remove the footer menu? The plugin is giving conflicting with my theme and I wanted only appearing in the header menu.
The footer have my sharing buttons .
thanks
Hello,
it is possible to format the menu per page via CSS?
Thanks
Guido