fbpx
  1. Home
  2. Buddyapp
  3. Video tutorials

Chapter: Video tutorials

How to setup and import demo pages, How to setup BuddyPress, etc.

Show profile fields in the members directory

Code ´╗┐Source: https://pastebin.com/raw/zpg7gwNr This snippet should be added to wp-content/themes/kleo-child/functions.php Note : You will have to adapt this function for your needs by changing the name of the fields Location and Specialization from the example shown. Field names are case sensitive and must match exactly. Examples: $location = bp_get_member_profile_data(‘field=Location’); $specialization = bp_get_member_profile_data(‘field=Specialization’); field=Location represents name of the field that we […]