Timeline for Select From wpdb - Author/User Directory page
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 2, 2013 at 17:48 | comment | added | 730wavy | Thanks I figured it out. There was a conflict caused by the plugin Profile Builder Pro. | |
Apr 2, 2013 at 17:47 | vote | accept | 730wavy | ||
Mar 17, 2013 at 0:19 | comment | added | 730wavy | Either Im not understanding correctly or get_users is just not working for me. Is there anyway to do modify my original code to only show users with specific custom fields? | |
Mar 5, 2013 at 7:47 | comment | added | 730wavy |
Thanks for the answer! However Im having some trouble getting things to work. Here's what I have - <?php $args = array( 'fields' => 'all_with_meta', 'meta_query' => array( array( 'key' => 'first_name' // the meta field (or key) we want to target ) )); $users = get_users($args); foreach ($users as $user) : ?> //my content <?php endforeach; // end of the users' profile 'loop' ?>
|
|
Mar 3, 2013 at 5:14 | history | answered | chrisguitarguy | CC BY-SA 3.0 |