Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

  • yumnihon
    Participant

    @yumnihon

    Hi Henry Wright

    Other problem.

    How to translate word: I am a to other languge?

    
    //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',
    
        );
          
    }
    

    yumnihon
    Participant

    @yumnihon

    I putting it in /plugin/bp-custom.php
    it is working

    Thanks pro man


    yumnihon
    Participant

    @yumnihon

    I tried bellow code:

    function bp_displayed_user_id() {
    $theUserID = bp_get_member_user_id();
          echo "MemberID: " . $theUserID;
    }
    add_action( 'bp_directory_members_item', 'bp_displayed_user_id' );

    But it didnot to work.

Viewing 3 replies - 1 through 3 (of 3 total)
Skip to toolbar