Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Add custom xprofile links

@barodscheff

Participant

Thank you for the answer but my problem is the url. I have no idea how to generate the custom url.

If I use the build in function (xprofile_links) in members area and click e.g. on ‘Soccer’ I will get a new page with all members who also have soccer as their sport. The url is like ‘my-url/members/?s=Soccer’. But I need two filters. One for ‘sport’ and one for ‘gender. Something like ‘my-url/members/?s=Soccer&s=male’ is not working.

Maybe you know the right url structure?

Anyway I think this in not the best solution. Is there a way to use the xprofile_link function which is build in? I removed it in the members area with

function remove_xprofile_links() {
   remove_filter( 'bp_get_the_profile_field_value', 'xprofile_filter_link_profile_data', 9, 2 );
}
add_action( 'bp_init', 'remove_xprofile_links' );	

But I would like to apply it on my landing page. Is that possible?

Skip to toolbar