How To Add WhatsApp Share Button in WordPress

[easy-social-share counters=0 style="button"]

Messaging applications just like WhatsApp have become the new way to share important things with family and friends. Most recently one out of our users asked us the best way to insert a WhatsApp share key in their posts. In this post, we can easily provide help to insert WhatsApp share key in WordPress.

The first things you need to do are installing and also activate the WhatsApp Share Key plugin. Upon activation, you are required to visit Settings » WhatsApp Share Key to configure the plugin.


Automatically Display WhatsApp Share Button in WordPress

The plugin permits you to insert WhatsApp share key both of them manually and also automatically.

If you would like to automatically show the key, then you definitely require to check out the choices so you wish it to be shown.

Notice: the plugin makes use of CSS code to detect a user’s display size that will only display the WhatsApp key to users whose display size is lower than 1024px. In case you are tests the plugin on your own laptop or pc, then you certainly require to resize your own web browser display unless you notice the key.

You can actually choose to display it on your own posts, pages, and also home page. Also you can select the area of the key to be before and after the post articles.

The final option on the settings web page adds on a utm parameter to the shared website link. That is particularly effective for tracking links in Google Analytics.

When you are satisfied with the choices, click the save key to store your own settings.

Manually Insert WhatsApp Share Button By using Shortcode

WhatsApp Share Button plugin comes with a shortcode, that you can add anywhere on your WordPress site to display the WhatsApp Share button.

Simply add whatsapp to your own posts and also pages the place where you would like to show the key.

Also you can using the shortcode inside a Textual content widget. By default, WordPress does not allow execution of shortcodes inside text widgets however you can stillenable this by inserting just a little code snippet into your own theme’s functions.php file and a site-specific plugin.

add_filter(‘widget_text’, ‘do_shortcode’);

By using The Shortcode To Share Any kind of URL in WhatsApp

By default, the shortcode whatsapp automatically uses the URL of the currently displayed post or page. However, you can override this and add any URL that you want your users to share by using a shortcode like this:

whatsapp title=”codituts” url=””

That’s almost all. I hope this post helped to you learn to insert a WhatsApp share key in WordPress.

You can also would like to notice our set of twenty one best quality social media monitoring tools for WordPress end users.

Hope you all like this Tuts, if yes then keep us supporting by sharing this post, Cheerful Coding smiley.

Submit a comment

Pin It on Pinterest