There are all kinds of plugins and code out there for posting a Twitter feed to a website. Most of them ignore that Twitter only allows 150 requests per hour. This often results in Tweets not displaying for websites that get any decent number of hits.
Caching the Twitter Feed in WordPress
The solution is to cache the Twitter feed.
I figured it may be helpful however to post an example of an easy code built on the Nashville music venue, 12th and Porter website, that you can copy and paste and give some brief explanation.
This is Jon Giles (JG)’s cache class. I’m not going to explain the caching to you but you can use it as a snippet if you’d like.
Placing Cached Twitter Into WordPress
Place both files in your active theme folder under /wp-content/themes/your-theme/.
Create a directory called ‘cache’. Make sure its permissions are set to 777 so its writeable. Finally do a quick copy and paste over 12th_and_porter for your twitter name.
You can also view other WordPress examples.
approved dosage by doctors fit patients, and 5mg of the elderly and malnourished patients, as well as people with liver failure. The tablet is recommended to be taken http://www.theirishmanwhiskey.com/tour/ right before bedtime.