Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * Template Name: Custom Page Template Full-width
- *
- * Description: Custom Template withour sidebar , full width
- *
- * @package WordPress
- * @subpackage Kleo
- * @author SeventhQueen <themesupport@seventhqueen.com>
- * @since Kleo 1.0
- */
- get_header(); ?>
- <?php
- //create full width template
- kleo_switch_layout('no');
- ?>
- <?php get_template_part('page-parts/general-title-section'); ?>
- <?php get_template_part('page-parts/general-before-wrap'); ?>
- <?php
- if ( have_posts() ) :
- // Start the Loop.
- while ( have_posts() ) : the_post();
- /*
- * Include the post format-specific template for the content. If you want to
- * use this in a child theme, then include a file called called content-___.php
- * (where ___ is the post format) and that will be used instead.
- */
- get_template_part( 'content', 'page' );
- ?>
- <?php get_template_part( 'page-parts/posts-social-share' ); ?>
- <?php if ( sq_option( 'page_comments', 0 ) == 1 ): ?>
- <!-- Begin Comments -->
- <?php
- if ( comments_open() || get_comments_number() ) {
- comments_template( '', true );
- } ?>
- <!-- End Comments -->
- <?php endif; ?>
- <?php endwhile;
- endif;
- ?>
- <?php get_template_part('page-parts/general-after-wrap'); ?>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement