Skip to content

Add a WhatsApp Button to Joomla

Joomla has no box for footer scripts, but a Custom site module shown on all pages does the same job — no WhatsApp extension needed. The one thing to watch: Joomla’s editor and text filters remove scripts, so paste the code with the editor switched off.

Loading the generator…

Step by step: add the button to Joomla

  1. Make the button: enter your WhatsApp number with the country code, the pre-filled message, color, size and corner, press Generate code and copy the whole snippet, including the <script> part.
  2. Let the script through: in System → Global Configuration set Default Editor to Editor – None (or CodeMirror), and under Text Filters make sure your user group (Super Users) has No Filtering.
  3. Go to Content → Site Modules → New and choose Custom. Give it a title such as “WhatsApp button”, set the title to Hide, and paste the snippet into the content box.
  4. Choose a Position that your template shows on every page (for example a footer position), open the Menu Assignment tab, pick On all pages, and click Save & Close.
  5. Open the site in a private window and check the button. Then set the Default Editor back to the one you normally use — the module keeps the code.

See who clicks it

The free button does not count clicks. WhatsApp Chat Button with Click Tracking ($9/month) shows how many visitors open a chat — per page, per device and per day — on your Joomla site, with the same button, and its code has no credit link.

Questions

The button doesn't show — what's wrong?

Usually the editor or a text filter removed the <script> tag. Open the module again with Editor – None and check that the code is still there, and that the module position exists in your template.

Can I put it in the template instead?

Yes: System → Site Templates, open your template’s files, edit index.php and paste the snippet just above </body>. A template update can overwrite it, so the module way is safer.

Enterprise Solution Center

Choose the perfect solution for your business

Most Popular
📦

AffiliatePro SaaS

Enterprise solution

$49
📦

WooCommerce Amazon

Enterprise solution

$49
📦

AffiliatePro Mobile

Enterprise solution

$79
🤝 Recommended Partner

Optimized Infrastructure for Your Enterprise Solution