[Plugin: Members List Plugin] filter by custom user meta
-
I’m wondering if there is a way to filter the list with a custom user meta field.
For the site I’m working on, I need a list of “expert” users. I have added a custom field to the edit user page to check that a user is an expert. Now I need a way to list only those users.
I’m not a developer so bear with me on this, but I tried to write this conditional statement in tern_wp_members.php (around line 900):
if ($curauth->expert == "No") {
$s = '<li style="diplay: none;">'."\n ";
} else {
$s = '- '."\n ";
}
Clearly I don’t know what I’m doing. Can anyone point me in the right direction?
- '."\n ";
- The topic ‘[Plugin: Members List Plugin] filter by custom user meta’ is closed to new replies.