This topic has 1 reply, 2 voices, and was last updated 9 years by Laura.

  • Author
  • #60674
     petev666
    Participant

    Hello,

    I have added:
    <?php
    /**
    * @package WordPress
    * @subpackage Sweetdate
    * @author SeventhQueen <themesupport@seventhqueen.com>
    * @since Sweetdate 1.0
    */
    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(
    ‘Practice Type/Specialty’,
    ‘I am’,

    );
    }

    to my functions.php to add info under the pics when browsing members. The “About Me” info shows but the “Practice Type/Specialty” and “I am” are not showing up. What am I doing wrong?

    Thanks!

    http://www.transitiondoc.com

    #60863
     Laura
    Moderator

    Hello, the second one doesnt need to have a ,
    So its

    COPY CODE
    
    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(
    ‘Practice Type/Specialty’,
    ‘I am’
    
    );
    }
    

    If it doesnt work, try changing the name of Practice Type/Specialty to Practice Type or Specialty

    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 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?