This topic has 4 replies, 2 voices, and was last updated 6 years by Kieran_SQ.

  • Author
  • #194797
     Keith54
    Participant

    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.

    #194801
     Kieran_SQ
    Moderator

    Hi,

    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 solution

    If 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.

    #194815
     Keith54
    Participant

    As 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 Pitch

    Elevator 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.
    #194818
     Keith54
    Participant

    and project name…

    #194827
     Kieran_SQ
    Moderator

    Hi,

    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 solution

    If 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.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?