Add blank page.
Useful for complete control when using VisualComposer. - No header - No sidebar - No footer
This commit is contained in:
parent
d17def2f2e
commit
3828b8ee5f
|
@ -0,0 +1,10 @@
|
|||
<?php
|
||||
/**
|
||||
* The template used for displaying page content in page.php
|
||||
*
|
||||
* @package understrap
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php the_content(); ?>
|
||||
|
|
@ -0,0 +1,32 @@
|
|||
<?php
|
||||
/**
|
||||
* Template Name: Blank Page Template
|
||||
*
|
||||
* Template for displaying a blank page.
|
||||
*
|
||||
* @package understrap
|
||||
*/
|
||||
?>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html <?php language_attributes(); ?>>
|
||||
<head>
|
||||
<meta charset="<?php bloginfo('charset'); ?>">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-title" content="<?php bloginfo('name'); ?> - <?php bloginfo('description'); ?>">
|
||||
<link rel="profile" href="http://gmpg.org/xfn/11">
|
||||
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>">
|
||||
<?php wp_head(); ?>
|
||||
</head>
|
||||
<body>
|
||||
<?php while (have_posts()) : the_post(); ?>
|
||||
|
||||
<?php get_template_part('loop-templates/content', 'blank'); ?>
|
||||
|
||||
<?php endwhile; // end of the loop. ?>
|
||||
<?php wp_footer();?>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue