my_custom_ids working and not working
-
Hi guys 🙂
My users have many custom fields in their profile.
I’m trying to create a member page, with different loops, because I need to split them in different groups with different criteria.I’m using the my_custom_ids function, but I’m getting crazy…
<?php if ( bp_has_members( my_custom_ids( 'Nome', 'testB' ) ) ) : ?>
is working. The loop displays only one user, named “testB”<?php if ( bp_has_members( my_custom_ids( 'Nickname', 'web9' ) ) ) : ?>
is working. The loop displays only one user, with the nickname “web9”<?php if ( bp_has_members( my_custom_ids( ‘Role’, ‘iscritto’ ) ) ) : ?>
is NOT working. Also Administrators are displayed.
This is not the only problem. It happens also with other fields, but I can’t understand why…
- You must be logged in to reply to this topic.