array(142), //Authors's id's you like to not include
'posts_per_page' => '3',
);
$local_content = new WP_Query($args1);
if($local_content->have_posts()) :
while($local_content->have_posts()) :
$local_content->the_post();
get_template_part( 'content', 'preview' );
endwhile;
else:
echo "Oops, there are no posts.";
endif;
?>
contenidos agregados
';
$args2 = array(
'author__in'=> array(142), //Authors's id's you like to include
'posts_per_page' => '5',
);
$aggregated_content = new WP_Query($args2);
if($aggregated_content->have_posts()) :
while($aggregated_content->have_posts()) :
$aggregated_content->the_post();
get_template_part( 'content', 'preview-aggregated' );
endwhile;
else:
echo 'Oops, there are no posts.';
endif;
?>
Más contenidos agregados
';?>