How to add a WhatsApp share button in WordPress – WhatsApp is the most popular instant messaging application currently used by more than 800 million users worldwide. It’s no wonder Facebook founder Mark Zukerberg spent $ 19 billion acquiring WhatsApp. Although WhatsApp is a very popular instant messaging application, there are still very few WhatsApp share WordPress plugins.
The share feature on the website is a mandatory feature for bloggers and content creators. Currently, most of the share plugins or instant content sharing are still mostly consisting of Facebook, Twitter, Google+ and without WhatsApp. WhatsApp can be a new way to share things with your friends easily and at the same time can be a great way to double the site traffic.
With very large WhatsApp users, we can also use this to easily add features to share various content on websites and blogs. In this article, I will show you how to add the WhatsApp share button in WordPress.
WhatsApp Share Button
To add a share button on your WordPress site, the first thing you need to do is install and activate the plugin WhatsApp Share Button. After activation, you need to visit Settings »WhatsApp Share Button to configure plugins.
This plugin allows you to add WhatsApp share buttons both manually and automatically.
If you want to automatically display the WhatsApp share button on your site, then you need to tick the options available on the configuration page according to what you want it to be displayed.
Note: This plugin uses CSS code to detect the user’s screen size and will only display the WhatsApp button for users on screen sizes less than 1024px. If you are testing the plugin on your laptop, then you will need to resize the browser screen below 1024px in order for the WhatsApp share button to appear. This is intended for tablet and smartphone users.
You can choose to display it on your posts, pages, and homepage. You can also select a button location for before or after posting content.
And for the last setting on the settings page like the image above, you should check Add Tracking. Because it will be very useful to track links in Google Analytics. After that please click the Save Changes button to save your settings.
WhatsApp Share Button Plugin comes with a shortcode, it is intended for those of you who want the WhatsApp share button anywhere on your WordPress site according to your wishes.
Just add it [WhatsApp] on your post or page where you want the button to appear.
You can also use shortcodes in the Text widget. By default, WordPress doesn’t allow the use of shortcodes in text widgets but you can enable this by adding a small snippet of code into your theme’s functions.php file or a location specific plugin.
Using Any URL on WhatsApp
By default, the use of shortcodes [WhatsApp] automatically uses the URL of the current post or page that is currently being displayed. However, you can override this and add the URL you want your users to share by using a shortcode like this:
[WhatsApp title=”verandalounge” url=”http://www.verandalounge.co.uk”]
Above is the tutorial for adding the WhatsApp share button in WordPress using the WhatsApp Share Button plugin, if you don’t like using the plugins above There are other plugins that are no less good and even more complete, namely plugins. mobile sharebar.
Mobile ShareBar is one of the first plugins to add a WhatsApp share button. Sharebar only appears to visitors when they open your site on a smartphone device.
Just like other sharebar plugins, you can customize it to show on specific post types like homepage, post, page, category, archive, tags and even specific custom post types.
You can also choose to show at the top or the bottom of the screen. The ShareBar mobile plugin settings page is pretty straightforward. You can even shorten your links using bit.ly.
By default WhatsApp share button will only show on Android smartphones and iPhones but you can force it to show on all mobile devices.
Urgent: For non-WordPress sites like Blogger and other CMS out there, you can still add the WhatsApp share button to your site. You can use the WhatsApp share button by generating code and placing it on your site, please visit the site here.
And those are the various ways to add the WhatsApp share button to your WordPress site, I hope the tutorial above was useful for you and good luck. 🙂