WhatsApp Share Button For Website

WhatsApp Messenger is one of the most popular messaging apps and you must be having it right now on your phone. Since WhatsApp is now available on web, it’s important for you to add it as a part of your internet/online marketing & promotions. Its one of the familiar app in all mobile phone that you can’t see the mobile phone without WhatsApp Messenger. Nowadays everybody is using the social share feature on their website with popular social network like Facebook, Twitter and Google Plus. Now, Here is the code snippet below to add WhatsApp Share Button for website that allows you to share on WhatsApp Messenger.


Share via Whatsapp

Code Snippets

<!-- WhatsApp Share Button By sivasankar.in -->
<a href="whatsapp://send?text=http://sivasankar.in" data-action="share/whatsapp/share">Share via Whatsapp</a>
<!-- /WhatsApp Share Button By sivasankar.in -->



19 thoughts on “WhatsApp Share Button For Website

  1. Hi ,

    Clicked on demo button , it’s not showing share preview like in above screenshot , I meant logo is not displaying, I need to display it in my website share . Please suggest me

    1. Hi Jayanth,

      Check that the link your sharing has preview image or add the below code on your website.

      <meta property=”og:image” content=”your_image_url” >


  2. sir i have a web page in php which i want to share on whata app and when the user press the share button on the same time my facebook page should be liked if it is possible the rply me

  3. Nice…………super easy
    But is any ways that it only appear on mobile device, not in desktop .
    currently i am creating own social share button as per my requirement and also other plugins in wordpress load and increase size unnecessary.
    so thanx

    And please add other social button mathod like FB google etc

  4. Hello,
    Is it possible to generate a link to include it on a pdf, so when the person click on the link, he can share something on whatsapp? If it is possible, how do I accomplish that?

    Thank you very much!!!!

  5. I am looking for button on each post to automatically prepopulating each posts body as sms & whatsapp for my wordpress site. how can i do this? I can pay for this if you give me step by step solution.

Leave a Reply

Your email address will not be published. Required fields are marked *