Back to Community

How to Add a WhatsApp Chat Button Anywhere on Your Site with Joinchat

8 threads Sep 10, 2025 PluginJoinchat

Content

A common question from WordPress users of the Joinchat plugin is how to place the WhatsApp chat button in a specific location within their page content, rather than just having it as a floating button. Many users look for a shortcode to easily embed the button, but this functionality isn't always straightforward.

This guide explains the available methods for placing the Joinchat button in custom locations on your site.

Why Isn't There a Standard Shortcode?

Based on community discussions, the Joinchat plugin was primarily designed as a floating call-to-action (CTA) button. Official support threads from several years ago indicate that the plugin did not include a shortcode feature. While a shortcode was mentioned as a potential future addition in the plugin's roadmap, the sample threads do not confirm its implementation in the free version of the plugin.

Available Solutions

If you need to trigger the WhatsApp chat from a specific link or button within your content, there are a couple of approaches you can try.

1. Use the Built-in CSS Class

One effective method confirmed in support threads is to use a specific CSS class. You can add the class wame_open to any HTML element, such as a link or a button. When a user clicks on that element, it will open the Joinchat WhatsApp window.

Example:

<a href="#" class="wame_open">Chat with us on WhatsApp</a>

You can add this code to your page using a custom HTML block in the WordPress editor or directly in a text widget.

2. For Custom Landing Pages

If you are building a custom landing page with your own HTML, CSS, and PHP code, the same CSS class method applies. You can integrate the wame_open class into your custom buttons or links to maintain functionality.

Important Considerations

  • Linking to a WhatsApp Group: Threads indicate that the ability to create a "Join Group" link is a feature found in the premium version of the plugin.
  • Adding Links in the CTA Message: Similarly, adding clickable hyperlinks within the CTA message window is not possible in the free version.

For the most current information on features, it is recommended to check the official Joinchat website or documentation.