Twitter Search pulls tweets based on a custom search query on any search string that search.twitter.com uses, caches it for a custom amount of time and displays the number of tweets you desire.
- Display Unlimited Twitter Search Widgets on your blog
- Adjust feeds based on search parameters from search.twitter.com
- Add custom CSS to add custom widget styles
- Twitter Search results caching using the Transient API
- WordPress 2.5 or greater
- PHP 5 or greater
Using Twitter Search in Pages or Posts with Shortcodes
To use Twitter Search as a shortcode, drop the following into your page or post and customize the variables.
[twitter_search query=”upthemes” show=”40″ custom_css=”yes”]
“query” is where you should enter the exact query you want to be run as a Twitter Search.
“show” is where you enter how many tweets to show.
“custom_css” is where you can tell it you want to use custom CSS or the default CSS that comes with the plugin.
When embedding the shortcode version of Twitter Search, you should keep in mind that if you are using another one in the sidebar with the default CSS applied, that same CSS will be applied to your shortcoded version as well.
Should you need to remove Twitter Search:
- Go to Plugins > Twitter Search > Deactivate.
- Once the page is refreshed, there will be a Delete link where there was a Deactivate link.
- How does Twitter Search work?
Twitter Search pulls the latest tweets from search.twitter.com according to the settings from each Twitter Search widget you’ve created. Tweets get pulled from search.twitter.com when a visitor comes to your site, and are then cached for future visits.
- How many tweets can I display?
Tweets can be limited in the widget settings. Between 1 and 15 is recommended.