Find Answers and Get Support › Forums › Gwangi – PRO Multi-Purpose Membership, Social Network & BuddyPress Community Theme › Popular Features › Member Swap › Male/Female member swap
- This topic has 5 replies, 2 voices, and was last updated 6 years, 1 month ago by kam.
-
AuthorPosts
-
kamParticipant@harryshapes
- 40 Topics
- 139 Posts
Hi,
I am using the code snippet provided to create 2 pages of gender member swap.
1. Female member swap
2. Male member swapThe code I am using for male is:
[bps_directory template=”members/index-swap” field_35=”male”]
I use the same code and change male to female for female member swap.. is this correct?
When I test on each member swap page I created it doesn’t seem to show just the specific gender swaps.. instead it just shows all members still?
What am I doing wrong?
Please advise
Thanks
July 17, 2018 at 07:27 #1247@themosaurus- 1 Topics
- 1675 Posts
Hi Kam,
Usually, there’s really not more to it. (Please review the screenshot to seen how we did on our demo.)
Can you please make sure:
– The field ID is correct on your instance as it might differ from the field from our tutorial?
– The first letter is uppercase (Male or Female) if that what’s displayed on your website. BuddyPress compares and stores text field values by keeping track of their cases. So please make sure the values compared are exactly the same.Regards
July 17, 2018 at 09:14 #1256@themosaurus- 1 Topics
- 1675 Posts
Hi Kam,
Sorry, I should have provided you with this info too.
You can find the field_id parameter in your admin URL when editing the field.Just navigate to “Users > Profile Fields”, select your field and click Edit. Please check the URL and look for the
&field_id=
We hope this helps.
Best,
July 17, 2018 at 14:02 #1261 -
AuthorPosts
The topic ‘Male/Female member swap’ is closed to new replies.