This plugin lets you add a WhatsApp share button before and/or after any post, custom post or page. We’ve even added a shortcode so you can also insert it wherever you want with options to customise the title and URL.
WhatsApp is an IM app that was acquired for a whopping $22billion by Facebook in October 2014. People have written about how social buttons play a huge part in visits to sites. Buzzfeed told Re/code that WhatsApp shares actually brought in more traffic than that of Twitter!
- Download the plugin direct from the Plugin Page at WordPress.
- Upload the whole plugin folder to your /wp-content/plugins/ folder.
- Go to the Plugins page and activate the plugin
- Check all the settings.
- Hit Update!
As well as having the WhatsApp share button insert automatically, you can also insert the button manually within any page, post or template by simply using the following shortcode:
To enter the shortcode directly into templates using PHP, enter
You can also use the options below to override the the settings above.
- url – leave blank for current URL
An example using these options is
[whatsapp url="http://peadig.com/wordpress-plugins/whatsapp-share-button/" title="Check out this WhatsApp plugin for WordPress"]
Does this work on Android devices? Yes! Some other plugins or resources only support iOS devices but this plugin supports both 🙂
Why can’t I see the button? Maybe because you’re viewing it on a desktop. The plugin has been developed to only appear if the screen size is less than 1024 pixels (the width of an iPad in landscape mode). Simply change the width of your browser or navigate via mobile to see it in action.
Can I track clicks from WhatsApp within Google Analytics? At the moment there’s no way of segmenting data by default into Google Analytics, that’s why we’ve added a tracking option into the plugin. We will be working on an update soon to help you customise this as well as add in bit.ly integration to make the URLs look prettier