How to add WhatsApp share in your website

Social networking is everywhere. If you want to add a Share button, you have many options. I was looking for an option to allow visitors to share my page on WhatsApp. After much research, I found one. I'll continue my research to see how I can add this code with an image.

Just add this code to your website and you are good to go :

<a href="whatsapp://send?text=">Share on whatsapp</a>

Change the link or text that you want your visitors to share :

<a href="whatsapp://send?text=<<Text or URL you want visitors to share>>" data-action="share/whatsapp/share">Share via Whatsapp</a>

Do you have a similar tip? I'd like to hear about it in the comments below.

1 comment: