add_action(‘wp_footer’,’tn_chat’);

function tn_chat(){?>