How to Add Whatsapp Share Button in Your Blogger

Before going to codes, first
decide where you want to
appear the Whatsapp Button in
your blog when someone visit
your site in mobile devices.
Better you find the codes where
you have added Facebook and
Twitter sharing buttons and
with those buttons place
WhatsApp button too.
Must take a buck up of your
recent blogger template before
going forward.

1. Go the Template of your blog
and click on edit.
2. Find your previous sharing
3. Add the below codes with
the previous buttons, be careful
with the codes.

<!-- Whatsapp Share Buttons
Start -->
<script type='text/javascript'>if
me(&quot;head&quot [0]
javascript&quot;;s.src=&quot; h

<a class='wa_btn wa_btn_s'
expr:data-href='data ost.url'
expr:data-text='data ost.title'
<!-- Whatsapp Share Buttons
End -->

4. Preview the template, if
everything fine Save it and view
a post of your blog on a mobile
device running Android or iOS

The above code will give a small
WhatsApp button to your
Blogger blog if you want to add
a medium or large button
change the code in red with
wa_btn_m (for medium
WhatsApp button) or wa_btn_l
(for large WhatsApp button).

Post a Comment

Post Your Comments

Previous Post Next Post

Contact Form