Tagged: member type
Hello,
We have 2 member types: member-type1 and member-type2. We need to change the url slug based upon member types. I know I can change the members slug site-wide via define( ‘BP_MEMBERS_SLUG’, ‘members’ ) in the wp-config file. However that will change for all member types. Our goal is the following:
mysite.com/member-type1/username/
mysite.com/member-type2/username/add_action( ‘bp_setup_globals’, ‘bp_core_define_slugs’, 11 ); // Can I filter this to conditionally check for member types and change slugs?
Hi Leland,
Thank you for posting.I am sorry but that will be almost rewriting the url parser for BuddyPress.
In BuddyPress, the profile url structure is not very flexible. It will need a lot of work which does not seem worth the outcome to me.
The topic ‘ [Resolved] howto define member type url slugs without default "/members/"’ is closed to new replies.