When building a business website, we naturally want visitors to be able to contact us easily. One way to do this is by adding a WhatsApp button in WordPress.
To add a WhatsApp button in WordPress, we will use a plugin called Joinchat, which has already reached over 600,000 active installations.
Additionally, we can choose the option to display live chat when website visitors are using a PC and only display the WhatsApp button when visitors are using a mobile phone.
Not only that, we can also hide or show this button on specific pages. So, if we do not want the chat button to appear on certain pages, such as the TOS page, we can use this feature.
Curious about how to use Joinchat? Let's jump straight into the tutorial on adding a WhatsApp button in WordPress.
How to Add a WhatsApp Button in WordPress
Before proceeding to the tutorial, it is best to decide whether this button will be used to display WhatsApp chat only, or if it will include live chat as well.
According to WPgan, is it better to use just WhatsApp or include live chat?
It depends. If our website is always monitored and does not use shared hosting (for example, using a VPS), then we can enable the live chat feature. However, if using shared hosting, we might want to reconsider adding this live chat feature, as it could potentially lower website performance.
Okay, moving on to the main discussion, we can start adding a WhatsApp button in WordPress by installing the Joinchat plugin.
1. Install the Joinchat Plugin
If you have never added or installed a plugin in WordPress, please try the tutorial on this page: How to Upload a WordPress Plugin.
After understanding how to upload a plugin, we can then install the Joinchat plugin, which can be downloaded via this page: https://wordpress.org/plugins/creame-whatsapp-me/.
Once the plugin is installed, the WhatsApp button will not appear automatically, so we need to configure it first for the button to show up.
2. Configure Joinchat
To configure Joinchat, we can open the Joinchat menu located on the left panel of the WordPress dashboard. Once found, just click that menu to continue the configuration.
For this configuration, we have several important points that need to be filled out, so make sure to enter all data completely and correctly so the button can function normally.
2.1 Telephone Configuration
This option is used to add the WhatsApp number you want to include. For example, if you want to add the number 08888888888, we can select the Indonesia country code (+62), then follow it with the digits after the 0, so you only need to enter 8888888888.
After the number is added, we can check if the number is correct or not by clicking the Test Numberbutton, and our browser will automatically open a new tab to try and open the WhatsApp link.
For this configuration, make sure it is filled out until the number is no longer red, because if you do not add a number, the WhatsApp button will not appear.
2.2 Message Configuration
Next, this message configuration is used to send a message that is automatically written when a website visitor clicks the WhatsApp button we have added.
For example, if we want visitors to automatically send a message like “Hello WPgan, is the “Product Name” still available? I found the purchase link via https://staging.wpgan.com/link/produk/?utm_source=twitter&utm_medium=social&utm_campaign=XXX“, then we can fill in the Message field like this.
Halo {SITE}, Apakah produk "{TITLE}" masih tersedia? Saya mendapatkan link pembelian melalui {HREF}
Then, if a visitor clicks the WhatsApp button, it will automatically contain a message that looks something like this.
For the Image configuration, it seems unnecessary to discuss it because everyone surely understands the purpose of this configuration, so let's move directly to the next configuration.
2.3 Tooltip and Position Configuration
As the name suggests, this configuration can be used to display a tooltip that appears when we hover the cursor over the WhatsApp button.
By default, this feature is off, meaning it displays nothing. However, if you want to display a tooltip, we can enter any text, and the result will look something like this.
Next, in position, we can change the location where the WhatsApp button will be displayed. By default, the WhatsApp button is displayed at the bottom-right of the screen, but if our website uses a back-to-top button in the same location, then this WhatsApp button can be moved to the left by selecting the Left.
option.
2.4 Logic Configuration The next configuration that can be done is adding logic configuration. For example, if you want this button to only appear on mobile phones, we can check the Only display the button on mobile devices
option, and when accessed using a PC browser, the WhatsApp button will not be displayed.
2.5 Visibility Configuration Before continuing with the visibility configuration, we need to save the configuration we have made previously so the changes are stored. If the changes are saved, we can then perform the visibility configuration by opening the.
Visibility
tab. For example, if you want the WhatsApp button to be displayed only on the main page, the visibility settings can be set like this, then save.
3. Check the Page
Since all configurations have been saved, we can then test whether the configuration is correct or not by checking our website page using a PC browser and a mobile phone.
Besides checking the display, make sure to also try clicking the WhatsApp button to ensure that the WhatsApp button is truly functioning well.
Conclusion
COMMENTS
Loading...