Share buttons: sidebar and shortcode

On this page

Highlight Pro can show Facebook, Twitter and Email share buttons in two ways:

  • A floating content sidebar on the left or right edge of the screen.
  • The [highlight-share-icon] shortcode, placed anywhere in your content.
The floating share sidebar on the left

Choose the networks

  1. Go to Highlight Pro → Highlight Pro → Share Settings.
  2. Tick the networks you want:
    • Enable Facebook share button
    • Enable Twitter share button
    • Enable Email share button
  3. Click Save Changes.
Facebook and Twitter share settings

Use your own icons

Each network has an Upload icon button. Click it, choose or upload an image in the Media Library, and click Select. The preview under Custom share icon changes to your image.

Tip

Use small square images (for example 32×32 pixels, PNG or SVG) so the icons line up neatly.

Email icon and the share shortcode

Show the floating sidebar

  1. On the Share Settings tab, tick Enable the content sidebar button to share icon.
  2. Choose The content sidebar position: Left or Right.
  3. In The content sidebar Top position, set how far from the top of the screen the bar sits, for example 35%.
  4. Click Save Changes.
Sidebar position settings and page control

Visitors can hide the sidebar with the × button at its top.

Add share buttons with a shortcode

Copy the shortcode from the Share icon Shortcode box and paste it into a post, page or Shortcode block:

[highlight-share-icon]

The enabled share buttons appear in a row at that spot.

Warning

In version 1.1.8 the share buttons share your site's home page address, not the page the visitor is reading. The setting labels mention sharing "when select on text", but selecting text does not show share buttons in this version.

Choose where Highlight Pro loads

At the bottom of the Share Settings tab, Show on Pages controls where the front-end features (text effects, share buttons and Bionic Reading) load:

  • All Pages: everywhere on your site.
  • Selected Pages Only: a list of your pages appears. Tick the pages where Highlight Pro should load.

Note

This list only covers WordPress pages. Posts and archive pages are not affected. If you choose Selected Pages Only but tick no page, Highlight Pro loads everywhere.