Exemplo n.º 1
0
function tst_get_member_user_skills_string($member_id)
{
    $user_skills = tst_get_user_skills($member_id);
    $actual_user_skills = array();
    foreach ($user_skills as $skill) {
        if ($skill['checked']) {
            $actual_user_skills[] = $skill['cat_name'];
        }
    }
    return implode(', ', $actual_user_skills);
}
Exemplo n.º 2
0
    ?>
</textarea>
			<small class="help-block"><?php 
    _e('Please provide a brief information about yourself', 'tst');
    ?>
.</small>
		</div>
		
		<div>
			<label for="skills_list"><?php 
    _e('Skills list', 'tst');
    ?>
</label>
			<div class="skills_list clearfix">
			<?php 
    $skills = tst_get_user_skills($member_data['member_id']);
    tst_show_user_skills($skills);
    ?>
			</div>
		</div>
		
		<h4><?php 
    _e('Contact details', 'tst');
    ?>
</h4>		
		<?php 
    //wp_get_user_contact_methods( $profileuser )
    $fields = array_merge(array('user_website' => __('Website', 'tst')), $social_ids);
    foreach ($fields as $key => $label) {
        ?>