WordPress - Need Twitter Plug In

4 replies
  • WEB DESIGN
  • |
Hello,


I want to add a plugin that shows my most recent tweets. I not too long ago I saw something that fit the bill, but have long lost the site.
I am looking for something that looks slick and not basic. Any ideas or recommendations? If so, maybe a link tot he site that has it?


Many thanks,


Dave
#plug #twitter #wordpress
  • Profile picture of the author essentialwell
    Twitter actually have their own ones of those now that you can put in a text/html widget .

    Some themes have twitter widgets as standard now too.
    {{ DiscussionBoard.errors[4149752].message }}
  • Profile picture of the author Sire
    There are so many available where plugins are concerned that I usually just do a plugin search from within the dashboard. There is a bit of trial and error but I always come away with a plugin I like.
    {{ DiscussionBoard.errors[4152615].message }}
    • Profile picture of the author erbuc
      There are two bits of code that you need to put into your webpage.

      In the <head> section, just before the closing </head>, you need to put in the following JavaScript code:

      Code:
      <script type='text/javascript'>
          $(document).ready(function(){
              $(".tweet").tweet({
                  username: "TWITTER-USER-NAME",
                  join_text: "auto",
                  avatar_size: 32,
                  count: 1,
                  auto_join_text_default: "we said,", 
                  auto_join_text_ed: "we",
                  auto_join_text_ing: "we were",
                  auto_join_text_reply: "we replied to",
                  auto_join_text_url: "we were checking out",
                  loading_text: "loading tweets..."
              });
          });
      </script>
      Make sure you update the username field with your Twitter user name and the count with the number of recent tweets to show.

      Then, in the <body> section, add a div where you want the tweets to appear by adding the following code:

      HTML Code:
      <div class="tweet"></div>
      After that, you should see your tweets appear in the code of the page in the "tweet" div. You can style as you see fit in your CSS file.

      I hope this was useful.
      {{ DiscussionBoard.errors[4152691].message }}
      • Profile picture of the author erbuc
        One more bit of code I forgot abouot ... you need to load this Javascript file in the head section before you add the SCRIPT code:

        Code:
        <script language="javascript" src="/js/jquery.tweet.js" type="text/javascript"></script>
        Make sure you alter the path to the Javascript file.

        I am attempting to add the JS file here as an attachment.
        {{ DiscussionBoard.errors[4152807].message }}

Trending Topics