Quote Tweet Plugin
A plugin that shows a link when a user selects text on your WordPress site to quote that text, with the current URL, in a tweet.
Let your visitors share a quote from your pages with Quote Tweet!
When a visitor selects text from one of your pages, a prompt appears for them to share the quote, with the current page URL, to Twitter.
Check out the source code on GitHub!
Installation
- Choose to add a new plugin, then click upload
- Upload the quote-tweet zip
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Try selecting text on one of your pages, to see the Twitter icon pop up.
Screenshots
Select text to see the prompt.
FAQ
None yet! Shoot me a question @bozdoz.
Installation Instructions
- Choose to add a new plugin, then click upload
- Upload the quote-tweet zip
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Try selecting text on one of your pages, to see the Twitter icon pop up.
Changelog
0.7
0.6
- Fix to overwritten variable which wiped text selection in 0.5 (sorry, all affected).
0.5
- Added timeouts, contextmenu event, and
addEventListener
for all events.
0.4
- Added z index so that the popup will show up on most sites; added retina Twitter logo.
0.3
- Tightened whitespace and comments, made globals explicit; eventually moved most of the plugin into a function executed on the
init
action.
0.2
- Should be more compatible with other plugins.
0.1
- First Version. Select text to see Twitter prompt.