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

20 lines
481 B
PHP
Raw Normal View History

<?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
*/
get_header();
?>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'loop-templates/content', 'empty' ); ?>
<?php endwhile; // end of the loop. ?>
<?php get_footer(); ?>