Highlight and Share

Description

A WordPress plugin for highlighting text and sharing it via Twitter and Facebook and other services including LinkedIn, Email, Xing, and WhatsApp.

Sharing selectable text is only possible via Twitter, Facebook, and WhatsApp. However an option to share the post via LinkedIn, Pinterest, and E-mail are also present when highlighting text as a convenience.

This plugin is intended to be highly flexible in selecting content areas (via the Plugin’s settings).

If you have a feature request, please add a GitHub issue.

Please Rate the Plugin or Give Back to show support.

Features

  • Choose a theme for display.
  • Enable or disable on main content and excerpts.
  • Enable or disable Facebook sharing.
  • Enable or disable Twitter sharing.
  • Customize the Twitter username used.
  • Advanced: Override which content is selectable (using jQuery class notation without the dots).
  • Advanced: Override the Font Awesome classes, especially if you’re using Font Awesome 5

Advanced customization is allowed via hooks. See the plugin’s GitHub page for filter documentation.

Recommended Plugins

You are welcome to help us out and contribute on GitHub.

Screenshots

  • Highlight and Share settings.
  • Highlight and Share Default Theme on a post with icons.
  • Highlight and Share Black Theme
  • Highlight and Share White Theme
  • Highlight and Share Magenta Theme
  • Highlight and Share Blue Theme
  • Highlight and Share Green Theme
  • Email functionality

Installation

  1. Just unzip and upload the “highlight-and-share” folder to your ‘/wp-content/plugins/’ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

FAQ

Can I share text using Facebook?

You can if you have a Facebook App ID. They are easy to create.

Here’s a video showing you how:

Will you be adding more sharing services?

Possibly. Open up an issue.

I’m using Font Awesome 5 and the icons aren’t showing up

FontAwesome 5 deprecated a lot of FontAwesome 4, so head to the settings and go under Advanced.

  • For Twitter, enter: fab fa-twitter
  • For Facebook, enter fab fa-facebook
  • For LinkedIn, enter fab fa-linkedin
  • For Pinterest, enter fab fa-pinterest
  • For Xing, enter fab fa-xing
  • For WhatsApp, enter fab fa-whatsapp
  • For Email, you can leave this as fa fa-envelope
I want to include my own CSS. How can I do that?

You can turn off the theme.

You can then include your own CSS in your theme.

For the black CSS file shown in the, adhere to the JSFiddle and place the CSS in the WordPress customizer. As of 2.3.0, themes are built in and there is no need to include custom styles.

Does this plugin work on mobile devices?

Yes, it has successfully been tested on iOS and Android devices.

What Browsers Have You Tested This In?

So far, the latest versions of Chrome, Firefox, and Safari. Works for IE9+

What Themes Have You Tested This In?
  • Twenty Thirteen
  • Twenty Fourteen

Reviews

Performs as Advertised

I had Elementor installed which conflicted with Highlight and Share. When I was able to get in touch with support via mediaron.com, and was provided with the appropriate fix. I highly recommend it.

Works Perfect!

Working great and awesome support!

I initially Had an issue getting this to work with the “blog post element” of Elementor on the twenty sixteen theme. I posted a support question and Ronald (the plugin developer) was quick to respond with an easy solution and it now works great on my site across all pages.

This will definitely boost sharing on my site, thanks for such a great plug-in and support Ronald!

Read all 13 reviews

Contributors & Developers

“Highlight and Share” is open source software. The following people have contributed to this plugin.

Contributors

“Highlight and Share” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Highlight and Share” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

2.4.6

  • Released 2018-10-02
  • Added modal to emails for better mobile compatibility

2.4.1

  • Released 2018-09-05
  • Fix: Facebook App ID uses a different sanitzation technique to prevent App ID errors.

2.4.0

  • Released 2018-09-02
  • New theme: Brand Colors (icons only).
  • Enhancement: You can now customize Highlight and Share through the customizer.

2.3.6

  • Released 2018-08-28
  • Hotfix: Email styles failed to commit.

2.3.5

  • Released 2018-08-26
  • Reworked email so it doesn’t pop up in a new window and is shown inline very similar to JetPack’s email functionality.

2.3.1

  • Released 2018-08-20
  • Bug fix: some settings weren’t being saved correctly.

2.3.0

  • Released 2018-08-19
  • Added the ability to select themes. No more need for custom CSS.
  • Added the ability to change FontAwesome classes for compatibility with FontAwesome 5.

2.2.2

  • Released 2018-07-27
  • Added support for WhatsApp

2.2.0

  • Released 2018-02-11
  • Added support for XING
  • Added better support for emailing

2.1.7

  • Released 2018-02-10
  • JS Related bug where the wrong text was showing for Twitter sharing.

2.1.5

  • Released 2017-11-15
  • CSS adjustment for better theme compatibility.

2.1.2

  • Released 2017-02-12
  • Fixing iOS/Android issue with highlighted text being only the initial selection.

2.1.0

  • Released 2017-01-11
  • Sharing via Facebook is now possible if you create a Facebook application ID.

2.0.1

  • Released 2016-10-20
  • Fixing %text% issue in iOS10.

2.0.0

  • Released 2016-05-21
  • Enhancement: Added LinkedIn, Pinterest, and E-mail buttons
  • Enhancement: Allow icons only view.

1.2.7

  • Released 2015-11-08
  • Fixing polish translation

1.2.5

  • Released 2015-11-08
  • Added Polish translation
  • Added minified scripts

1.2.1

  • Updated 2015-10-29
  • Testing for WordPress 4.4
  • Added German translation

1.2.0

  • Updated 2015-09-07
  • Fixed loading order of initial filters to be better overridable in the context of a WordPress query
  • Fixed typo in the admin section
  • Added filter to change content URL

1.1.2

  • Updated 2015-08-20 – WordPress 4.3 compatibility
  • Released 2015-04-19
  • Fixing issue with multiple twitter popups.
  • Ensuring WordPress 4.2 compatibility.

1.1.1

  • Released 2015-03-18
  • Added filter for customizing the jQuery selectors

1.1.0

  • Released 2015-03-16
  • Added option for shortlink in the settings
  • Removed the requirement for having to set a Twitter handle

1.0.0

  • Updated 2014-12-11 – Ensuring WordPress 4.1 compatibility
  • Released 2014-12-03
  • Initial release on WordPress.org