Subscribe via RSS Feed Connect on Google Plus

Adding Tweet Button to Posts

4 March, 2015 0 Comments
<script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>
   <a href="http://twitter.com/share" class="twitter-share-button"
      data-url="<?php the_permalink(); ?>"
      data-via="wpbeginner"
      data-text="<?php the_title(); ?>"
      data-related="syedbalkhi:Founder of WPBeginner"
      data-count="vertical">Tweet</a>

Added to both single.php and index1.php
http://www.wpbeginner.com/wp-tutorials/how-to-add-twitters-official-tweet-button-in-wordpress/

Filed in: Wordpress

About the Author:

Leave a Reply

Seo wordpress plugin by www.seowizard.org.