index.php
4 years ago
template-canvas.php
3 years ago
template-contained.php
3 years ago
template-full-width.php
3 years ago
template-full-width.php
27 lines
| 1 | <?php |
| 2 | /** |
| 3 | * ReduxTemplates - Full Width / Stretched |
| 4 | * |
| 5 | * @since 4.0.0 |
| 6 | * @package redux-framework |
| 7 | */ |
| 8 | |
| 9 | defined( 'ABSPATH' ) || exit; |
| 10 | |
| 11 | get_header(); |
| 12 | |
| 13 | // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped |
| 14 | echo '<style id="redux-template-overrides">' . ReduxTemplates\Template_Overrides::get_overrides() . '</style>'; |
| 15 | |
| 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 | endwhile; // End of the loop. |
| 25 | |
| 26 | get_footer(); |
| 27 |