C:\xampp\htdocs\landing\wp-content\themes\pennews\page-templates\full-width.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
<?php
/**
 * Template Name: Full Width
 * Description: Display content for the homepage.
 *
 */

get_header();


$paged class_exists'Penci_Pagination' ) ? Penci_Pagination::get_current_paged() : 1;

$dis_block_pagination get_theme_mod'penci_dis_block_pagination' );

if ( 
$paged <= || $dis_block_pagination ) {
    
?>
    <div id="primary" class="content-area">
        <main id="main" class="site-main">
            <?php
            
while ( have_posts() ) : the_post();

                
the_content();

            endwhile; 
// End of the loop.
            
?></main><!-- #main -->
    </div><!-- #primary -->
    <?php
} else {
    
get_template_part'template-parts/block-pagination' );
}


?>


<?php get_footer(); ?>
x

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