1. Home
  2. Sweetdate
  3. Developer

Chapter: Developer

Snippets, actions, filters, examples of changing theme using code

How to add a Populated Country List XPROFILE

Hello everyone, this topic is for those who want to have an already populated country list to user xprofile fields instead of adding one by one. Just edit the child theme file “functions.php” and paste the following code: /* If you are using BP 2.1+, this will insert a Country selectbox. Add the function to bp-custom.php and then visit …/wp-admin/users.php?page=bp-profile-setup […]