Skip to content

Instantly share code, notes, and snippets.

@billrobbins
Created November 21, 2011 04:43
Show Gist options
  • Save billrobbins/1381648 to your computer and use it in GitHub Desktop.
Save billrobbins/1381648 to your computer and use it in GitHub Desktop.
Authentic Paging
<div class="paging">
<?php if(function_exists('wp_pagenavi')) : wp_pagenavi(); else: ?>
<p class="paging-next left">
<?php next_posts_link(__('&laquo; Next', 'organizedthemes')); ?>
</p>
<p class="paging-prev right">
<?php previous_posts_link(__('Previous &raquo;', 'organizedthemes')); ?>
</p>
<?php endif; ?>
<div class="clear"></div>
</div><!-- end paging -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment