Hi, If your BuddyPress Activity stream is showing shortcodes in the articles you publish, then you can remove the codes by adding this snippet to your child-theme/functions.php

COPY CODE
add_filter( 'bp_get_activity_content_body','kleo_bp_activity_filter', 1 );
function kleo_bp_activity_filter( $content ) {
    $content = preg_replace("/\[(.*?)(?:(\/))?\](?:(.+?)\[\/\2\])?/s",'', $content);
    return $content;
}

The code above will remove all the shortcodes found in the post and leave only text and images.

Example of activity stream:
Screen Shot 2016-04-20 at 15.54.11

Log in with your credentials

Forgot your details?