GitHub
Jim Valentine
@f13dev
f13dev
Margate, UK
f13.dev
Joined March 28, 2016
Margate, UK
f13.dev
Joined March 28, 2016
Sorry, that page does not exist
Coders Rank
Integrate your Twitter account into your WordPress site. Easily embed Twitter profiles and Tweets into any page or blog post. Add your Twitter profile to the widgets area on your WordPress site.
All features of this plugin share a single Twitter API key alleviating the need to have a separate API key for each shortcode and widget.
Features
Adding your own profile can be done with ease, simply add the “twitter_profile” shortcode and the number of most recent tweets you wish to show with your profile.
[twitter_profile tweets="1"]
Adding someone else’s Twitter account can be achieved by including the “user” argument, set this to the handle of the required Twitter account.
[twitter_profile user="eightbitraptor" tweets="0"]
If you add an account handle which doesn’t exist, a clean error will be displayed.
[twitter_profile user="unknown user"]
The tweet shortcode can be used to embed a single tweet into a page or post. Finding a tweet on Twitter, click on the tweet and the ID number will be displayed in the address bar. The URL for the example below is: https://twitter.com/jack/status/20
[tweet id="20"]
just setting up my twttr
— jack (@jack)April 5, 2021
If a tweet ID does not exist, a clean error will be displayed.
[tweet id="2"]
Updating your most recent tweet could be challenging if done manually; especially if you are a regular user of Twitter. To simplify showing your most recent Tweet or Tweets, use the “latest_tweet” shortcode. Setting the “count” argument will allow you to show any number of your most recent Tweets.
[latest_tweet count="2"]
After working on accessibility for 2 weeks I can't help myself from testing every website I visit. Not many website… https://t.co/pYIvzvlaTX
— Jim Valentine (@f13dev)April 5, 2021
@JohnSReid Nintendo and digital copies - still feeling burnt by the DSi and Wii stores being taken offline with any… https://t.co/0HFPGb8o21
— Jim Valentine (@f13dev)April 5, 2021
A live example of the Twitter profile widget can be seen on the right hand side of this page, alternatively a screen shot is provided for reference.
F13 Twitter can be installed via the Plugins section of WordPress. If you wish to download the source code, simply upload the code to the wp-content/plugins folder on your webserver, then visit the Plugins section of WordPress admin to activate the F13 Twitter.
Configuration of F13 Twitter is by the form provided in your WordPress Admin area under the menu
"F13 Admin" >> "Twitter"
Here you will be able to add a Twitter API key allowing the plugin to function.
Settings
Obtain a Twitter API key
F13 Twitter utilises an integrated version of the Twitter API by James Mallison as released under the MIT license.