/tweetable-selections

A small WordPress plugin to make it easy for users to highlight and tweet pieces of your article

Primary LanguagePHPGNU General Public License v2.0GPL-2.0

Tweetable Selections WordPress Plugin

A small WordPress plugin to make it easy for users to highlight and tweet pieces of your article.

When a reader of your site highlights text on an article, a small tooltip pops up asking if they want to post to Twitter. If the reader clicks it, a Twitter tweet intent window pops open pre-populated with the highlighted text in quotes, link to the article, and your username.

View a demo of the functionality


Installation

Just drag the tweetable-selections folder into your wp-content/plugins directory and activate through wp-admin.

Left to do

  • Better explanation of where to get bit.ly Generic Access Token on settings menu
  • Use shortlink instead of full URL
  • Truncate selected text with ellipsis if character count of tweet is > 140
  • Cross-browser testing and debugging
  • Make sure all the code looks good and quality