Posted By

PM-Webdesign on 10/08/10


Tagged

wordpress box tweet Titter


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

jplr
booski


Live Tweet Box in Wordpress


 / Published in: PHP
 

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

  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>

Report this snippet  

You need to login to post a comment.