WPBeginner

Beginner's Guide for WordPress

  • Blog
    • Beginners Guide
    • News
    • Opinion
    • Showcase
    • Themes
    • Tutorials
    • WordPress Plugins
  • Start Here
    • How to Start a Blog
    • Create a Website
    • Start an Online Store
    • Best Website Builder
    • Email Marketing
    • WordPress Hosting
    • Business Name Ideas
  • Deals
    • Bluehost Coupon
    • SiteGround Coupon
    • WP Engine Coupon
    • HostGator Coupon
    • Domain.com Coupon
    • Constant Contact
    • View All Deals »
  • Glossary
  • Videos
  • Products
X
☰
Beginner's Guide for WordPress / Start your WordPress Blog in minutes
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
Recommended
WordPress Plugins
View all Guides

WPBeginner» Blog» Plugins» How to Create Chat Rooms in WordPress for Your Users

How to Create Chat Rooms in WordPress for Your Users

Last updated on December 19th, 2020 by Editorial Staff
150 Shares
Share
Tweet
Share
Pin
Free WordPress Video Tutorials on YouTube by WPBeginner
How to Create Chat Rooms in WordPress for Your Users

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

A chat room hosted on your site will allows your visitors to chat with each other without needing to install a third-party chat client like Slack or Discord.

In this article, we’ll show you how to create a chat room in WordPress.

Adding chat rooms to a WordPress website

Why Add a Chat Room in WordPress?

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

Normally, you can use third-party services like Slack, WhatsApp, Facebook groups, Discord, etc. But the downside is that all the communication will happen outside your website.

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

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

That being said, let’s take a look at how to easily add a chat room to your WordPress site.

Adding Chat Rooms in WordPress

First, you’ll need to install and activate the Simple Ajax Chat plugin. For more details, see our guide on how to install a WordPress plugin.

Once you’ve activated the plugin, simply go to the 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.’ We called it ‘My Chat Room’ for this example.

Default chat room name

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

For instance, you can require users to be logged in to use the chat feature. Or they can use their logged-in username as their chat name, and more.

You can also customize the appearance of your chat room and even manage banned words and phrases if you want to.

How to Display Your Chat Room in WordPress

The next step is to create the page where you want your chat room to live. On the settings page, scroll down to the “Shortcode & Template Tag” area and click to open it.

You’ll see the shortcode that you need to copy:

Copy your chat room short code

Next, go to Pages » Add New in your WordPress admin, 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, first you’ll need to click the circle with the ‘+’ sign in the upper left corner of the WordPress block editor. Next, type in ‘short’, and you’ll see the shortcode option.

Add WordPress shortcode block

Click the shortcode button to add it to your page and then paste the shortcode ‘[sac_happens]’ into that area.

Insert shortcode into page

Now you can click the Publish button to save your changes. After that, go ahed and check out your page to see your live chat room in action. This is how it looked on our test site.

Chat room published on page

We hope this article helped you learn how to create chat rooms using WordPress for users. You might also want to see 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 site.

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

150 Shares
Share
Tweet
Share
Pin
Popular on WPBeginner Right Now!
  • Revealed: Why Building an Email List is so Important Today (6 Reasons)

    Revealed: Why Building an Email List is so Important Today (6 Reasons)

  • How to Start Your Own Podcast (Step by Step)

    How to Start Your Own Podcast (Step by Step)

  • How to Fix the Error Establishing a Database Connection in WordPress

    How to Fix the Error Establishing a Database Connection in WordPress

  • Checklist

    Checklist: 15 Things You MUST DO Before Changing WordPress Themes

About the Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi. Trusted by over 1.3 million readers worldwide.

The Ultimate WordPress Toolkit

18 Comments

