A wordpress plugin for InlineTweet.js
- InlineTweet.js created by Ire Aderinokun (Github / Twitter)
- Plugin created by Emma Kalson (Github / Twitter)
Dowmload this repository and upload it to your wordpress site. Make sure to activate the plugin as well.
You can set some global settings for all Inline Tweets in your wordpress site. Do this by going to Settings > Inline Tweets. You can set the following global settings -
- Add a twitter username (without the @) to append to the tweet
- Add hashtags to the tweet (comma-separated, no spaces)
- Wrapper element for tweets (default is
<span>
)
You can now use the shortcode anywhere on your wordpress site.
[inlinetweet]Click here to tweet this![/inlinetweet]
You can change any of the settings for the tweet locally -
You can add more data attributes to cutomise the tweeted output -
via
โ Add a twitter username (without the @) to append to the tweettags
- Add hashtags to the tweet (comma-separated, no spaces)url
โ Tweet a URL different to the current page urlwrapper
- The element that wraps the tweet
[inlinetweet via="creativecatapps"
tags="webdesign,webdev,js,yolo"
url="https://www.creativecatapps.co.uk/"
wrapper="p"]
Lorem Khaled Ipsum is a major key to success
[/inlinetweet]