WordPress.org

Support

Support » How-To and Troubleshooting » Adding a Twitter Feed to a Post

Adding a Twitter Feed to a Post

  • I am trying to add my most recent Tweets (3-4) from my Twitter feed (@JohnsenFrettyCo) to a Post on my WordPress site. I have attempted, unsuccessfully, to use the Widget that is supplied directly from Twitter, which is the following:

    Tweets by @JohnsenFrettyCo
    <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=”//platform.twitter.com/widgets.js”;fjs.parentNode.insertBefore(js,fjs);}}(document,”script”,”twitter-wjs”);</script>

    When I drop this code into my post, it does not show my most recent tweets, rather it just provides a hyperlink to my Twitter profile page – obviously not what I intended for it to do.

    I have also installed and activated a Plugin called Twitter Feed Version 1.2. Other than activating this plugin, I have done nothing with it. I was hoping that after activating it, the code above would begin to work.

    I am a WordPress / coding neophyte and have no idea how to fix this issue. Any help would be greatly appreciated. All I wanted, is to display my most recent tweets in a small area on my home page (not in the side bar).

    Thanks.

  • The topic ‘Adding a Twitter Feed to a Post’ is closed to new replies.