How do I change/remove page title?

Hi to all at the Brilliant RTCAMP … quick Q, how do i change or remove the page title as seen in attached screenshot - I would like to rename Site-Wide Activity to News Feed?

Hello Gregmc,

You can add following lines of code in functions.php in your child theme.

// Change activity title
add_filter( 'bp_get_directory_title', 'rtp_change_activity_title', 999 );

function rtp_change_activity_title( $title ) {
    if ( $title == __( 'Site-Wide Activity', 'InspireBook' ) ) {
        $title = __( 'News Feed', 'InspireBook' );
    return $title;

Let me know if this helps you. :smile:

Worked like a dream - Thank YOU !!! :slight_smile:

You are welcome :smile:

Perfect!.. thank you also!

You are welcome :slight_smile: