wp page numbers

This commit is contained in:
John Bintz 2009-07-15 17:04:14 -04:00
parent 89fa46e1a0
commit 4ad05b0bac
4 changed files with 28 additions and 20 deletions

View File

@ -1,5 +1,7 @@
<?php if(function_exists('wp_page_numbers')) { wp_page_numbers(); } else { ?>
<div class="pagenav">
<div class="pagenav-right"><?php next_posts_link('Next Page &rsaquo;') ?></div>
<div class="pagenav-left"><?php previous_posts_link('&lsaquo; Previous Page') ?></div>
<div class="clear"></div>
</div>
<?php } ?>

View File

@ -1,5 +1,7 @@
<?php if(function_exists('wp_page_numbers')) { wp_page_numbers(); } else { ?>
<div class="pagenav">
<div class="pagenav-right"><?php previous_posts_link(__('Newer Entries &uarr;', 'comicpress')) ?></div>
<div class="pagenav-left"><?php next_posts_link(__('&darr; Previous Entries', 'comicpress')) ?></div>
<div class="clear"></div>
</div>
<?php } ?>

View File

@ -46,11 +46,13 @@
<?php endwhile; ?>
<?php if(function_exists('wp_page_numbers')) { wp_page_numbers(); } else { ?>
<div class="pagenav">
<div class="pagenav-right"><?php next_posts_link('Next Page &rsaquo;') ?></div>
<div class="pagenav-left"><?php previous_posts_link('&lsaquo; Previous Page') ?></div>
<div class="clear"></div>
</div>
<?php } ?>
<?php else : ?>

View File

@ -46,11 +46,13 @@
<?php endwhile ?>
<?php if(function_exists('wp_page_numbers')) { wp_page_numbers(); } else { ?>
<div class="pagenav">
<div class="pagenav-right"><?php next_posts_link('Next Page &rsaquo;') ?></div>
<div class="pagenav-left"><?php previous_posts_link('&lsaquo; Previous Page') ?></div>
<div class="clear"></div>
</div>
<?php } ?>
<?php else : ?>