diff options
Diffstat (limited to 'page-templates/empty.php')
| -rw-r--r-- | page-templates/empty.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/page-templates/empty.php b/page-templates/empty.php new file mode 100644 index 0000000..2c11ff1 --- /dev/null +++ b/page-templates/empty.php @@ -0,0 +1,21 @@ +<?php +/** + * Template Name: Empty Page Template + * + * Template for displaying a page just with the header and footer area and a "naked" content area in between. + * Good for landingpages and other types of pages where you want to add a lot of custom markup. + * + * @package understrap + */ + +if ( ! defined( 'ABSPATH' ) ) { + exit; // Exit if accessed directly. +} + +get_header(); + +while ( have_posts() ) : the_post(); + get_template_part( 'loop-templates/content', 'empty' ); +endwhile; + +get_footer(); |
