Skip to:
Content
Pages
Categories
Search
Top
Bottom

Determine Profile Template File by Member Type


  • CaldwellYSR
    Participant

    @caldwellysr

    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.php I 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.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Determine Profile Template File by Member Type’ is closed to new replies.
Skip to toolbar