BuddyBoss Home – Web › Support Forums › Themes › Boss. theme › Remove feed/RSS tab and user icon colour
- This topic has 7 replies, 4 contibutors, and was last updated 9 years, 3 months ago by Anonymous.
Question
August 12, 2015 at 12:12 am #44246@adebowalepro1. Please how do i remove the RSS feed tab and also disable feeds totally.
2. Please how do i make each user profile icon have different colour like i saw on your demo. attached is a picture to explain. at the sidebar where it says WHO TO FOLLOW i noticed that first 2 users profile image border colour is green, next red and then yellow. how do i get that done and also i cant find follow on my site yet..Answers
August 12, 2015 at 1:49 am #44250@
AnonymousHello @adebowalepro
To remove the RSS feed tab you have to edit the activity template. Please follow these steps to edit activity template:
1- Go to your theme folder : boss\buddypress\activity\index.php
2- Copy index.php to your child theme at similar path like this boss-child\buddypress\activity\
3- Remove the code at line no. 72<li class="feed"><a href="<?php bp_sitewide_activity_feed_link(); ?>" title="<?php esc_attr_e( 'RSS Feed', 'boss' ); ?>"><?php _e( 'RSS', 'boss' ); ?></a></li>
Also add following codes 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');
Members avatar have same uniform color border.
Regards
August 15, 2015 at 12:37 am #44490@adebowaleproPlease how can i achieve comments under post. allowing users to be able to comments on someones post or update or upload. attached image will explain better.
Thanks.
August 15, 2015 at 8:28 am #44510@alyssa-buddyboss
AlyssaParticipant@adebowalepro the comment section is closed by default, a user simply needs to click on the comment button to comment on the activity.
August 17, 2015 at 9:30 pm #44618@ubrandonHey Varun – none of that worked for me for some reason?
Removed it through CSS instead:
#subnav li.feed {display:none;}August 18, 2015 at 10:29 am #44636@
Anonymoushey @ubrandon,
That will be good, do you need additional help to for RSS feed icon or its okay for you now ?
Regards
Varun DubeyAugust 18, 2015 at 10:56 am #44637@ubrandonStill shows on mobile, need to find that tag as well I spose. Thanks
August 18, 2015 at 1:25 pm #44649@
Anonymousremoving following codes from boss\buddypress\activity\index.php
it works fine with mobile and desktop both<li class="feed"><a href="<?php bp_sitewide_activity_feed_link(); ?>" title="<?php esc_attr_e( 'RSS Feed', 'boss' ); ?>"><?php _e( 'RSS', 'boss' ); ?></a></li>
not sure why it is not working with you.
Regards
Varun Dubey
- The question ‘Remove feed/RSS tab and user icon colour’ is closed to new replies.