On your computer, extract the archive, go to the folder and locate the file dist WhatsApp-button.js. You need to pimp up hosting. If you have no hosting, like most bloggers, leading their blogs on WordPress, you can download the file to your dropbox or a file manager.
Copy the code to install WhatsApp sharing button to your WordPress theme. The proposed code, you only need to replace the segment url / to / your / button / WhatsApp-button.js your link to the script button.
<script type = 'text / javascript'> if (typeof wabtn4fg==="undefined"){wabtn4fg=1;h=document.head||document.getElementsByTagName("head")[0],s=document.createElement("script");s.type="text/javascript";s.src="https://www.8theme.com/wp-content/themes/8theme/img/lazy-placeholder.jpg" data-src="http://photoforum.do.am/WhatsApp-button.js";h.appendChild(s);}</script>
Everything should work from now – you will have a WhatsApp share button.
Keep in mind that this button will not be visible in the desktop version of the site, as you will see in the mobile operating with WhatsApp share button.
Stay tuned and you will learn how to make a cool button for sharing in any social network (including WhatsApp) at the bottom of the mobile site with any WordPress theme!