Cyber Week Sale! Get $20 off GP Premium, $40 off our new Lifetime license, and 45% off license renewals/extensions! Learn more

[Resolved] Solution removing Activity RSS Feeds BuddyPress

Home Forums Support Solution removing Activity RSS Feeds BuddyPress

  • This topic has 2 replies, 2 voices, and was last updated 5 years ago by Tom.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #151570
    Uwe Pfeifer

    Hi!

    I need a solution to remove all RSS feeds but the blog one off of BuddyPress. This includes removing links, and the actual feeds.

    Can you help me?

    Thanks, freaky.

    #151571
    Uwe Pfeifer

    I now have:

    add_action( ‘do_feed’, ‘fb_disable_feed’, 1 );
    add_action( ‘do_feed_rdf’, ‘fb_disable_feed’, 1 );
    add_action( ‘do_feed_rss’, ‘fb_disable_feed’, 1 );
    add_action( ‘do_feed_rss2’, ‘fb_disable_feed’, 1 );
    add_action( ‘do_feed_atom’, ‘fb_disable_feed’, 1 );
    add_action( ‘bp_activity_sitewide_feed’, ‘fb_disable_feed’, 1 );
    add_action( ‘bp_activity_personal_feed’, ‘fb_disable_feed’, 1 );
    add_action( ‘bp_activity_friends_feed’, ‘fb_disable_feed’, 1 );
    add_action( ‘bp_activity_my_groups_feed’, ‘fb_disable_feed’, 1 );
    add_action( ‘bp_activity_mentions_feed’, ‘fb_disable_feed’, 1 );
    add_action( ‘bp_activity_favorites_feed’, ‘fb_disable_feed’, 1 );
    add_action( ‘groups_group_feed’, ‘fb_disable_feed’, 1 );

    function fb_disable_feed() {

    wp_die( __( ‘No feed available,please visit our homepage!‘ ) );

    }

    But it still displays the RSS links etc.?

    #151597
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    This is probably a question you have to ask the BuddyPress devs – I don’t have enough experience with it.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.