Skip to:
Content
Pages
Categories
Search
Top
Bottom

Remove RSS Feed


  • galder56
    Participant

    @galder56

    Hi–

    Searched all over and tried several options until I found this one that removed the RSS feed for me.

    Hope this helps anyone who is looking to do this.

    I have a child theme for Twenty Fourteen so in the functions.php I put this:

    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');

    In my styles.css I put this:

    .feed{display:none;}

    What you need to do before you use is clear your browser cache`. Then test.
    It worked for me and I hope it works for anyone else looking for this solution. 🙂

  • The topic ‘Remove RSS Feed’ is closed to new replies.
Skip to toolbar