-
Author
-
April 15, 2018 at 02:34 #194797Keith54Participant
Hi,
How can I change / modify the way the member search results display?
I want to have it a certain way, showing specific text and a particular spacing. I’ve tried to search for it and this was a huge part of why I got this particular theme. I’m not a developer but I can do basic code if I must but a big preference on the easy way.
April 15, 2018 at 02:48 #194801Kieran_SQModeratorHi,
If you wish to make structural changes to the content you will need to be using the SweetDate Child theme. If you are already running the SweetDate Child theme you can copy the below file from the parent theme to the Child copying the folder structure if required.
Copy from
/wp-content/themes/sweetdate/buddypress/members/members-loop.php
Copy to
/wp-content/themes/sweetdate/buddypress/members/members-loop.php
If there are some style changes you would like to make you can send me a highlighted screenshot identifying the content you wish to change and as much detail of what you would like to change and I will send you the CSS.
Thanks,
Kieran
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
April 15, 2018 at 13:16 #194815Keith54ParticipantAs you see from the image there are 2 columns inside and a big gap.
I want to get rid of the gap and have 4 items listed (already selected):
1. I Speak
2. I’m a
3. Stage
4. Elevator PitchElevator pitch is the most important, either format it in or a hover… some way to get it in?
Attachments:
You must be logged in to view attached files.April 15, 2018 at 16:15 #194827Kieran_SQModeratorHi,
To change the Sex / Age / Marital Status / City fields that are shown for each member in the members directory please follow this support article https://archived.seventhqueen.com/sweetdate/article/add-profile-information-member-name-members-directory.
If you would like to show additional fields outside of the search meta area then please try the below code in your SweetDate Child theme’s functions.php file via WP Admin > Appearance > Editor > SweetDate Child > Functions.php
COPY CODE// Add profile fields to member profile in directory function sq7_extra_fields_members_profile() { $project = bp_get_member_profile_data('field=Preoject Name'); $pitch = bp_get_member_profile_data('field=Elevator Pitch'); if ($pitch || $project) { echo '<div class="mdetcenter">'. 'Project Name: ' . $project . '</div>'; echo '<div class="mdetcenter">'. 'Elevator Pitch: ' . $pitch . '</div>'; } } add_action('bp_directory_members_item', 'sq7_extra_fields_members_profile');
You can add to the code above if you wish, in it’s current state it will show the content for Project Name and Elevator Pitch fields when data is present.
Thanks,
Kieran
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
-
AuthorPosts
You must be logged in to reply to this topic.