Live Tweet Box in Wordpress


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



Copy this code and paste it in your HTML
  1. <!-- Code in functions.php einfuegen -->
  2.  
  3. <script type="text/javascript">
  4. twttr.anywhere(onAnywhereLoad);
  5. function onAnywhereLoad(twitter) {
  6. twitter("#custom-tweetbox").tweetBox({
  7. label: "Live Tweet Box:",
  8. defaultContent: "Everyone should follow @wpbeginner for awesome #WordPress tips",
  9. height: 50,
  10. width: 480,
  11. });
  12. };
  13. </script>
  14.  
  15. <!-- Code in template Datei einfuegen -->
  16.  
  17. <div id="custom-tweetbox"></div>

URL: http://www.wpbeginner.com/wp-tutorials/how-to-add-twitter-anywhere-in-wordpress/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.