I'm running a WordPress site. Trying to embed chat in a page. I've added
<?php
require_once "src/phpfreechat.class.php"; // adjust to your own path $params["serverid"] = md5(__FILE__); // used to identify the chat $chat = new phpFreeChat($params);
?>
At the top and below in the page
<?php $chat->printChat(); ?>
When I bring up the page I get
->printChat(); ?>
Echoed on the page and no chat. Any ideas?