woocommerce/templates/loop/pagination.php

20 lines
488 B
PHP
Raw Normal View History

2011-12-11 01:08:33 +00:00
<?php
/**
* Pagination
2012-08-14 18:05:45 +00:00
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 1.6.4
2011-12-11 01:08:33 +00:00
*/
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; ?>