Advertisement
IzulV3

Share to FB, Twitter and G+ without plugin

Aug 3rd, 2014
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1.  
  2. <pre class="brush: xml">
  3. <div class="post-share">
  4. <div class='twitter-share share-widget'>
  5. Menarik? Sebarkan Berita Ini Lewat Socmed
  6. <a href="http://twitter.com/share" class="twitter-share-button" data-text='<?php the_title(); ?> ' data-count="vertical">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
  7. </div>
  8.  
  9. <div class='facebook-share share-widget'>
  10. <iframe src="http://www.facebook.com/plugins/like.php?app_id=149766198425277&amp;href=<?php echo urlencode(get_permalink($post->ID)); ?>&amp;send=false&amp;layout=box_count&amp;width=450&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font&amp;height=90" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:50px; height:60px;" allowTransparency="true"></iframe>
  11. </div>
  12.  
  13. <div class='google-share share-widget'>
  14. <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
  15. <g:plusone size="tall"></g:plusone>
  16. </div>
  17.  
  18. </div>
  19.  
  20.  
  21. </pre>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement