Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #27036

    Hi,

    I would like to display the social media icons from the header area aswell on the footer – right above the widgets – like its shown at http://www.missporridge.de

    Is this possible to do with the Sentence theme aswell and if would you be so kind to offer the code for it?

    Thanks

    Tina

    #132530

    Hello, I want the same thing. Basically, I’d like to display my social bookmarking icons for Facebook and Twitter exactly in the same fashion as done at http://www.kriesi.at/, i.e., all the way to the right of the page in the footer, in the same line as the copyright information.

    Thank for helping.

    Marc.

    #132531

    I should have said I want something similar in the footer. Not “the same thing”.

    #132532

    Hi,

    Open footer.php, find this code:

    <div id='footer' class='container_wrap <?php echo $extraClass; ?>'>
    <div class='container'>

    Below, add this code:

    <?php

    echo '<ul class="social_bookmarks">';
    do_action('avia_add_social_icon','header');
    if($dribbble = avia_get_option('dribbble')) { echo "<li class='dribbble'><a href='http://dribbble.com/".$dribbble."'>".__('Follow us on dribbble', 'avia_framework')."</a></li>"; }
    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>"; }
    if($gplus = avia_get_option('gplus')) { echo "<li class='gplus'><a href='".$gplus."'>".__('Join me on Google Plus', 'avia_framework')."</a></li>"; }
    if($linkedin = avia_get_option('linkedin')) { echo "<li class='linkedin'><a href='".$linkedin."'>".__('Add me on Linkedin', 'avia_framework')."</a></li>"; }

    echo ' <li class="rss"><a href="'.avia_get_option('feedburner',get_bloginfo('rss2_url')).'">RSS</a></li>';
    echo '</ul>';

    ?>

    Regards,

    Ismael

    #132533

    Thanks Ismael,

    Is there a way to move them to the middle of the footer?

    Thanks again!

    Tina

    #132534

    Hi,

    You can use this to adjust the position of the social icons:

    #footer .social_bookmarks {
    right: 40%;
    }

    To add a top margin on the footer widgets, use this:

    #footer .container div {
    margin-top: 10px;
    }

    Regards,

    Ismael

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

The topic ‘Add social icons to footer’ is closed to new replies.