pagination fix *again*

Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
Philip M. Hofer (Frumph) 2009-08-28 03:33:01 -07:00
parent 0a939caf88
commit ef9397b04a
1 changed files with 2 additions and 6 deletions

View File

@ -2,12 +2,8 @@
function comicpress_pagination() {
global $post, $wp_query;
$paged = intval(get_query_var('paged'));
if(function_exists('wp_pagenavi') && !empty($paged)) { ?>
<div id="wp-paginav">
<?php wp_pagenavi(); ?>
<div class="clear"></div>
</div>
if(function_exists('wp_pagenavi')) { ?>
<?php wp_pagenavi('<div id="wp-paginav">', '<div class="clear"></div></div>'); ?>
<?php } else { ?>
<div id="pagenav">
<div class="pagenav-right"><?php previous_posts_link('Newer Entries &uarr;') ?></div>