Chat Room Online user “BOX” Getting Merged with Post Texts
-
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
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’ );The page I need help with: [log in to see the link]
- The topic ‘Chat Room Online user “BOX” Getting Merged with Post Texts’ is closed to new replies.