Target “admins” with different styles on the front end [closed]

There are a couple of ways to do this:

  1. With template overloads

Overload these files:

\bp-templates\bp-legacy\buddypress\members\single\profile\edit.php

\bp-templates\bp-legacy\buddypress\members\single\profile\change-avatar

At the top of the overload, do a current_user_can() check and then do or don’t show the rest of the template.

  1. Filter the button creation based on a current_user_can() check. See the filter in bp_get_displayed_user_nav() in ‘bp-members\bp-members-template.php’