Hi all! I need urgent help with these please!
I have a Categorie "BOOKS" for recent aditions.
And inside the site I have Pages for static content like "Publications".
Problem is I want to display the recently Posts of BOOKS inside the Page "Publications".
By far I made it run easily, you can see the Posts showing right after the Page content, here is the site: http://www.ubolivariana.cl/santiago/?page_id=174
Problem comes in NEXT and PREV links... they won't work... Is there a way to make this run? Any idea?
This is the code I am using right after the Page Loop:
<div id="librostr">
<?php query_posts('category_name=Libros'); ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div id="libros"><?php the_excerpt_reloaded(60, '<img><strong>', 'excerpt', FALSE); ?> <span class="bread" STYLE="background-position: left 2px"><a href="<?php the_permalink() ?>" title="Más sobre esta publicación UB"> "<?php the_title(); ?>"</a></span> <span class="bcomment"><?php comments_popup_link('Opina', 'Una Opinión', '% Opiniones'); ?></span> <?php edit_post_link('Editar'); ?>
</div>
<?php endwhile; ?>
<div class="navigation">
<div class="alignleft"><?php next_posts_link('« Older Entries') ?></div>
<div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div>
</div>
<?php endif; ?>
</div>
You can see the "Older Entries" Link at the end of the page at the right.
Thanks.