This repository has been archived on 2020-05-08. You can view files and clone it, but cannot push or open issues or pull requests.
2016-06-18 11:41:59 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Template Name: Empty Page Template
|
|
|
|
*
|
2016-11-21 18:19:15 +00:00
|
|
|
* 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.
|
2016-06-18 11:41:59 +00:00
|
|
|
*
|
|
|
|
* @package understrap
|
|
|
|
*/
|
|
|
|
|
2018-09-10 21:59:04 +00:00
|
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
|
|
|
exit; // Exit if accessed directly.
|
|
|
|
}
|
|
|
|
|
2016-11-21 18:19:15 +00:00
|
|
|
get_header();
|
2016-06-18 11:41:59 +00:00
|
|
|
|
2018-11-18 23:10:53 +00:00
|
|
|
while ( have_posts() ) :
|
|
|
|
the_post();
|
2016-11-21 18:19:15 +00:00
|
|
|
get_template_part( 'loop-templates/content', 'empty' );
|
|
|
|
endwhile;
|
2016-06-18 11:41:59 +00:00
|
|
|
|
2016-11-21 18:19:15 +00:00
|
|
|
get_footer();
|