BuddyBoss Home – Web › Support Forums › Themes › BuddyBoss theme › Remove RSS Feed?
Tagged: RSS Feed
- This topic has 6 replies, 3 contibutors, and was last updated 9 years, 8 months ago by Alyssa.
Question
January 18, 2015 at 12:41 pm #34841@legitballersIs there a way to remove the RSS feed and tab from the site’s Activity? This isn’t something I will be using.
Answers
January 18, 2015 at 3:09 pm #34853@alyssa-buddyboss
AlyssaParticipantAdd 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');
January 18, 2015 at 5:26 pm #34860@legitballersThat 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.
January 18, 2015 at 7:18 pm #34864@alyssa-buddyboss
AlyssaParticipant@legitballers or you could add this to your custom.css file:
.feed{display:none;}
February 9, 2015 at 4:58 pm #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?
February 9, 2015 at 7:32 pm #35728@legitballersSeems like a great feature Bosses. A little checkbox? RSS?
February 10, 2015 at 11:46 am #35761@alyssa-buddyboss
AlyssaParticipantI’ll send it to the dev to add to the todo list.
- The question ‘Remove RSS Feed?’ is closed to new replies.