mirror of
https://git.sindominio.net/estibadores/wordpress.git
synced 2024-11-22 18:41:07 +01:00
34 lines
847 B
PHP
34 lines
847 B
PHP
<?php
|
|
/**
|
|
* Loop Navigation Template-Part File
|
|
*
|
|
* @file loop-nav.php
|
|
* @package Responsive
|
|
* @author CyberChimps
|
|
* @copyright 2020 CyberChimps
|
|
* @license license.txt
|
|
* @version Release: 1.1.0
|
|
* @filesource wp-content/themes/responsive/loop-nav.php
|
|
* @link http://codex.wordpress.org/Templates
|
|
* @since available since Release 1.0
|
|
*/
|
|
|
|
// Exit if accessed directly.
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
|
exit;
|
|
}
|
|
|
|
/**
|
|
* Output Prev/Next Posts Links
|
|
*/
|
|
if ( $wp_query->max_num_pages > 1 ) :
|
|
?>
|
|
|
|
<div class="navigation">
|
|
<div class="previous"><?php next_posts_link( __( '‹ Older posts', 'responsive' ) ); ?></div>
|
|
<div class="next"><?php previous_posts_link( __( 'Newer posts ›', 'responsive' ) ); ?></div>
|
|
</div><!-- end of .navigation -->
|
|
|
|
<?php
|
|
endif;
|