bp funtion get bp_core_remove_nav_item() not working

Questions related to the configuration of Wordpress, themes, and security related questions/issues
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Tue Apr 15, 2014 9:59 pm
I'm a newbie and want to remove some tabs in the (sub)navigation of BP. I read about to put this functions.php or bp-custom.php
But I could not get it work. Is it possble GavickPro uses another mechanism to show the tabs the BP Groups page?
Could someone give me any help.
Thanks in advance.
BR,
Rolf
User avatar
Fresh Boarder

GK User
Wed Apr 16, 2014 7:12 am
Hi,

You should add your own functions into Theme/gavern/user.functions.php file. (BP functionality is not changed in our themes, so your function should works properly). If it's not working properly, please check other default themes, like twenty thirteen or default BP theme.
User avatar
Moderator

GK User
Thu Apr 17, 2014 1:50 pm
Thanks for the answer!

I tried to use bp_current_group_slug(), but it didn't work, at my version (BP v1.9.2)
Instead of the function I'm using now $bp->groups->current_group->slug.
This works :-)
So it has nothing to do with the theme at all.
User avatar
Fresh Boarder


cron