Adds shortcode to show content based on Buddypress profile field
Suppose we have “Gender” profile field for “Male” and “Female” profle field values .
Here’s how we can use the shortcode :
Note that the shortcode has two parameter :
profile_field where you put the profile field
profile_field_value where you put the profile field value .
NOTE : Profile field value and profile field names are case sensitive