Skip to content

Commit

Permalink
Moved pagination links below subcategory list
Browse files Browse the repository at this point in the history
  • Loading branch information
splorp committed Oct 15, 2012
1 parent 7943d73 commit fe8edfa
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions category.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
<?php if (have_posts()) : ?>
<h2><?php printf( __( 'Category: %s' ), '<span>' . single_cat_title( '', false ) . '</span>' ); ?></h2>

<p><?php next_posts_link('Older'); delim_posts_link(); previous_posts_link('Newer') ?></p>

<?php
$category_description = category_description();
if ( ! empty( $category_description ) )
Expand All @@ -25,9 +23,13 @@
wp_list_categories('title_li&hide_empty=0&child_of='.$cat_ID);
echo '</ul>';
}
?>

<p><?php next_posts_link('Older'); delim_posts_link(); previous_posts_link('Newer') ?></p>

<?php
/* Start the Loop */

while ( have_posts() ) : the_post(); ?>

<article <?php post_class() ?> id="post-<?php the_ID(); ?>">
Expand Down

0 comments on commit fe8edfa

Please sign in to comment.