16 lines
405 B
PHP
16 lines
405 B
PHP
<?php
|
|
/**
|
|
* Pagination
|
|
*/
|
|
|
|
global $wp_query;
|
|
?>
|
|
|
|
<?php if ( $wp_query->max_num_pages > 1 ) : ?>
|
|
|
|
<div class="navigation">
|
|
<div class="nav-next"><?php next_posts_link( __( 'Next <span class="meta-nav">→</span>', 'woocommerce' ) ); ?></div>
|
|
<div class="nav-previous"><?php previous_posts_link( __( '<span class="meta-nav">←</span> Previous', 'woocommerce' ) ); ?></div>
|
|
</div>
|
|
|
|
<?php endif; ?>
|