In our Previous Post, we see about create a Pinterest Share Link for Ghost CMS.

In this topic, we will see the Method to Create a Whatsapp Share Link for Ghost Blog CMS.

For this, we use only Two Ghost theme Handlebar tags to Generate the Whatsapp share link for Ghost CMS.

{{url absolute="true"}} - Get the Current post/page URL

{{encode title}} - Get the Current Post title ( Docs for Encode on Ghost CMS )

Create a Whatsapp Share Link for Ghost

  • For Post/pages
<a href="whatsapp://send?text={{encode title}} &rarr; {{url absolute="true"}}">Whatsapp</a>
  • Whatsapp share button for Homepage try this below format
<a href="whatsapp://send?text={{encode @blog.title}} &rarr; {{@blog.url}}">Whatsapp</a>
  • That's all