Is it possible to link to the next/prev posts in index.php with
query_posts('cat=56'); before loop?
<?php query_posts('cat=56'); if (have_posts()) : while (have_posts()) : the_post(); ?> next post title <?php the_title(); ?> previous post title <?php endwhile; ?> <?php endif; ?>
next/previous_post_link with TRUE doesn't work..
<?php next_post_link('« %link','%title', TRUE) ?> <?php previous_post_link('%link »','%title', TRUE) ?>
I need to show in home page only selected post (selected category) with next/prev title of post in the same category (selected).
In this image you can see the slider with caption. In this case, the next post is PIAZZALI PUBBLICI, but it does not belong to a selected category: the next image post in the slider it's another one.