Share Bars

Share Bars provide a way to share the current page or post on social media.


Overview

Here’s an example share bar:

By default, share bars show color icons for supported social media platforms on a light gray background. Share bars can also be styled as “dark”, with light icons on a dark background:

A “light” option is also available, with dark icons on a light background:

Share bars support sharing on Twitter and Facebook.

Adding a Share Bar

Currently, share bars can only be implemented by using the shortcode (see the below documentation).


Technical Details

Share bars can be implemented with the shortcode cl-share.

[cl-share]

Attributes

style

(string) (optional) (values: color, dark, light)

Set the style of the icons

(default value: color)

class

(string) (optional)

Set custom CSS class(es)

(default value: none)