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


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?php
/**
 * Post navigation in single post
 * Create next and prev button to next and prev posts
 *
 * @since 1.0
 */
$prev_post get_previous_post();
$next_post get_next_post();
?>
<?php 
if ( ! empty( $prev_post ) || ! empty( $next_post ) ) : ?>
    <div class="penci-post-pagination">
        <?php if ( ! empty( $prev_post ) ) : ?>
            <div class="prev-post">
                <div class="prev-post-inner">
                    <div class="prev-post-title">
                        <span><i class="fa fa-angle-left"></i><?php echo esc_htmlpenci_amp_get_setting'penci_amp_content_pre' ) ); ?></span>
                    </div>
                    <a href="<?php echo esc_urlget_the_permalink$prev_post->ID ) ); ?>">
                        <div class="pagi-text">
                            <h5 class="prev-title"><?php echo sanitize_text_fieldget_the_title$prev_post->ID ) ); ?></h5>
                        </div>
                    </a>
                </div>
            </div>
        <?php endif; ?>

        <?php if ( ! empty( $next_post ) ) : ?>
            <div class="next-post ">
                <div class="next-post-inner">
                    <div class="prev-post-title next-post-title">
                        <span><?php echo esc_htmlpenci_amp_get_setting'penci_amp_content_next' ) ); ?><i class="fa fa-angle-right"></i></span>
                    </div>
                    <a href="<?php echo esc_urlget_the_permalink$next_post->ID ) ); ?>">
                        <div class="pagi-text">
                            <h5 class="next-title"><?php echo sanitize_text_fieldget_the_title$next_post->ID ) ); ?></h5>
                        </div>
                    </a>
                </div>
            </div>
        <?php endif; ?>
    </div>
<?php endif; ?>
x

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