Share Buttons - Customize WhatsApp Template


With Shareaholic Share Button templates you can customize the pre-filled message when sharing via WhatsApp.

{title}, {short_link}, {link} placeholder variables are available for the WhatsApp template. These will be dynamically substituted with the actual values. All variables are optional.

There are two ways to set the WhatsApp template:

  1. Codeless method - in the Admin UI, head over to Site Profile -> Settings -> Sharing -> Sharing Settings
  2. Code method - 
       <div class="shareaholic-canvas"
                     "text":"A little hint that this caught my eye! ${link}",

If both code and codeless methods are set, code method will take priority.

Tip: If phone is specified, a chat with the person will automatically open. If not specified, a list of contacts that you can send your message to will be shown.