Offiziellen Twitter Button in Wordpress einfügen

/ Published in: JavaScript
Save to your folder(s)

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

Copy this code and paste it in your HTML
  1. <script src="" type="text/javascript"></script>
  2. <a href="" 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


RSS Icon Subscribe to comments

You need to login to post a comment.