Return to Snippet

Revision: 33464
at October 8, 2010 22:38 by PM-Webdesign


Initial Code
<!-- 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>

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

Initial Description

                                

Initial Title
Live Tweet Box in Wordpress

Initial Tags
wordpress

Initial Language
PHP