WordPress.org

Ready to get started?Download WordPress

Forums

Share buttons don't count (1 post)

  1. lomelin
    Member
    Posted 2 years ago #

    Share buttons don't count ):
    this is the site

    here is the code of the div who contains the share buttons:

    <div id="sm">
    
    								<script type="text/javascript">
    								var addthis_config = addthis_config||{};
    								addthis_config.data_track_clickback = false;
    								</script>
    
    						<a href="https://twitter.com/share" class="twitter-share-button" data-via="Artomx" data-related="LomelinCo" data-dnt="true">Tweet</a>
    						<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
    
    						<a href="http://pinterest.com/pin/create/button/?url=<?php echo urlencode(get_permalink()); ?>&media=<?php echo urlencode(wp_get_attachment_url(get_post_thumbnail_id())); ?>&description=<?php echo urlencode( get_the_title()); ?>" class="pin-it-button" count-layout="none">Pin It</a>
    						     <script type="text/javascript" src="http://assets.pinterest.com/js/pinit.js"></script>
    
    								<div style="margin-left:4px; float:right;">
    									<script>var fbShare = {
    									url: '<?php echo urlencode(get_permalink()); ?>',
    									size: 'small',
    
    									}</script>
    									<script src="http://widgets.fbshare.me/files/fbshare.js"></script>
    
    								</div>
    
    						</div>

    i really need this working , i tried for days and i don't find how fix it
    i hope you can help me

Topic Closed

This topic has been closed to new replies.

About this Topic