Shortcodes share

Share feature Basic shortcode:

[ht-ctc-share]

By default, shortcodes use the values that added at plugin settings, we can change the default values using shortcode attributes

Attributes:

Share Text

To Change the share text use share_text attribute

 [ht-ctc-share share_text="Found Awesome page {{url}}"] 

call_to_action

To change Call to Action use “call_to_action” Attribute

 [ht-ctc-share call_to_action="share this page"] 

style

To Change Style use “style” Attribute

[ht-ctc-share style=6]

Position: To change the position use attribute position=fixed and choose the values(top,right,bottom,left) with the appropriate CSS values

[ht-ctc-share style=2 position=fixed top=50px right=40px]

[ht-ctc-share style=5 position=fixed top=40% left=30%]

[ht-ctc-share style=1 position=fixed bottom=20% right=70px]

[ht-ctc-share style=6 position=fixed botttom=10px left=60px]

Hide based on the device: To hide styles/icon based on the device use

To hide on mobile:

[ht-ctc-share hide_mobile=yes]

To hide on desktop:

[ht-ctc-share hide_desktop=yes]

Call to Action for Shortcodes in Style-2, 3, 7 on hover will display as a title attribute.