woocommerce/templates/loop/pagination.php

16 lines
405 B
PHP
Raw Normal View History

2011-12-11 01:08:33 +00:00
<?php
/**
* Pagination
*/
global $wp_query;
?>
<?php if ( $wp_query->max_num_pages > 1 ) : ?>
<div class="navigation">
2012-01-05 11:31:22 +00:00
<div class="nav-next"><?php next_posts_link( __( 'Next <span class="meta-nav">&rarr;</span>', 'woocommerce' ) ); ?></div>
<div class="nav-previous"><?php previous_posts_link( __( '<span class="meta-nav">&larr;</span> Previous', 'woocommerce' ) ); ?></div>
2011-12-11 01:08:33 +00:00
</div>
<?php endif; ?>