This topic has 11 replies, 3 voices, and was last updated 7 years by Laura.

  • Author
  • #87355
     nao
    Participant

    Hi! I would like to change the member field in search as the DEMO(Age/Gender/etc.). My members field is too poor(only Age). How to change it?

    Attachments:
    You must be logged in to view attached files.
    #87554
     Laura
    Moderator

    Hello, you need to add that function to child theme functions.php

    COPY CODE
    
    //members page fields 
    add_action('after_setup_theme','kleo_my_member_data');
    function kleo_my_member_data() 
    {
        global $kleo_config;
        //this is the details field, right now it take the "About me" field content 
        $kleo_config['bp_members_details_field'] = 'About me';
        //this display the fields under the name, eq: 36 / Woman / Divorced / Berlin. Modify with the names of the fields you want to appear there
        $kleo_config['bp_members_loop_meta'] = array(
            'I am a',
            'Marital status',
            'City'
        );
          
    }
    

    But instead of About me, use About us

    Change the text field to show ( large ) here

    COPY CODE
    
     $kleo_config['bp_members_details_field'] = 'About me';
    

    Change About me for your Field Name ( the one you want to show )

    And Change

    COPY CODE
    
        $kleo_config['bp_members_loop_meta'] = array(
            'I am a',
            'Marital status',
            'City'
    

    I am a, Marital status, City with other fields that you want to show ( those will appear next to the age )

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #87821
     nao
    Participant

    Thanks Laura! It worked very well. Your support is perfect 🙂

    #88146
     Laura
    Moderator

    Hello, glad it helped! 🙂 Dont forget to rate us and give us a nice comment on Themeforest 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #163621
     erictorn
    Participant

    Hello,
    if i have created my own fields in Swedish.
    How do I put in them in the code – to show them in on each person in search result?

    OR do i have to use the one used in the theme? Then, how do I add them again?

    regards
    Eric, Sweden
    http://www.friluftskompis.se

    #163872
     Laura
    Moderator

    Hello, just change the I am a and the other fields at the code to the ones you want to use 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #163878
     erictorn
    Participant

    Can I do it here (se image)

    Attachments:
    You must be logged in to view attached files.
    #163884
     erictorn
    Participant

    And how di I do if there is å ä ö in the fields/code?

    #163886
     erictorn
    Participant

    Se image

    Attachments:
    You must be logged in to view attached files.
    #164023
     Laura
    Moderator

    Hello, please follow the instructions at the code, its at functions.php, your screenshot is showing css, which is different and should not be added there. At the functions.php of child theme, add the code, then edit the I am a and the other fields to your own field name
    If you want to show the field “Example” then change ‘I am a’ to ‘Example’

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #164070
     erictorn
    Participant

    Can only say 😀

    #164297
     Laura
    Moderator

    Hope that means its resolved 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

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

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?