Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  •  Boblebad
    Participant

    Just need to get clear on something here:

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

    The first line tells the theme in which group to find the fields ?

    And the second line tells which fields to get from the group ?

    And where does the names come from, is it the field names when generating them in the admin board ?
    EDIT: Why is that the editor put in the code tags into the code ?

    in reply to: Image in header after menu before register form ? #12808
     Boblebad
    Participant

    Found out how to do it, couldn’t with sleepy eyes find where images i stored 😉

    COPY CODE
    			<div class="twelve columns">
    			<a href="<?php echo get_home_url(); ?>"><img src="<?php echo sq_option('logo',get_template_directory_uri().'/assets/images/logo_after_header.png'); ?>" width="946" height="398" alt="<?php bloginfo('name'); ?>"></a>
    			</div>

    and is NOT part of the code, don’t know how to get rid of them.

    What is the structure of the files, what calls what, where to change what ?

    All the best
    Carsten

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

Log in with your credentials

Forgot your details?