This topic has 5 replies, 3 voices, and was last updated 11 years by frien337.

  • Author
  • #6483
     frien337
    Participant

    Hello SeventhQueen,

    Please take a look at the following screenshot.

    Can you tell me how I can add more fields to this area? I can see on your demo that you have age, location, sex, etc. However, on my site it only pulls in age and sex – I want to show location as well.

    Can this be achieved through changing some settings from wordpress admin or would it need to be manually added?

    Thanks,
    Ryan

    #6486
     adam
    Participant
    #6491
     frien337
    Participant

    Hi There,

    I gave that a try but it didn’t work for me. I added in the code to my functions.php file but I get an error:

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ' kleo_my_member_data' not found or invalid function name in /home/frien337/public_html/wp-includes/plugin.php on line 429

    Warning: Cannot modify header information - headers already sent by (output started at /home/frien337/public_html/wp-includes/plugin.php:429) in /home/frien337/public_html/wp-content/plugins/woocommerce/classes/class-wc-session-handler.php on line 63

    Have you seen this before?

    Thanks,
    Ryan

    #6538
     SQadmin
    Keymaster

    I don’t know what you added.. this is the sample code that needs to be modified accordingly to your needs:

    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(
    	'I am',
    	'Type',
    	'City'
    	);
    } 
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #6564
     frien337
    Participant

    Hi Sqadmin,

    I’ve sent you my ftp details so you can look into this as it does not work for me..

    Thanks again,
    Ryan

    #6763
     frien337
    Participant

    Hello, thought I’d let everyone know that this issue was resolved. It turned out that there was a conflict with one of my plugins 🙁

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

The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?