Look at the two pictures.
I do not know why but only in the pages of rtmedia all the menus on my site disappear.
MENU on my site:
function come_appare_menu_main () {
wp_nav_menu(array(
'container' => ul,
'menu' => 'The Main Menu',
'menu_class' => 'navi-menu menu-main',
'menu_id' => 'menu-nav-main',
'theme_location' => 'menu_main',
'walker' => new sotto_menu_simbolo,
'fallback_cb' => 'come_appare_menu_main_fallback'
));
}
and on themplate I insert:
<nav id="menu-main-contenitore" class="cont-menu" role="navigation"> <?php if (come_appare_menu_main()){ come_appare_menu_main();} ?> </nav>
I have another menu in the footer and also that disappears.
going to see the site code, html shows up in this way:
I disabled all plugins, taking only buddies and rtmedia.
Avviamente with another theme, everything is working correctly …
I tried to use the wp statement:
wp_nav_menu( array( ‘theme_location’ => ‘menu_main’ ) );
both without the location of the menu, and in this case is displayed as a menu but generic and not specific; either by entering the correct location, and in this case it disappears.
In the menu, use the following statement to the template:
essentially are like normal pages (page.php)
and even if not practically nothing mettessi pages in addition to the menu, it does not appear anyway.
function rtmedia_main_template_include($template, $new_rt_template) {
// return get_page_template();// defoult page
global $wp_query;
$wp_query->is_page = true;
if ( function_exists( 'bp_is_active' ) )
{ return locate_template('/rtmedia/rtmedia_template_buddy.php'); }
else { return locate_template('/rtmedia/rtmedia_template.php');}
}
add_filter('rtmedia_main_template_include', 'rtmedia_main_template_include', 20, 2);
I’m trying to integrate your plugin in my theme. But I continue to find a variety of difficulties
Please, I have no idea what is causing the problem or even where to go to check out.
In the support forum I have not found anything associated to this problem.
Thank guns
Attachment Link(s):
http://rtcamp.com/wp-content/uploads/rtMedia/topics/64705/2014/04/rtmedia.menu-prob-normal-menu.jpg
http://rtcamp.com/wp-content/uploads/rtMedia/topics/64705/2014/04/rtmedia.menu_.jpg