Methods to create chat rooms in WordPress in your customers

Recently, one of our readers asked if it was possible to create chat rooms on your WordPress site for your users.

In a chat room hosted on your website, your visitors can chat with each other without having to install a third-party chat client such as Slack or Discord.

In this article we will show you how to create a chat room in WordPress.

Why add a chat room in WordPress?

If you run a small membership website or online forum, you may want to add an instant messaging chat room for your users.

Usually you can use third party services like Slack, WhatsApp, Facebook groups, Discord, etc. The downside, however, is that all communication takes place outside of your website.

An on-site chat room can bring your small community to life and allow users to talk to each other without leaving your website.

Note: These chat rooms are intended for a small community of users. If you are looking for live chat for customer support, check out our list of the best live chat support software.

Let's see how you can easily add a chat room to your WordPress site.

Adding chat rooms in WordPress

First, you need to install and activate the Simple Ajax Chat plugin. For more information, see our guide on installing a WordPress plugin.

Once you've activated the plugin, just go to Settings »Simple Ajax chat Page to set up your chat room.

You need to go to the "Plugin Settings" section and change the name of your chat under "General Settings". In this example we have named it "My Chat Room".

Default name of the chat room

Under the general settings there are a number of options that you can use to customize your chat room.

For example, you can require users to be logged in to be able to use the chat function. Or they can use their registered username as their screen name and much more.

You can also customize the look and feel of your chat room and even manage blocked words and phrases if you want.

How to view your chat room in WordPress

The next step is to create the page that you want your chat room to live on. Scroll down on the settings page to "Shortcode & Template Tag" Area and click to open it.

You will see the shortcode that you need to copy:

Copy the short code of your chat room

Next go to Pages »Add New in your WordPress administrator and name your page.

Create your chat room page

After that you can add the shortcode "[sac_happens]" to display your chat room.

To add the shortcode, you must first click on the circle with the plus sign in the upper left corner of the WordPress block editor. Next, type in "short" and you will see the shortcode option.

Add the WordPress shortcode block

Click the shortcode button to add it to your page, then paste the "[sac_happens]" shortcode into this area.

Paste the shortcode into the page

Now you can click the Publish button to save your changes. After that, go to your page to see your live chat room in action. This is what it looked like on our test page.

Chat room posted on page

We hope this article has helped you learn how to create chat rooms for users with WordPress. You may also want to check out our guide on the best chatbot software and how to add web push notifications in WordPress to connect with your visitors after they leave your website.

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

Comments are closed.