Tagged: buddypress, page type functions
I had a great answer to a question which helped me out no end:
https://buddydev.com/support/forums/topic/how-to-hide-the-sidebar-properly-in-member-profile-view/
This answer introduced me to the function
bp_is_user()
which I assume is a boolean that returns True when on a user page. I’d like to have a go at adapting the solution to fit a few other areas. Is there a primer for other such functions?Thank you for posting.
It’s a good topic. I am interested in writing a detailed post about it as It may help many. There are a lot of useful conditional functions for BuddyPress. Please allow me 2-3 days to post and link to you.
Thank you
BrajeshAhh well, Just noticed that BuddyPress Codex does offer a list.
Please see here
https://codex.buddypress.org/developer/template-tag-reference/#is_-functionsHope that helps.
You must be logged in to reply to this topic.