Determine Profile Template File by Member Type
Looking at this page I can see how to style members profile pages. However, this information is obviously a little bit dated. I’m using 2.2 beta and specifically using ‘member_types’ and I’m wondering if it’s possible to determine which buddypress template file is used by the member type.
For example I have 3 member types (user/bar/admin) and I want the Users to have a different profile than Bars because they have entirely different functionality. I suppose in
/buddypress/members/single/index.phpI could filter my html output by running a switch on
bp_get_member_type(/*current user ID*/)but I was hoping there was a more elegant solution.
- The topic ‘Determine Profile Template File by Member Type’ is closed to new replies.