Posted By

PM-Webdesign on 10/08/10


Tagged

wordpress button twitter


Versions (?)

Offiziellen Twitter Button in Wordpress einfügen


 / Published in: JavaScript
 

URL: http://www.wpbeginner.com/wp-tutorials/how-to-add-twitters-official-tweet-button-in-wordpress/

Code in single.php, loop.php, index.php, page.php, category.php, und archive.php , innerhalb des loops einfügen.

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

Report this snippet  

You need to login to post a comment.