$contributors_page) ); if ( $contributors->post ): printf( '

%2$s

', esc_url(get_permalink($contributors->post->ID) ), $contributors->post->post_title); endif; ?>
$value): $author_ID = $authors[$key]->ID; $author_data = get_userdata($author_ID); $author_post_count = count_user_posts($author_ID); // Here starts the query work. $is_sticky = get_option('sticky_posts'); $args = array( 'author' => $author_ID, 'posts_per_page' => 2, 'ignore_sticky_posts' => false, 'post__not_in' => $is_sticky, 'tax_query' => array( array( 'taxonomy' => 'post_format', 'field' => 'slug', 'terms' => array( 'post-format-quote', 'post-format-aside', 'post-format-status', 'post-format-chat', 'post-format-link',), 'operator' => 'NOT IN', ), ), ); $query = new WP_Query($args); if ($query->have_posts()):?>
user_email)): echo get_avatar($author_data->user_email, 60); endif; ?>
', //esto deberia ser un h2 esc_url( get_author_posts_url( $author_ID ) ), $author_data->display_name); while ($query -> have_posts()) : $query -> the_post(); the_title( sprintf( '

', esc_url( get_permalink() ) ), '

' ); //y esto un h3. endwhile; wp_reset_postdata(); printf( '', esc_url( get_author_posts_url( $author_ID ) ), __('All articles', 'abedul')); ?>