I am attempting to get the Quick Chat WordPress plugin to load only if you click on a button.
I'm currently using this code:
$('#chat').load('path to my wp template/quick-chat.php');
... where the file 'quick-chat.php' has a WordPress function that calls Quick Chat. When the file loads, however, it's not recognizing the function. It's acting like it was outside of WordPress.