-
Author
Tagged: menu
-
April 3, 2014 at 19:07 #14263
sharmstr
ModeratorThis might be a buddypress issue. I didnt dig too far into it.
I moved the BuddyPress ‘friends’ menu item into the same menu location as members
Community
– Activity
– Friends
– Members
– GroupsIn doing so, both ‘Friends’ and ‘Members’ are highlighted in the menu when on the ‘friends’ page because (I think) ‘members’ is in the friends slug.
/members/xxxx/friends.
Correct me if I’m wrong, but all Kleo is doing is looking for ‘current-menu-item’ in the class being returned by the menu, then toggling the active state. If this is the case, then I’ll bug the BuddyPress team about changing their code so it uses ‘bp_is_current_action()’ instead of ‘bp_current_action()’ which is what I think they are doing.
If you know of way to fix this, in the Kleo code, please do tell 🙂
This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
April 9, 2014 at 01:51 #14608Abe
KeymasterHi there, That is related to Buddypress Menu walker I guess since it adds the class active to both items. You can bug them if you can 🙂
Thanks
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.April 9, 2014 at 03:17 #14622sharmstr
ModeratorWill do thanks!
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
-
AuthorPosts
The forum ‘KLEO’ is closed to new topics and replies.

