PHP Classes

File: page-template-full.php

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

Contents

Class file image Download
<?php
/**
 * Template Name: Full Width, no sidebar(s)
*/

?>

<?php get_header(); ?>

    <div id="main-fullwidth">
   
        <?php
        $img_slide
= of_get_option( 'kciao_display_slider', 'none' );
        if (
of_get_option( 'kciao_homepage_layout' ) == 1 && ( $img_slide['page'] ) ) :
       
get_template_part( 'post', 'slider' );
        endif;
        if (
of_get_option( 'kciao_homepage_layout' ) == 2 && ( $img_slide['page'] ) ) :
       
get_template_part( 'post', 'slider' );
        endif;
?>

        <?php
           
if (have_posts()) : while (have_posts()) : the_post();
               
get_template_part('post', 'page');
               
                if(
comments_open( get_the_ID() )) {
                   
comments_template('', true);
                }
            endwhile;
           
            else :
               
get_template_part('post', 'noresults');
            endif;
       
?>

    </div><!-- #main-fullwidth -->
   
<?php get_footer(); ?>