Leave a Reply
  1. Alexi says:
    Dec 20, 2020 at 10:28 am

    Wow, great article!

    Reply
    • WPBeginner Support says:
      Dec 21, 2020 at 11:08 am

      Thank you :)

      Reply
  2. Maja says:
    Dec 31, 2018 at 2:37 am

    It’s a pity that you can not embed room :( on any page, e.g. shordcode, widget etc.

    Reply
    • WPBeginner Support says:
      Dec 31, 2018 at 2:25 pm

      We will be sure to look into alternatives with that option for future updates :)

      Reply
  3. Ahshan says:
    Mar 17, 2017 at 10:35 am

    a how can i delete chatbox pragraph

    Reply
  4. Tijjani Isah says:
    Dec 14, 2016 at 5:27 am

    Really Appreciate It

    Reply
  5. Ahmed Barwari says:
    Dec 10, 2016 at 10:22 am

    I installed and activated the plugin but its not working.

    403 Forbidden
    The website’s configuration prevents you from accessing this page.

    Reply
  6. Saminu Eedris says:
    Dec 2, 2016 at 11:39 am

    This is great.

    I just got a job for an online bar, not really and online bar but there would be a platform where the visitors can interact with some of the brand ambassadors.

    I think I will try out this plugin to see how it works.

    Thanks,
    Saminu!

    Reply
  7. asad ali says:
    Aug 19, 2015 at 6:34 pm

    Hi

    i have chat room site and i want to use wordpress chat room their is any plugin that i can use on my blog right now i am using someone else chat room scrpit but i want to add mine chat room please suggest if their is any good chat room thanks

    Reply
  8. anand kjha says:
    Jan 29, 2014 at 2:54 am

    how many users can use the facility of chat room at a time?

    Reply
  9. Giorgios says:
    Oct 5, 2013 at 11:28 am

    I used that plugin on my website – it works fine but is too simple. Mainly no file sharing feature so I switched to Chatwee. It suits me better.

    Reply
  10. HappyMoon says:
    Oct 15, 2012 at 9:05 am

    Hello. How do I create something like the top of your site, such as HOME »BLOG» WORDPRESS PLUGINS »HOW TO CREATE CHAT ROOMS …

    Reply
    • Editorial Staff says:
      Oct 15, 2012 at 11:52 am

      Its a plugin called Breadcrumb NavXT. You can see more about it on our Blueprint page.

      https://www.wpbeginner.com/blueprint/

      Reply
      • HappyMoon says:
        Oct 21, 2012 at 4:50 pm

        Thank you so much

        Reply
  11. Khürt L. Williams says:
    Oct 14, 2012 at 9:48 am

    I’m always looking for way to increase the use of our organization’s WordPress install. We have a bulletin board running on another system but I want to centralize systems. Perhaps bbpress with this plugin is the way forward.

    Reply
  12. ivica says:
    Oct 9, 2012 at 12:49 pm

    Did you see this WP chat plugin? One of the best, if not THE best:

    http://wordpress.org/extend/plugins/quick-chat/

    Made in Croatia :-)

    Ivica

    Reply
    • Editorial Staff says:
      Oct 10, 2012 at 10:12 am

      Didn’t know about that one. Will have to take a look at it.

      Reply
    • Thomas says:
      Dec 22, 2012 at 4:27 am

      Have to agree with this. Looked into both and the one you posted is way better! I’ve been looking for something JUST like this for my site at NE1UP.com so I really appreciate it!

      No worries, @WPBeginner, still love your site and it’s so beautiful. ;) Wouldn’t have figured this out if you hadn’t posted about WordPress chat in the first place!

      Thanks guys!

      Reply

Leave a Reply Cancel reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

Over 1,320,000+ Readers

Get fresh content from WPBeginner

