Easily integrate a share button into our site using the ht-ctc-share
Shortcode. By default, it uses the settings configured in the plugin. However, the behavior and appearance can be customized using Shortcode attributes.
[ht-ctc-share]
Attributes:
Change Share Text
[ht-ctc-share share_text="Found Awesome page {{url}}"]
Change Call to Action
Use the call_to_action
attribute to change the CTA text.
[ht-ctc-share call_to_action="share this page"]
Change Style
Use the style
attribute to choose a different button style.
[ht-ctc-share style=6]
Change Position
Use position=fixed
along with top
, right
, bottom
, or left
to set a custom button position.
[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 bottom=10px left=60px]
Hide Based on Device
Control visibility depending on the device:
- Hide on mobile:
[ht-ctc-share hide_mobile=yes]
- 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.