Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #17255

    Hi,

    I do I add this new footer menu I created so it displays in the socket area?

    Thanks

    Lyse

    #94744

    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

    #94745

    Hi Mya,

    All menus I have were created the same. I’m not sure how different this would would be.

    Lyse

    #94746

    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.

    #94747

    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

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Add horizontal footer menu’ is closed to new replies.