hi,
this is how we want to look like: http://screencast.com/t/8LFQEzQa653
standard appearance looks messy!!
thnx
Hi,
1. http://screencast.com/t/i0LNtNNSRe
2. Replace this code: http://screencast.com/t/cKKENuf8p7OG with this:
$image = wp_get_attachment_image_src( get_post_thumbnail_id( $this->post->ID ), 'single-post-thumbnail' );
$buffy .= '
<div class="td-tags-and-social-wrapper-box td-tags-and-social-wrapper-box-bottom-line">
<a class="td-social-sharing-buttons td-social-twitter" href="https://twitter.com/intent/tweet?text=' . $this->title . '&url=' . urlencode(get_permalink()) . '&via=' . get_bloginfo('name') .'" onclick="window.open(this.href, \'mywin\',
\'left=50,top=50,width=600,height=350,toolbar=0\'); return false;" ><div class="td-sp td-sp-share-twitter"></div><div class="td-social-but-text">Twitter</div></a>
<a class="td-social-sharing-buttons td-social-facebook" href="http://www.facebook.com/sharer.php?u=' . urlencode(get_permalink()) . '" onclick="window.open(this.href, \'mywin\',
\'left=50,top=50,width=600,height=350,toolbar=0\'); return false;"><div class="td-sp td-sp-share-facebook"></div><div class="td-social-but-text">Facebook</div></a>
<a class="td-social-sharing-buttons td-social-google" href="http://plus.google.com/share?url=' . get_permalink() . '" onclick="window.open(this.href, \'mywin\',
\'left=50,top=50,width=600,height=350,toolbar=0\'); return false;"><div class="td-sp td-sp-share-google"></div><div class="td-social-but-text">Google +</div></a>
<a class="td-social-sharing-buttons td-social-pinterest" href="http://pinterest.com/pin/create/button/?url=' . get_permalink() . '&media=' . (!empty($image[0]) ? $image[0] : '') . '" onclick="window.open(this.href, \'mywin\',
\'left=50,top=50,width=600,height=350,toolbar=0\'); return false;"><div class="td-sp td-sp-share-pinterest"></div><div class="td-social-but-text">Pinterest</div></a>';
$buffy .= '<div class="td-social-like-tweet">';
$buffy .= '<ul>';
$buffy .= '<li class="td-like-tweet-twitter">';
$buffy .= '<a href="https://twitter.com/share" class="twitter-share-button" data-url="' . $this->href . '" data-text="' . $this->title . '" data-via="' . td_util::get_option('tds_' . 'social_twitter') . '" data-lang="en">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>';
$buffy .= '</li>';
$buffy .= '<li class="td-like-tweet-facebook">';
$buffy .= '<iframe src="http://www.facebook.com/plugins/like.php?href=' . $this->href . '&layout=button_count&show_faces=false&width=105&action=like&colorscheme=light&height=21" style="border:none; overflow:hidden; width:105px; height:21px; background-color:transparent;"></iframe>';
$buffy .= '</li>';
$buffy .= '<li class="td-like-tweet-google">';
$buffy .= '
<div class="g-plusone" data-size="medium" data-href="' . $this->href . '"></div>
<script type="text/javascript">
(function() {
var po = document.createElement("script"); po.type = "text/javascript"; po.async = true;
po.src = "https://apis.google.com/js/plusone.js";
var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(po, s);
})();
</script>
';
$buffy .= '</li>';
$buffy .= '</ul>';
$buffy .= '</div></div>';
3. Add this CSS in Theme panel -> Custom CSS
.td-social-like-tweet {
margin-bottom: 0px;
}
.td-social-like-tweet ul {
margin: 0px;
}
Thanks!
Hello, I’m running the latest version of Newspaper and I was able to implement the buttons. now how do I remove this ones –> http://i.imgur.com/gaF81Qy.jpg
I tried commenting this line in loop-single <?php echo $td_mod_single->get_social_like_tweet();?> But buttons are still showing.
I tried but it turns everything off http://i.imgur.com/WMSnw27.jpg
I just want to remove the ones highlighter blue in this picture http://i.imgur.com/gaF81Qy.jpg
Thanks for your time Steven, I just want it to look like this http://i.imgur.com/QAk2wtT.jpg
Ok perfect but now how do I move it up to where the other one was http://i.imgur.com/sbvslV2.png
What @marius share works fine, but I want to remove the highlighted buttons in this picture http://i.imgur.com/gaF81Qy.jpg
