Código :
<?php
function new_excerpt_length($length) {
return 80;
}
add_filter('excerpt_length', 'new_excerpt_length');
function new_excerpt_more($more) {
return ' [...]';
}
add_filter('excerpt_more', 'new_excerpt_more');
?>
<?php $recent = new WP_Query(); ?>
[color=#EF2929]<?php $recent->query('cat=3&showposts=5');[/color] ?>
<?php while($recent->have_posts()) : $recent->the_post(); ?>
.......
<?php endwhile; ?>
<div id="nav-below" class="navigation">
<div class="nav-previous"><?php next_posts_link(__( '<span class="meta-nav">«</span> Anterior', 'sandbox' )) ?></div>
<div class="nav-next"><?php previous_posts_link(__( 'Siguiente <span class="meta-nav">»</span>', 'sandbox' )) ?></div>
</div>
Todo va bien en el index.php pero copie el mismo codigo en page.php y no funcionan los links de navegacion esos que dicen atras y siguiente. A que se debe??
