Merge pull request #88 from omarusman/master
Add blank page. Thx @omarusman ! +1
This commit is contained in:
commit
b15d7c8697
|
@ -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