Using CometChat site-wide

Please follow these steps AFTER you have installed CometChat at atleast one location.

Once you have installed CometChat on your site, there maybe certain static pages or other templates where you would like to show CometChat.

A typical scenario is when you have both JomSocial and WordPress installed on your site. In this case, it is advisable to install CometChat for JomSocial. Then to add CometChat to your WordPress site, simply perform the following step.

Add the CometChat HTML code to the WordPress site template (or any other static HTML pages):

<link type="text/css" rel="stylesheet" media="all" href="/cometchat/cometchatcss.php" /> 
<script type="text/javascript" src="/cometchat/cometchatjs.php" charset="utf-8"></script>

That’s all! Whenever your user logs into JomSocial, they will be able to use CometChat in your WordPress portion of the site as well.

Not finding what you need?

The CometChat team is here to help!