WordPress.org

Ready to get started?Download WordPress

Forums

Adding a Twitter Feed to a Post (1 post)

  1. JTWoods
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic