Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Question

    #34841
    @legitballers

    Is there a way to remove the RSS feed and tab from the site's Activity? This isn't something I will be using.

    Answers

    #34853

    Deepak BuddyBoss
    Participant
    @deepak

    Add this to your child theme functions.php file:

    function bp_remove_feeds() {
            remove_action( 'wp', 'bp_activity_action_sitewide_feed', 3 );
            remove_action( 'wp', 'bp_activity_action_personal_feed', 3 );
            remove_action( 'wp', 'bp_activity_action_friends_feed', 3 );
            remove_action( 'wp', 'bp_activity_action_my_groups_feed', 3 );
            remove_action( 'wp', 'bp_activity_action_mentions_feed', 3 );
            remove_action( 'wp', 'bp_activity_action_favorites_feed', 3 );
            remove_action( 'wp', 'groups_action_group_feed', 3 );
    }
    add_action('init', 'bp_remove_feeds');
    #34860
    @legitballers

    That helps, I think, it removes the functionality, yes? The tab is still there, so

    It looks like commenting out the buddypress/activity/index.php

    Line 67:
    <li class=”feed”>” title=”<?php esc_attr_e( ‘RSS Feed', ‘buddyboss' ); ?>”><?php _e( ‘RSS', ‘buddyboss' ); ?>

    Removes the tab. Is this the extent of the RSS feature? I haven't seen it anywhere else on the site?

    Any feedback appreciated.

    #34864

    Deepak BuddyBoss
    Participant
    @deepak

    @legitballers or you could add this to your custom.css file:
    .feed{display:none;}

    #35710
    @flick-chicks

    @tjchester I tried the .feed{display:none;} code in the custom.css file and the RSS tab is still showing up.

    I also put the code above (from @cwilliams) in the functions.php file.

    Any more thoughts on how to remove the RSS tab?

    #35728
    @legitballers

    Seems like a great feature Bosses. A little checkbox? RSS?

    #35761

    Deepak BuddyBoss
    Participant
    @deepak

    I'll send it to the dev to add to the todo list.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The question ‘Remove RSS Feed?’ is closed to new replies.