/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<!-- Code in functions.php einfuegen --> <script type="text/javascript"> twttr.anywhere(onAnywhereLoad); function onAnywhereLoad(twitter) { twitter("#custom-tweetbox").tweetBox({ label: "Live Tweet Box:", defaultContent: "Everyone should follow @wpbeginner for awesome #WordPress tips", height: 50, width: 480, }); }; </script> <!-- Code in template Datei einfuegen --> <div id="custom-tweetbox"></div>
URL: http://www.wpbeginner.com/wp-tutorials/how-to-add-twitter-anywhere-in-wordpress/