Title: Pagination Category Problem
Last modified: August 21, 2016

---

# Pagination Category Problem

 *  [mjwilson94](https://wordpress.org/support/users/mjwilson94/)
 * (@mjwilson94)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/pagination-category-problem/)
 * I basically can’t get my categories to paginate and instead they all go into 
   one long list here is my Category.php code:
 *     ```
       <?php get_header(); ?>
   
       			<!-- BEGIN MAIN -->
       			<div id="main">
   
       				<div class="block archive">
   
       					<h3>
       						<?php echo single_cat_title('', false); ?>
       						<span class="arrows">&raquo;</span>
       					</h3>
   
       					<?php if(category_description($category)): ?>
       					<?php echo category_description($category); ?>
       					<br /><br />
       					<?php endif; ?>
   
       					<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
       					<div id="post-<?php the_ID(); ?>" <?php post_class('block-item-big'); ?>>
       						<?php
       						if(has_post_format('video') || has_post_format('audio') || has_post_format('gallery')) {
       							$icon = '<span class="' . get_post_format($post->ID) . '-icon"></span>';
       						} else {
       							$icon = '';
       						}
       						?>
       						<?php if(has_post_thumbnail()): ?>
       						<?php $image = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), 'widget-image'); ?>
       						<div class="block-image"><a href='<?php the_permalink(); ?>' title='<?php the_title(); ?>'><img src="<?php echo $image[0]; ?>" alt="<?php the_title(); ?>" width='290' height='160' /></a><?php echo $icon; ?></div>
       						<?php else: ?>
       						<div class="block-image"><a href='<?php the_permalink(); ?>' title='<?php the_title(); ?>'><img src="<?php bloginfo('template_directory'); ?>/timthumb.php?src=<?php bloginfo('template_directory'); ?>/images/thumbnail.png&w=290&h=160" alt="<?php the_title(); ?>" width='290' height='160' /></a><?php echo $icon; ?></div>
       						<?php endif; ?>
       						<h2><a href='<?php the_permalink(); ?>' title='<?php the_title(); ?>'><?php the_title(); ?></a></h2>
       						<span class="block-meta">
       							<span class="heading-author"><?php the_author(); ?></span>
       							<span class="heading-date"><?php the_time('F j, Y'); ?></span>
       							<span class="heading-comments"><?php comments_popup_link('0','1','%'); ?></span>
       						</span>
       						<p><?php echo string_limit_words(get_the_excerpt(), 34); ?></p><a href='<?php the_permalink(); ?>' title='<?php the_title(); ?>' class="readmore"><?php _e('Read More', 'Avenue'); ?> <span class="block-arrows">&raquo;</span></a>
       					</div>
       					<?php endwhile; endif; ?>
   
       					<?php kriesi_pagination($pages = '', $range = 2); ?>
   
       				</div>
   
       			</div>
       			<!-- END MAIN -->
   
       <?php get_footer(); ?>
       ```
   

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/pagination-category-problem/#post-4089263)
 * what is your setting under:
 * _**settings – reading **_– _blog page show at most … posts_?
 * what theme are you working with?
 *  Thread Starter [mjwilson94](https://wordpress.org/support/users/mjwilson94/)
 * (@mjwilson94)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/pagination-category-problem/#post-4089276)
 * My current setting is set to 12.
 * And the theme I’m working with is called Avenue.
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/pagination-category-problem/#post-4089335)
 * do you have more than 12 post in any category?
 * as ‘avenue’ is not a theme from [http://wordpress.org/themes/](http://wordpress.org/themes/),
   please contact the theme’s developer for support.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Pagination Category Problem’ is closed to new replies.

## Tags

 * [categories](https://wordpress.org/support/topic-tag/categories/)
 * [pagination](https://wordpress.org/support/topic-tag/pagination/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [Michael](https://wordpress.org/support/users/alchymyth/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/pagination-category-problem/#post-4089335)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
