WordPress.org

Ready to get started?Download WordPress

Forums

google+ and linkedin buttons (1 post)

  1. slshaw115
    Member
    Posted 1 year ago #

    I have added facebook, twitter, google+ and linkedin buttons to a blog I'm designing. I have them functioning properly on a single post and the twitter and facebook buttons function properly on the main index under the title. However, I cannot get the linkedin and google+ buttons to link to the post that they are under on the main index page. Any tutorial recommendations or solutions for this problem?

    Here is the site

    I have removed the google and linkedin buttons from the site because they went live today.

    Here is the code:

    <div class="social-single">
    
    <div class="social-single">
    <div id="likebutton"><iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo rawurlencode(get_permalink()); ?>&layout=button_count&show_faces=false&width=100&action=like&font=verdana
    &colorscheme=light&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px;" allowTransparency="true"></iframe></div></div>
    
    <div class="social-single">
    <div id="twitterbutton"><script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script><div> <a href="http://twitter.com/share" class="twitter-share-button" data-url="<?php the_permalink() ?>" data-counturl="<?php the_permalink() ?>" data-text="<?php the_title(); ?>" data-via="circlesstudio" data-related="circlesstudio">Tweet</a></div></div></div>
    
    <div class="social-single">
    <div id="plusonebutton"><g:plusone size="medium"></g:plusone></div></div>
    
    <div class="social-single">
    <div id="linkedinshare"><script type="text/javascript" src="http://platform.linkedin.com/in.js"></script><script type="in/share" data-counter="right"></script></div></div>
    
    </div><br />

    And the javascript in the header:

    <script type="text/javascript" src="http://apis.google.com/js/plusone.js"></script>

    Cheers,

    stephen

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.