Hi,
I do I add this new footer menu I created so it displays in the socket area?
Thanks
Lyse
Hi,
I do I add this new footer menu I created so it displays in the socket area?
Thanks
Lyse
Hi Lyse,
The answer depends on how you created the menu. More than likely though you'll need to edit the footer.php. How did you create the menu?
Regards,
Mya
Hi Mya,
All menus I have were created the same. I'm not sure how different this would would be.
Lyse
Open up footer.php and replace:
<!-- end social_bookmarks-->
with
<!-- end social_bookmarks-->
<?php echo "<div class='socket_menu'>";
$args = array('theme_location'=>'avia3', 'fallback_cb' => '');
wp_nav_menu($args);
echo "</div>";
?>
and in functions.php replace:
$avia_config['nav_menus'] = array('avia' => 'Main Menu', 'avia2'=> 'Sub Menu');
with:
$avia_config['nav_menus'] = array('avia' => 'Main Menu', 'avia2'=> 'Sub Menu', 'avia3'=> 'Socket Menu');
You can now use the menu builder/manager to create a custom menu for the socket area. I can't/won't assist you with the styling though because it's time intensive and beyond the scope of our support forum. You can use the .socket_menu class to style the menu.
Hi Dude,
I updated the files and created a socket_menu class. I did not like the results and don't have time to fiddle around more, so reverted back to no footer menu. Perhaps I will try again later.
Thank you for the details and your time.
Lyse
This topic has been closed to new replies.