I found the following file
and placed your code in this file and it did work on the login page. however this code is not hiding content in the latest members or popular members widgets. so the user can still click on the profile link of the same gender.
i used female and male. also I am curious about how to stop members from seeing users before they login. I want to do a community front page like Facebook or similiar to entice people to join community to access user profiles.
- This reply was modified 2 years, 7 months ago by Mete.
I would assume your plugin addressed this situation. I am afraid to change codes in case of any updates.
I already created genders.
But when people login (male/female) they are seeing both genders.
What is the code I need to add ? my genders are male/female currently.
i saw a plugin BuddyPress Member Types Pro you are advertising, i thought this plugin would do the job but i don’t want to invest money without making sure thats what i need.