summaryrefslogtreecommitdiff
path: root/dist/page-templates/empty.php
diff options
context:
space:
mode:
Diffstat (limited to 'dist/page-templates/empty.php')
-rw-r--r--dist/page-templates/empty.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/dist/page-templates/empty.php b/dist/page-templates/empty.php
new file mode 100644
index 0000000..2c11ff1
--- /dev/null
+++ b/dist/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();