Featured WordPress Plugin
OptinMonster
OptinMonster
Convert website visitors into email subscribers. Learn More »
How to Start a Blog How to Start a Blog
I need help with ...
Starting a
Blog
WordPress
Performance
WordPress
Security
WordPress
SEO
WordPress
Errors
Building an
Online Store
Useful WordPress Guides
    • 7 Best WordPress Backup Plugins Compared (Pros and Cons)
    • How to Fix the Error Establishing a Database Connection in WordPress
    • Why You Need a CDN for your WordPress Blog? [Infographic]
    • 30 Legit Ways to Make Money Online Blogging with WordPress
    • Self Hosted WordPress.org vs. Free WordPress.com [Infograph]
    • Free Recording: WordPress Workshop for Beginners
    • 24 Must Have WordPress Plugins for Business Websites
    • How to Properly Move Your Blog from WordPress.com to WordPress.org
    • 5 Best Contact Form Plugins for WordPress Compared
    • Which is the Best WordPress Popup Plugin? (Comparison)
    • Best WooCommerce Hosting in 2021 (Comparison)
    • How to Fix the Internal Server Error in WordPress
    • How to Install WordPress - Complete WordPress Installation Tutorial
    • Why You Should Start Building an Email List Right Away
    • How to Properly Move WordPress to a New Domain Without Losing SEO
    • How to Choose the Best WordPress Hosting for Your Website
    • How to Choose the Best Blogging Platform (Comparison)
    • WordPress Tutorials - 200+ Step by Step WordPress Tutorials
    • 5 Best WordPress Ecommerce Plugins Compared
    • 5 Best WordPress Membership Plugins (Compared)
    • 7 Best Email Marketing Services for Small Business (2021)
    • How to Choose the Best Domain Registrar (Compared)
    • The Truth About Shared WordPress Web Hosting
    • When Do You Really Need Managed WordPress Hosting?
    • 5 Best Drag and Drop WordPress Page Builders Compared
    • How to Switch from Blogger to WordPress without Losing Google Rankings
    • How to Properly Switch From Wix to WordPress (Step by Step)
    • How to Properly Move from Weebly to WordPress (Step by Step)
    • Do You Really Need a VPS? Best WordPress VPS Hosting Compared
    • How to Properly Move from Squarespace to WordPress
    • How to Register a Domain Name (+ tip to get it for FREE)
    • HostGator Review - An Honest Look at Speed & Uptime (2021)
    • SiteGround Reviews from 4464 Users & Our Experts (2021)
    • Bluehost Review from Real Users + Performance Stats (2021)
    • How Much Does It Really Cost to Build a WordPress Website?
    • How to Create an Email Newsletter the RIGHT WAY (Step by Step)
    • Free Business Name Generator (A.I Powered)
    • How to Create a Free Business Email Address in 5 Minutes (Step by Step)
    • How to Install Google Analytics in WordPress for Beginners
    • How to Move WordPress to a New Host or Server With No Downtime
    • Why is WordPress Free? What are the Costs? What is the Catch?
    • How to Make a Website in 2021 – Step by Step Guide
Deals & Coupons (view all)
LiveChat logo
LiveChat Inc Coupon
Get a 30 day free trial and 30% OFF LiveChat, one of the best live chat service providers for WordPress users.
LearnDash
LearnDash Coupon
Get the lowest price on the best learning management system (LMS) plugin for WordPress.
Featured In
About WPBeginner®

WPBeginner is a free WordPress resource site for Beginners. WPBeginner was founded in July 2009 by Syed Balkhi. The main goal of this site is to provide quality tips, tricks, hacks, and other WordPress resources that allows WordPress beginners to improve their site(s).

Join our team: We are Hiring!

Site Links
  • About Us
  • Contact Us
  • FTC Disclosure
  • Privacy Policy
  • Terms of Service
  • Free Blog Setup
  • Free Business Tools
  • Growth Fund
Our Sites
  • OptinMonster
  • MonsterInsights
  • WPForms
  • SeedProd
  • Nameboy
  • RafflePress
  • Smash Balloon
  • AIOSEO

Copyright © 2009 - 2021 WPBeginner LLC. All Rights Reserved. WPBeginner® is a registered trademark.

Managed by Awesome Motive | WordPress hosting by SiteGround | WordPress Security by Sucuri.