Forum Replies Created
-
In reply to: bp-custom.php in folder?
Copy, and at the same time leave the original buddypress folder under plugins?
In reply to: bp-custom.php in folder?Thanks, I have read the page about Template Hierarchy, can see this is very complex, at least to me.
I looked to the buddypress directory which looks different:
wp-content > plugins < buddypress > bp-members > ?
members_loop.php does not exist, is this aam I in the wrong directory?
I have tried to ad a buddypress.php file to both my theme and child theme directory, but this will prevent my site from loading?
In reply to: bp-custom.php in folder?I am looking at the thread “Adding profile fields to members directory”
https://buddypress.org/support/topic/adding-profile-fields-to-members-directory/You wrote:
There’s 2 ways of doing this.
1. You could modify the members-loop template (see the BuddyPress Template Hierarchy for details on how that’s done). See here. You would just add bp_member_profile_data( ‘field=the field name here’ ); to the template.
2. Add this to your theme’s functions.php file:
function add_info_to_members_loop() {
echo bp_get_member_profile_data( ‘field=the field name here’ );
}
add_action( ‘bp_directory_members_item’, ‘add_info_to_members_loop’ );Which template are you referring to in 1.?
can both code snippets be placed either in functions.php or bp-custom.php?In reply to: Text boxMoved to troubleshooting
In reply to: How to make a range searchResolved
In reply to: BuddyPress advanced user Search backend settingsThanks.
So there are no search function in BuddyPress as stand alone plug in?In reply to: BuddyPress advanced user Search backend settingsThanks for your reply, it doesn’t say, but it is probably the case.
Regards