Skip to:
Content
Pages
Categories
Search
Top
Bottom

Disable Feed RSS


  • jawas
    Participant

    @jawas

    Hi,

    I would like to remove the rss flow buddypress but not n y has the option to disable the RSS feed .

    how can I do ?

    thank you

Viewing 6 replies - 1 through 6 (of 6 total)

  • shanebp
    Moderator

    @shanebp

    Try:

    function jawas_bp_remove_feeds() {
    	remove_action('bp_actions', 'bp_activity_action_sitewide_feed');
    	remove_action('bp_actions', 'bp_activity_action_personal_feed');
    	remove_action('bp_actions', 'bp_activity_action_friends_feed');
    	remove_action('bp_actions', 'bp_activity_action_my_groups_feed');
    	remove_action('bp_actions', 'bp_activity_action_mentions_feed');
    	remove_action('bp_actions', 'bp_activity_action_favorites_feed');
    	remove_action('bp_actions', 'groups_action_group_feed');
    }
    add_action('init', 'jawas_bp_remove_feeds');

    jawas
    Participant

    @jawas

    thank you for that answer , but I put this code or ? php file and on what ?

    thank you in advance


    jawas
    Participant

    @jawas

    this function will be t it added in a future update?
    thank


    shanebp
    Moderator

    @shanebp

    You can put it in your theme/functions.php or in bp-custom.php.


    jawas
    Participant

    @jawas

    Thank you it works but I still have the button with the rss link (for now against it is empty)

    I would like to remove this button rss Site

    thank you


    bogski
    Participant

    @bogski

    Could you find the RSS button element and hide it using CSS?

    like

    #rss-button {
    display: none;
    }

    I imagine there would be a little bit more to it, but it seems the easiest way. I dont know which element you would need to select though.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Skip to toolbar