Filter by User Custom Field
-
So I have few extra fields for my users to fill out, and now I would like to build a page that filter by these fields and am having issues. My fields are:
update_usermeta( $user_id, 'location', $_POST['location'] ); update_usermeta( $user_id, 'program', $_POST['program'] );
I want to filter all my authors that have a matching field of “Rome, Italy”, I can get all the authors to show and then all the locations to show but how do I get it to filter. Here is my beginning code:
[Code moderated as per the Forum Rules. Please use the pastebin]
Viewing 15 replies - 1 through 15 (of 15 total)
Viewing 15 replies - 1 through 15 (of 15 total)
- The topic ‘Filter by User Custom Field’ is closed to new replies.