balmet.com

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

template-contained.php (657B)


      1 <?php
      2 /**
      3  * ReduxTemplates - Full Width / Contained
      4  *
      5  * @since   4.0.0
      6  * @package redux-framework
      7  */
      8 
      9 if ( ! defined( 'ABSPATH' ) ) {
     10 	exit; // Exit if accessed directly.
     11 }
     12 
     13 get_header();
     14 // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
     15 echo '<style type="text/css" id="redux-template-overrides">' . ReduxTemplates\Template_Overrides::get_overrides() . '</style>';
     16 while ( have_posts() ) :
     17 	the_post();
     18 	the_content();
     19 
     20 	// If comments are open or we have at least one comment, load up the comment template.
     21 	if ( comments_open() || get_comments_number() ) :
     22 		comments_template();
     23 	endif;
     24 
     25 endwhile; // End of the loop.
     26 
     27 get_footer();