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