WordPress.org

Ready to get started?Download WordPress

Forums

PHPFreeChat
Return instead of Echo Suggestion (1 post)

  1. alieneila
    Member
    Posted 4 years ago #

    In its current form, if I put the shortcode after content, it displays the chat before the content because it is using the echo method rather than the return method. In the main and chat file I'd like to suggest changing this line...

    $chat->printChat();
    to this...

    $output = $chat->printChat(true);
    return $output;

    http://wordpress.org/extend/plugins/phpfreechat/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic