Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #22704

    I was looking through the topics and couldn’t find an easy solution. In the footer, right now I have Copyright “title of my site” which I like, but I would also like to add links to my pages, which are also tabs. For example, my main pages are Home, Portfolio, Contact, About, so I would want to put those page titles in the footer that would link to those pages. How can I do this?

    #116910

    Hi,

    Open footer.php and find this code

    <span class='copyright'>&copy; <?php _e('Copyright','avia_framework'); ?> - <a href='<?php echo home_url('/'); ?>'><?php echo get_bloginfo('name');?></a> - <a href='http://www.kriesi.at'>Wordpress Theme by Kriesi.at</a></span>

    At the bottom place this code

    <?php echo "<div class='main_menu'>";
    $args = array('menu' => 'Footer Menu');
    wp_nav_menu($args);
    echo "</div>"; ?>

    Now go to the dashboard > Appearance > Menu, create a new menu and name it Footer Menu. Reload the page.

    You might need to fix the position so just add this on your custom.css or Quick CSS.

    #socket .main_menu {
    top: 0;
    padding-bottom: 0;
    }

    Regards,

    Ismael

    #116911

    Thank you very much. That works.

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

The topic ‘Adding links to footer’ is closed to new replies.