[users…] only from new custom field
-
Eliot, please help.
I have plugin WP CRM which give me option to add some new custom fields for users.
I want to show part of my users on two list, but not all of them, only users with new option added by CRM “user_type_option_wolontariusz”.
So now I have:
<h2>LIST 1</h2> [users orderby=registered include=1,8,9,10,12,18] (...some data working well...) [/users] <h2>LIST 2</h2> [users user_field=user_type_option_wolontariusz value=on?orderby=registered exclude=1,8,9,10,12,18] (...some data working well...) [/users]
List 2 is not working at all – its show always nothing or all left users, ignoring this filter..
I tried:
[users field=user_type_option_wolontariusz
[users search=wolontariusz
[users include=field value=user_type_option_wolontariusz
[users value=user_type_option_wolontariusz
[users user_value=user_type_option_wolontariusz
[users user_field=user_type_option_wolontariusz
[users user_type_option_wolontariusz=on
[users user_type_option_wolontariusz
[users user_type=user_type_option_wolontariusz
[users user_type=wolontariusz
and nothing…here is print screen from database:
https://zespol.oop.org.pl/wp-content/uploads/sites/5/2015/11/users_mysql.jpg
- The topic ‘[users…] only from new custom field’ is closed to new replies.