• Resolved darksilence

    (@darksilence1990)


    Dear Wise Chat,

    I am using WP USER Front END POSTING, When I use WP USER FRONT END RICH TEXT EDITOR it destroys your Chat ROOM, seprates text area from inline users, and places things in random places! IT HAPPENS DUE TO “left allign option in RICH TEXT AREA!!”

    How do I seperate chat ROOM from POST TEXT,

    Or How to make the function execute little bit later

    see the following image

    WP USER FIX THIS

    CODE RESPONSIBLE FOR AUTO CHAT:

    // code wisechat//
    function add_wise_chat_to_posts( $content ) {
    global $post;
    if( ! $post instanceof WP_Post ) return $content;

    switch( $post->post_type ) {
    case ‘post’:
    return $content . ‘[wise-chat channel=”Channel for post #’.$post->ID.'”]’;
    default:
    return $content;
    }
    }
    add_filter( ‘the_content’, ‘add_wise_chat_to_posts’ );

    • This topic was modified 6 years, 5 months ago by darksilence.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Marcin

    (@marcinlawrowski)

    Hello @darksilence1990

    There is an issue with CSS styles on your page. Please replace the line:

    return $content . ‘[wise-chat channel=”Channel for post #’.$post->ID.'”]’;

    with:

    return $content . ‘<br style=”clear:both”> [wise-chat channel=”Channel for post #’.$post->ID.'”]’;

    This should fix the problem.

    Also – please send any support questions related to Wise Chat Pro directly through our contact form on https://kaine.pl This forum is for free Wise Chat only.

    Thank you and have a nice day.
    Marcin

Viewing 1 replies (of 1 total)
  • The topic ‘Chat Room Online user “BOX” Getting Merged with Post Texts’ is closed to new replies.