C:\xampp\htdocs\landing\wp-content\plugins\penci-pennews-amp\templates\pagination.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php
if ( is_rtl() ) {
    
$prev '<i class="fa fa-angle-right"></i>' penci_amp_get_setting'penci_amp_prev' );
    
$next penci_amp_get_setting'penci_amp_next' ) . '<i class="fa fa-angle-left"></i>';
} else {
    
$prev '<i class="fa fa-angle-left"></i>' penci_amp_get_setting'penci_amp_prev' );
    
$next penci_amp_get_setting'penci_amp_next' ) . '<i class="fa fa-angle-right"></i>';
}

global 
$wp_query;
$max_num_pages = isset( $wp_query->max_num_pages ) ? $wp_query->max_num_pages '';

echo 
'<div class="penci-amp-pagination">';
penci_amp_the_posts_pagination( array(
    
'mid_size'           => 0,
    
'prev_text'          => $prev,
    
'next_text'          => $next,
) );
echo 
'</div>';
x

Windows NT KPTV 6.2 build 9200 (Windows Server 2012 Datacenter Edition) i586