I am using the default template with Wordpress 3.4.2 but the links on the top left (sub div?) in the header do not show up and I would like to have them like they are on the Shoutbox demo.
Any ideas?
I am using the default template with Wordpress 3.4.2 but the links on the top left (sub div?) in the header do not show up and I would like to have them like they are on the Shoutbox demo.
Any ideas?
Hi ,
Try to check your wp-content\themes\shoutbox\header.php, if the header container looks like this:
<!-- ####### HEAD CONTAINER ####### -->
<div class='container_wrap' id='header'>
<div class='submenu'>
<div class='container'>
<?php
/*
* display the main navigation menu
* modify the output in your wordpress admin backend at appearance->menus
*/
$args = array('theme_location'=>'avia2', 'fallback_cb' => '', 'max_columns'=>4);
wp_nav_menu($args);
?>
<ul class="social_bookmarks">
<?php do_action('avia_add_social_icon','header'); ?>
<li class='rss'><a href="<?php avia_option('feedburner',get_bloginfo('rss2_url')); ?>"><?php _e('Subscribe to our RSS Feed', 'avia_framework')?></a></li>
<?php
if($twitter = avia_get_option('twitter')) echo "<li class='twitter'><a href='http://twitter.com/".$twitter."'>".__('Follow us on Twitter', 'avia_framework')."</a></li>";
if($facebook = avia_get_option('facebook')) echo "<li class='facebook'><a href='".$facebook."'>".__('Join our Facebook Group', 'avia_framework')."</a></li>";
?>
</ul>
<!-- end social_bookmarks-->
<div class='ribbon'></div>
</div>
</div>
<div class='container'>
<?php
/*
* display the theme logo by checking if the default css defined logo was overwritten in the backend.
* the function is located at framework/php/function-set-avia-frontend-functions.php in case you need to edit the output
*/
echo avia_logo();
// shows a partner image
if($advertising = avia_get_option('head_advertising', false, false, true))
{
$extraClass = "";
if(strpos($advertising, '<img') === false && strpos($advertising, '<script') === false) $extraClass = 'paim_framed';
echo "<div class='paim ".$extraClass."'>".$advertising."</div>";
}
?>
</div>
<div class='main_menu'>
<div class='container'>
<?php
/*
* display the main navigation menu
* modify the output in your wordpress admin backend at appearance->menus
*/
$args = array('theme_location'=>'avia', 'fallback_cb' => 'avia_fallback_menu', 'max_columns'=>4);
wp_nav_menu($args);
?>
<span class='search_site'>
<?php
/*
* display the theme search form
* the tempalte file that is called is searchform.php in case you want to edit it
*/
get_search_form();
?>
</span>
</div>
<!-- end container-->
</div>
</div>
<!-- end container_wrap_header -->
<!-- ####### END HEAD CONTAINER ####### -->
If it is, in your Appearance->Menu (inside WP Dashboard) add a New Menu called "Main", and add links to it. Hope this helps.
Regards,
Ismael
Still not appearing. I am referring to the menu which appears above the logo. I have set up both the main menu and sub menu in the dashboard but it's till not showing up.
Hi,
On Apperance > Menus, you need to have a second menu then find "Theme Locations" and select the second menu for the "Shoutbox Small Sub Menu" option.
Regards,
Ismael
You must log in to post.