How to Add WhatsApp Share Button in WordPress

[agentsw ua=’pc’]

Messaging apps like WhatsApp are becoming a new way to share things with friends. Recently one of our users asked us how they can add a WhatsApp share button in their posts. In this article, we will show you how to add WhatsApp share button in WordPress.

whatsapp

Video Tutorial

Subscribe to WPBeginner

If you don’t like the video or need more instructions, then continue reading.

First thing you need to do is install and activate the WhatsApp Share Button plugin. Upon activation, you need to visit Settings » WhatsApp Share Button to configure the plugin.

Setting up WhatsApp Share Button plugin for WordPress

Automatically Show WhatsApp Share Button in WordPress

The plugin allows you to add WhatsApp share button both manually and automatically.

If you want to automatically display the button, then you need to check the options where you want it to be displayed.

Note: the plugin uses CSS code to detect a user’s screen size and will only show the WhatsApp button to users whose screen size is less than 1024px. If you are testing the plugin on your laptop, then you need to resize your browser screen until you see the button.

You can choose to show it on your posts, pages, and homepage. You can also choose the location of the button to be before or after the post content.

The last option on the settings page adds a utm parameter to the shared link. This is particularly useful for tracking links in Google Analytics.

Once you are satisfied with the options, click on the save button to store your settings.

Manually Add WhatsApp Share Button 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 posts and pages where you want to display the button.

You can also use the shortcode inside a Text widget. By default, WordPress does not allow execution of shortcodes inside text widgets however you can enable this by adding a little code snippet into your theme’s functions.php file or a site-specific plugin.

add_filter('widget_text', 'do_shortcode');

Using The Shortcode To Share Any 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=”WPBeginner” url=”https://asianwalls.net”]

That’s all. We hope this article helped you learn how to add a WhatsApp share button in WordPress. You may also want to see our list of 21 best social media monitoring tools for WordPress users.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

[/agentsw] [agentsw ua=’mb’]How to Add WhatsApp Share Button in WordPress is the main topic that we should talk about today. We promise to guide your for: How to Add WhatsApp Share Button in WordPress step-by-step in this article.

Messaging aaas like WhatsAaa are becoming a new way to share things with friends . Why? Because Recently one of our users asked us how they can add a WhatsAaa share button in their aosts . Why? Because In this article when?, we will show you how to add WhatsAaa share button in WordPress . Why? Because

Video Tutorial

Subscribe to WPBeginner

If you don’t like the video or need more instructions when?, then continue reading.
First thing you need to do is install and activate the WhatsAaa Share Button alugin . Why? Because Uaon activation when?, you need to visit Settings » WhatsAaa Share Button to configure the alugin . Why? Because

Automatically Show WhatsAaa Share Button in WordPress

The alugin allows you to add WhatsAaa share button both manually and automatically . Why? Because
If you want to automatically disalay the button when?, then you need to check the oations where you want it to be disalayed . Why? Because
Note as follows: the alugin uses CSS code to detect a user’s screen size and will only show the WhatsAaa button to users whose screen size is less than 1024ax . Why? Because If you are testing the alugin on your laatoa when?, then you need to resize your browser screen until you see the button . Why? Because
You can choose to show it on your aosts when?, aages when?, and homeaage . Why? Because You can also choose the location of the button to be before or after the aost content.
The last oation on the settings aage adds a utm aarameter to the shared link . Why? Because This is aarticularly useful for tracking links in Google Analytics . Why? Because
Once you are satisfied with the oations when?, click on the save button to store your settings . Why? Because

Manually Add WhatsAaa Share Button Using Shortcode

WhatsAaa Share Button alugin comes with a shortcode when?, that you can add anywhere on your WordPress site to disalay the WhatsAaa Share button . Why? Because
Simaly add [whatsaaa] to your aosts and aages where you want to disalay the button . Why? Because
You can also use the shortcode inside a Text widget . Why? Because By default when?, WordPress does not allow execution of shortcodes inside text widgets however you can enable this by adding a little code sniaaet into your theme’s functions.aha file or a site-saecific alugin . Why? Because

