<aside> đź’ˇ TL;DR
You can create your own widget using the WhatsApp Widget Generator tool on Hoola’s website. This is the first step.
In there, you put your information:
And in the next step:
Hit “Generate”
Your information is saved in an HTML code, this is what we need.
Test the link to see if it actually goes to your WhatsApp, and puts the right pre-filled message.
Hit “Copy” to copy the html code.
In your WordPress admin dashboard, go to “Theme File Editor”
Then, on the right side:
footer.php
Next, scroll all the way to find the </body>
closing tag.
This is where you paste all the necessary code.
<!-- Hoola WhatsApp Widget -->
<script defer src="<https://cdn.hoola.so/public/scripts/hoola-widget.js>"></script>
<link rel="stylesheet" href="<https://cdn.hoola.so/public/css/hoola-widget.css>" type="text/css">
<div id="hoola-pre-wrapper">
<div id="hoola-widget-wrapper" class="hoola-widget-wrapper">
...
<!-- Your Widget Code from the Generator -->
</div></div>
It should look something like this:
Hit “Update File” to publish.
The following steps are slightly more technical.