Make the single profile URL work with user nicename

This filter will make the Single Userlisting permalinks to use the user nicename instead of user_id.

1
2
3
4
/*
 * Make user listing work with the nicename.
 */
add_filter('wppb_userlisting_get_user_by_id', '__return_false');

After adding it go to Settings -> Permalinks and hit Save Changes.

Profile Builder Pro

Create beautiful front-end registration and profile forms with custom fields. Setup member directories, custom redirects, cutomize user emails & more using the all in one user management plugin.

Unlock PRO Features

Or download FREE version