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:
- The topic ‘Filter by User Custom Field’ is closed to new replies.