Quick Chat
How do you embed this to the page? (5 posts)

  1. sunny017
    Posted 1 year ago #

    So I installed quick chat, but now what? how do i embed it on to my page?!?!?! can't believe something so simple appears so difficult to do!±


  2. sunny017
    Posted 1 year ago #

    i want to add this on my main homepage not as a side widget!

  3. gklue
    Posted 1 year ago #

    You can remove the widget from the sidebar by putting the following code in your functions.php file in the directory of the theme you're using:

    add_filter('widget_display_callback', function($instance, $widget, $args){
    	if ( 'quick-chat-widget' == $widget->id_base ) return false;
    	return $instance;
    }, 0, 3);

    If you're using the twentyfourteen theme, you would probaby edit the file that is located here:


    This code fragment registers a widget_display_callback, passing a function in-line. The 0 passed at the end of the add_filter call makes this method run early in the list of widget_display_callback hooks (i.e. it probably runs first). If the specified function attached to this hook (the "in-line" function) returns false, the widget is not rendered.

    If we did not check the widget, none of the plugins would be rendered (things like recent posts, and lists of posts in general for example).

  4. Halo Diehard
    Posted 1 year ago #

    If you don't want it as a sidebar, you simply don't put Quick Chat in your sidebar. All of that code above is unnecessary.

    To put it in a page is very simple, and is explained in the FAQ, clearly listed in the tab at the top of the Quick Chat plugin page:


    You can do that by placing [quick-chat] (including [] brackets) inside post or page where you want your chat to appear.

    There are also quite a number of options you can choose with this code, which are listed in the FAQ.

  5. gklue
    Posted 1 year ago #


    Thanks for the correction. The less code we need in the functions.php, the better.

    It was probably my inexperience with WordPress.

    We love this chat client at our site. We're still learning about it, but my admins and users like it.

    I may add some custom code to it at some point for features our crew would like added. The code is pretty straight forward and well organized (how I missed the simplicity of your correction above, I don't know).

    Thanks again.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Quick Chat
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic