<section class="wrap wrap--content wrap--shadow wrap--form wrap--author">
		<?php 
wpdc_the_profile_photo($user);
?>

		<?php 
wpdc_the_input_text('login', get_user_meta($user->ID, 'nickname', 1), 'Login (No se puede cambiar)', 'login', true);
?>

		<?php 
wpdc_the_input_text('first_name', get_user_meta($user->ID, 'first_name', 1), 'Nombre', 'Nombre');
?>
		
		<?php 
wpdc_the_input_text('last_name', get_user_meta($user->ID, 'last_name', 1), 'Apellidos', 'Apellidos');
?>

		<?php 
wpdc_the_input_email('email', esc_attr(get_the_author_meta('email', $user->ID)), 'Email', '*****@*****.**');
?>
      
		<?php 
wpdc_the_input_text('position', get_user_meta($user->ID, 'position', 1), 'Perfil', 'Diseñador en LittlePep S.A.');
?>
      
	
    	<?php 
wpdc_the_input_textarea('description', $user->description, 'Descripción');
?>
  </section><!-- end of author -->
示例#2
0
<section class="wrap wrap--content wrap--shadow">
  <div class="wrap wrap--frame wrap--flex wrap--userinfo">
    <div class="wrap wrap--frame wrap--frame__100">
      <?php 
wpdc_the_profile_photo($user_info->ID);
?>
    </div>
    <div class="wrap wrap--frame wrap--frame__middle">
      <p>
        <a href="<?php 
echo get_author_posts_url($user_info->ID);
?>
">
          <?php 
echo wpdc_get_user_name($user_info->ID);
?>
        </a>
        <br><?php 
echo get_user_meta($user_info->ID, 'position', 1);
?>
        <br><?php 
wpdc_the_asociation_position($user_info->ID);
?>
      </p>
    </div>
  </div>

  <?php 
wpdc_the_edit_icon(get_bloginfo('url') . '/edit-profile/?id=' . $user_info->ID);
?>
    
                ?>
</td>
      
      <td><a href="<?php 
                echo get_bloginfo('url') . '/edit-profile/?id=' . $user_id;
                ?>
"><?php 
                echo $user_id;
                ?>
</a></td>
      
      <?php 
                if ($pho == true) {
                    ?>
<td><?php 
                    wpdc_the_profile_photo($user_id);
                    ?>
</td><?php 
                }
                ?>
      
      <?php 
                if ($nam == true) {
                    ?>
<td><a href="<?php 
                    echo get_author_posts_url($user_id);
                    ?>
"><?php 
                    echo get_the_author_meta('first_name', $user_id) . ' ' . get_the_author_meta('last_name', $user_id);
                    ?>
</a><br><em style="color: #ccc;"><?php 
?>
    
    <h3 class="sep">Miembros que no han pagado (y deberían)</h3>
    <ul class="list list--userlist">
      <?php 
foreach ($asociates->results as $user) {
    $user_id = $user->ID;
    if ($members_payed[$user_id] != '' || $members_pending[$user_id] != '') {
        continue;
    }
    $user = get_userdata($user_id);
    ?>
        <li class="item wrap wrap--frame wrap--flex">
          <div class="wrap wrap--frame wrap--frame__45">
              <?php 
    wpdc_the_profile_photo($user->ID);
    ?>
          </div>
          <div class="wrap wrap--frame wrap--frame__middle">
              <?php 
    wpdc_the_user_name($user->ID);
    ?>
          </div>
          <div class="wrap wrap--frame wrap--frame__fourth">
              <?php 
    wpdc_the_asociation_position($user->ID);
    ?>
          </div>
        </li>
      <?php 
}