6 years, 3 months ago
In the default profile-loop, field data is linked so that you can click on “Chicago” and every member that lists “Chicago” as her location will be listed. However, linking is gone when I use the following to extract data from specific fields:
How do I retain the normal field data linking?
It might be a better idea to use the xprofile data template loop https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-profile-data-loop-bp_has_profile/ and put some IFs in so it only uses the fields you want to see?
The main problem is I’ve moved member profile data under left-menu, using inner-tube for activity, groups and friends. I’d need to move the following and probably reformat the field headers.
<?php locate_template( array( 'profile/profile-loop.php' ), true ) ?>
A secondary question would be placement of the if statement. I’m guessing preceding this line in profile-loop.php:
(By the way, codex.buddypress.org is still inaccessible even after multiple screen refreshes.)
same question from here.
any solution how to link this
to a member search like the loop does it?
Follow BuddyPress on Twitter •
Contact Us •
Terms of Service