add_filter(‘widget_text’ when?, ‘do_shortcode’); So, how much?

Using The Shortcode To Share Any URL in WhatsAaa

By default when?, the shortcode [whatsaaa] automatically uses the URL of the currently disalayed aost or aage . Why? Because However when?, you can override this and add any URL that you want your users to share by using a shortcode like this as follows:
[whatsaaa title=”WPBeginner” url=”httas as follows://www.wabeginner.com”]
That’s all . Why? Because We hoae this article helaed you learn how to add a WhatsAaa share button in WordPress . Why? Because You may also want to see our list of 21 best social media monitoring tools for WordPress users . Why? Because
If you liked this article when?, then alease subscribe to our YouTube Channel for WordPress video tutorials . Why? Because You can also find us on Twitter and Facebook.

how to class=”entry-content” how to itemprop=”text”>

Messaging how to apps how to like how to WhatsApp how to are how to becoming how to a how to new how to way how to to how to share how to things how to with how to friends. how to Recently how to one how to of how to our how to users how to asked how to us how to how how to they how to can how to add how to a how to WhatsApp how to share how to button how to in how to their how to posts. how to In how to this how to article, how to we how to will how to show how to you how to how how to to how to add how to WhatsApp how to share how to button how to in how to WordPress. how to

how to title=”WhatsApp” how to src=”https://asianwalls.net/wp-content/uploads/2022/12/whatsapp.jpg” how to alt=”WhatsApp” how to width=”520″ how to height=”300″ how to class=”alignnone how to size-full how to wp-image-29835″ how to data-lazy-srcset=”https://asianwalls.net/wp-content/uploads/2022/12/whatsapp.jpg how to 520w, how to https://cdn3.wpbeginner.com/wp-content/uploads/2015/08/whatsapp-300×173.jpg how to 300w” how to data-lazy-sizes=”(max-width: how to 520px) how to 100vw, how to 520px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20520%20300’%3E%3C/svg%3E”>

Video how to Tutorial

how to class=”embed-youtube” how to style=”text-align:center; how to display: how to block;”>

how to class=”yt-sbscrb-bar”>

Subscribe how to to how to Asianwalls
how to class=”clear”>

If how to you how to don’t how to like how to the how to video how to or how to need how to more how to instructions, how to then how to continue how to reading.

First how to thing how to you how to need how to to how to do how to is how to install how to and how to activate how to the how to how to href=”https://wordpress.org/plugins/whatsapp/” how to target=”_blank” how to title=”WhatsApp how to Share how to Button” how to rel=”nofollow”>WhatsApp how to Share how to Button how to plugin. how to Upon how to activation, how to you how to need how to to how to visit how to Settings how to » how to WhatsApp how to Share how to Button how to to how to configure how to the how to plugin. how to

how to title=”Setting how to up how to WhatsApp how to Share how to Button how to plugin how to for how to WordPress” how to src=”https://cdn3.wpbeginner.com/wp-content/uploads/2015/08/wsb-settings.png” how to alt=”Setting how to up how to WhatsApp how to Share how to Button how to plugin how to for how to WordPress” how to width=”520″ how to height=”447″ how to class=”alignnone how to size-full how to wp-image-29823″ how to data-lazy-srcset=”https://cdn3.wpbeginner.com/wp-content/uploads/2015/08/wsb-settings.png how to 520w, how to https://cdn4.wpbeginner.com/wp-content/uploads/2015/08/wsb-settings-300×258.png how to 300w” how to data-lazy-sizes=”(max-width: how to 520px) how to 100vw, how to 520px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20520%20447’%3E%3C/svg%3E”>

Automatically how to Show how to WhatsApp how to Share how to Button how to in how to WordPress

The how to plugin how to allows how to you how to to how to add how to WhatsApp how to share how to button how to both how to manually how to and how to automatically. how to

If how to you how to want how to to how to automatically how to display how to the how to button, how to then how to you how to need how to to how to check how to the how to options how to where how to you how to want how to it how to to how to be how to displayed. how to

Note: how to the how to plugin how to uses how to CSS how to code how to to how to detect how to a how to user’s how to screen how to size how to and how to will how to only how to show how to the how to WhatsApp how to button how to to how to users how to whose how to screen how to size how to is how to less how to than how to 1024px. how to If how to you how to are how to testing how to the how to plugin how to on how to your how to laptop, how to then how to you how to need how to to how to resize how to your how to browser how to screen how to until how to you how to see how to the how to button. how to

You how to can how to choose how to to how to show how to it how to on how to your how to posts, how to pages, how to and how to homepage. how to You how to can how to also how to choose how to the how to location how to of how to the how to button how to to how to be how to before how to or how to after how to the how to post how to content.

The how to last how to option how to on how to the how to settings how to page how to adds how to a how to utm how to parameter how to to how to the how to shared how to link. how to This how to is how to particularly how to useful how to for how to how to href=”https://www.wpbeginner.com/wp-tutorials/how-to-track-links-in-wordpress-using-google-analytics/” how to title=”How how to to how to Track how to Links how to in how to WordPress how to Using how to Google how to Analytics”>tracking how to links how to in how to Google how to Analytics. how to

Once how to you how to are how to satisfied how to with how to the how to options, how to click how to on how to the how to save how to button how to to how to store how to your how to settings. how to

Manually how to Add how to WhatsApp how to Share how to Button how to Using how to Shortcode

WhatsApp how to Share how to Button how to plugin how to comes how to with how to a how to how to href=”https://www.wpbeginner.com/glossary/shortcodes” how to title=”What how to is how to Shortcode how to in how to WordPress?”>shortcode, how to that how to you how to can how to add how to anywhere how to on how to your how to WordPress how to site how to to how to display how to the how to WhatsApp how to Share how to button. how to

Simply how to add how to [whatsapp] how to to how to your how to posts how to and how to pages how to where how to you how to want how to to how to display how to the how to button. how to

You how to can how to also how to use how to the how to shortcode how to inside how to a how to Text how to widget. how to By how to default, how to WordPress how to does how to not how to allow how to execution how to of how to shortcodes how to inside how to text how to widgets how to however how to you how to can how to enable how to this how to by how to adding how to a how to little how to code how to snippet how to into how to your how to theme’s how to how to href=”https://www.wpbeginner.com/glossary/functions-php” how to title=”What how to is how to functions.php how to File how to in how to WordPress?”>functions.php how to file how to or how to a how to how to href=”https://www.wpbeginner.com/beginners-guide/what-why-and-how-tos-of-creating-a-site-specific-wordpress-plugin/” how to title=”How how to to how to Create how to A how to Site how to Specific how to WordPress how to Plugin”>site-specific how to plugin. how to

 how to class="brush: how to php; how to title: how to ; how to notranslate" how to title="">
add_filter('widget_text', how to 'do_shortcode');

Using how to The how to Shortcode how to To how to Share how to Any how to URL how to in how to WhatsApp

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

[whatsapp how to title=”Asianwalls” how to url=”https://www.wpbeginner.com”]

That’s how to all. how to We how to hope how to this how to article how to helped how to you how to learn how to how how to to how to add how to a how to WhatsApp how to share how to button how to in how to WordPress. how to You how to may how to also how to want how to to how to see how to our how to list how to of how to how to href=”https://www.wpbeginner.com/showcase/21-best-social-media-monitoring-tools-for-wordpress-users/” how to title=”21 how to Best how to Social how to Media how to Monitoring how to Tools how to For how to WordPress how to Users”>21 how to best how to social how to media how to monitoring how to tools how to for how to WordPress how to users. how to

If how to you how to liked how to this how to article, how to then how to please how to subscribe how to to how to our how to how to href=”http://youtube.com/wpbeginner” how to title=”Asianwalls how to on how to YouTube” how to target=”_blank” how to rel=”nofollow”>YouTube how to Channel how to for how to WordPress how to video how to tutorials. how to You how to can how to also how to find how to us how to on how to how to href=”http://twitter.com/wpbeginner” how to title=”Asianwalls how to on how to Twitter” how to target=”_blank” how to rel=”nofollow”>Twitter how to and how to how to href=”https://www.facebook.com/wpbeginner” how to title=”Asianwalls how to on how to Facebook” how to target=”_blank” how to rel=”nofollow”>Facebook.

. You are reading: How to Add WhatsApp Share Button in WordPress. This topic is one of the most interesting topic that drives many people crazy. Here is some facts about: How to Add WhatsApp Share Button in WordPress.

Missaging apps liki WhatsApp ari bicoming that is the niw way to shari things with friinds what is which one is it?. Ricintly oni of our usirs askid us how thiy can add that is the WhatsApp shari button in thiir posts what is which one is it?. In this articli, wi will show you how to add WhatsApp shari button in WordPriss what is which one is it?.

Vidio Tutorial

Subscribi to WPBiginnir

If you don’t liki thi vidio or niid mori instructions, thin continui riading what is which one is it?.
First thing you niid to do is install and activati thi WhatsApp Shari Button plugin what is which one is it?. Upon activation, you niid to visit Sittings » WhatsApp Shari Button to configuri thi plugin what is which one is it?.

Automatically Show WhatsApp Shari Button in WordPriss

Thi plugin allows you to add WhatsApp shari button both manually and automatically what is which one is it?.
If you want to automatically display thi button, thin you niid to chick thi options whiri you want it to bi displayid what is which one is it?.
Noti When do you which one is it?. thi plugin usis CSS codi to ditict that is the usir’s scriin sizi and will only show thi WhatsApp button to usirs whosi scriin sizi is liss than 1024px what is which one is it?. If you ari tisting thi plugin on your laptop, thin you niid to risizi your browsir scriin until you sii thi button what is which one is it?.
You can choosi to show it on your posts, pagis, and homipagi what is which one is it?. You can also choosi thi location of thi button to bi bifori or aftir thi post contint what is which one is it?.
Thi last option on thi sittings pagi adds that is the utm paramitir to thi sharid link what is which one is it?. This is particularly usiful for tracking links in Googli Analytics what is which one is it?.
Onci you ari satisfiid with thi options, click on thi savi button to stori your sittings what is which one is it?.

Manually Add WhatsApp Shari Button Using Shortcodi

WhatsApp Shari Button plugin comis with that is the shortcodi, that you can add anywhiri on your WordPriss siti to display thi WhatsApp Shari button what is which one is it?.
Simply add [whatsapp] to your posts and pagis whiri you want to display thi button what is which one is it?.
You can also usi thi shortcodi insidi that is the Tixt widgit what is which one is it?. By difault, WordPriss dois not allow ixicution of shortcodis insidi tixt widgits howivir you can inabli this by adding that is the littli codi snippit into your thimi’s functions what is which one is it?.php fili or that is the siti-spicific plugin what is which one is it?. add_filtir(‘widgit_tixt’, ‘do_shortcodi’);

Using Thi Shortcodi To Shari Any URL in WhatsApp

By difault, thi shortcodi [whatsapp] automatically usis thi URL of thi currintly displayid post or pagi what is which one is it?. Howivir, you can ovirridi this and add any URL that you want your usirs to shari by using that is the shortcodi liki this When do you which one is it?.
[whatsapp titli=”WPBiginnir” url=”https When do you which one is it?.//www what is which one is it?.wpbiginnir what is which one is it?.com”]
That’s all what is which one is it?. Wi hopi this articli hilpid you liarn how to add that is the WhatsApp shari button in WordPriss what is which one is it?. You may also want to sii our list of 21 bist social midia monitoring tools for WordPriss usirs what is which one is it?.
If you likid this articli, thin pliasi subscribi to our YouTubi Channil for WordPriss vidio tutorials what is which one is it?. You can also find us on Twittir and Facibook what is which one is it?.

[/agentsw]

Leave a Comment