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.
understrap/page-templates/empty.php

23 lines
495 B
PHP
Raw Permalink Normal View History

<?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.
*
* @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();
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-11-21 18:19:15 +00:00
get_footer();