I have about 10 different category posts etc.
As you know, withing each category there is the next and previous navigation to toggle between posts. When you reach the Last post in a category, the next navigation then takes you to the NEXT category…
My question is, is there there a way to loop only withing the category with the next and previous?
// The Category Loop
if (function_exists('childtheme_override_category_loop')) {
function thematic_category_loop() {
childtheme_override_category_loop();
}
} else {
function thematic_category_loop() {
while (have_posts()) : the_post();
thematic_abovepost(); ?>
<div id="post-<?php the_ID();
echo '" ';
if (!(THEMATIC_COMPATIBLE_POST_CLASS)) {
post_class();
echo '>';
} else {
echo 'class="';
thematic_post_class();
echo '">';
}
thematic_postheader(); ?>
<div class="entry-content">
<?php thematic_content(); ?>
</div><!-- .entry-content -->
<?php thematic_postfooter(); ?>
</div><!-- #post -->
<?php
thematic_belowpost();
endwhile;
}
} // end category_loop