Support Forum
Hello...
When you go to my forum page, it puts the word "Forum" in my main nav menu, next to my home button. You can see it here:
Any idea what could be causing this and how to resolve it? Thanks...
quite odd... assume you checked the call in your theme where its output for standard wp menu nav template tag?
what happens if you go to forum - options - global display settings and removed the page title completely?
Visit Cruise Talk Central and Mr Papa's World
The Forum - options - global display settings already has the page title removed. It gave me an idea, because I have the page template set to a "No Title - Full Width" template I made. I thought there might be a conflict with the template and SP both removing the title. But, no luck. I switched templates to a regular "full width" template, cleared cache, and still had the same issue.
I checked my theme's header.php file and I did not notice anything that looked out of place. But I am not good with PHP, so maybe I am missing something. Here is the nav code...
<img src="<?php bloginfo('template_url'); ?>/images/men_crn_left.png" width="2" height="29" alt="" class="alignleft" />
<img src="<?php bloginfo('template_url'); ?>/images/men_crn_right.png" width="2" height="29" alt="" class="alignright" />
<?php if (option::get('social_icons_show') == 'on') { ?>
<div id="menuSocial">
<ul>
<?php if (option::get('social_icons_facebook')) { ?><li><a target="_blank" href="<?php echo option::get('social_icons_facebook'); ?>" rel="external,nofollow"><img src="<?php bloginfo('template_url'); ?>/images/icons/ic_facebook.png" width="16" height="16" alt="Facebook Icon" /></a></li><?php } ?>
<?php if (option::get('social_icons_twitter')) { ?><li><a target="_blank" href="<?php echo option::get('social_icons_twitter'); ?>" rel="external,nofollow"><img src="<?php bloginfo('template_url'); ?>/images/icons/ic_twitter.png" width="16" height="16" alt="Twitter Icon" /></a></li><?php } ?>
<li><a target="_blank" href="http://pinterest.com/livefitrev/" rel="external,nofollow"><img src="<?php bloginfo('template_url'); ?>/images/icons/pinteresticon.png" width="16" height="16" alt="Pinterest" /></a></li>
<li><a target="_blank" href="https://www.youtube.com/user/livefitrevolution" rel="external,nofollow"><img src="<?php bloginfo('template_url'); ?>/images/icons/youtubeicon.jpeg" width="16" height="16" alt="YouTube" /></a></li>
<li><a target="_blank" href="http://www.amazon.com/?_encoding=UTF8&tag=liverevo-20&linkCode=ur2&camp=1789&creative=9325" rel="external,nofollow"><img src="<?php bloginfo('template_url'); ?>/images/icons/amazonicon.jpeg" width="16" height="16" alt="Amazon" /></a></li>
</ul>
</div><!-- end #menuSocial -->
<?php } ?>
<div id="menu" class="dropdown">
<?php
$homeLink = '<a href="' . get_option('home') . ' "rel="nofollow"><img src="' . get_bloginfo('template_url') .'/images/men_icon_home.png" width="16" height="14" alt="" /></a>';
$menu = wp_nav_menu(array(
'container' => '',
'container_class' => '',
'menu_class' => 'home',
'menu_id' => 'nav',
'echo' => false,
'sort_column' =>'menu_order',
'theme_location' =>'primary',
'items_wrap'=>'<ul id="%s"><li class="%s">'.$homeLink.'</li>%s<li class="cleaner"> </li></ul>'
));
print $menu;
?>
</div>
</div><!-- end #navigation -->
Well the problem is clearly with the wp_nav_menu() call but I have to be honest and say I have absolutely no idea what is going here! And I don't probably know enough about the Wp menuing system!
So - clutching at straws and as I have no idea what it is supposed to do! - at the top of the admin menu pane is an option to 'Automatically add new top-level pages'. is that checked and, if so, does it make any difference if you uncheck it?
YELLOW
SWORDFISH
|
1 Guest(s)