PHP Classes

File: navigation.php

Recommend this page to a friend!
  Classes of Joko Prasetyo   kciaotime WordPress Theme   navigation.php   Download  
File: navigation.php
Role: Example script
Content type: text/plain
Description: Example script
Class: kciaotime WordPress Theme
WordPress theme to customize different page parts
Author: By
Last change:
Date: 1 year ago
Size: 562 bytes
 

Contents

Class file image Download
<?php if ( $wp_query->max_num_pages > 1 ) { ?>

    <div class="navigation clearfix">
       
        <?php
           
if(function_exists('wp_pagenavi')) {
               
wp_pagenavi();
            } else {
       
?><div class="alignleft"><?php next_posts_link( __( '<span class="fa fa-chevron-left"></span> Older posts', 'kciao' ) );?></div>
        <div class="alignright"><?php previous_posts_link( __( 'Newer posts <span class"fa fa-chevron-right"></span>', 'kciao' ) );?></div><?php
       
} ?>
       
    </div><!-- .navigation -->
   
<?php } ?>