estimados
realice un cambio en mi codigo pero todabia no finciona,
Código PHP:
<?php $paged = (get_query_var('paged'))? get_query_var('paged'): 1;
$args = array(
'category_name' => 'mi-categoria',
'posts_per_page' => 5,
'paged' => $paged,
);
$the_query = new WP_Query( $args );
?>
<!-- loop-->
<?php while ($the_query -> have_posts() ) : $the_query -> the_post(); ?>