Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6333

    Hi, how do I add google+1 to the social bookmarks? I just need to know where to paste the code from google…

    #53786

    Hey,

    the code is to be placed in your sidebar.php somewhere in here:

    ####### SOCKET CONTAINER #######
    echo "<div id='socket'>";
    echo " <span class='copyright'>© ".__('Copyright','avia_framework')." - <a href='".home_url('/')."'>".get_bloginfo('name')."</a> - <a href='http://www.kriesi.at'>Wordpress Theme by Kriesi.at</a></span>";

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

    if($facebook = avia_get_option('facebook')) echo "<li class='text-sep'>/</li><li class='facebook'><a href='".$facebook."'>Facebook</a></li>";
    if($twitter = avia_get_option('twitter')) echo "<li class='text-sep'>/</li><li class='twitter'><a href='http://twitter.com/".$twitter."'>Twitter</a></li>";

    echo " </ul><!-- end social_bookmarks-->";

    echo "</div>";
    ####### END SOCKET CONTAINER #######

    echo "</div>";

    Keep in mind this is between php tags so you’ll have to close the php tag before you put your code and open it again right after your code. If you’d just like a text link you can add a list item right above the “end social_bookmarks”.

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

The topic ‘How to add Google+1 to social bookmarks on sidebar’ is closed to new replies.