29 lines
451 B
PHP
29 lines
451 B
PHP
<?php
|
|
/*
|
|
* Template Name: Centred Page
|
|
*/
|
|
|
|
/**
|
|
*
|
|
*
|
|
* Displays a full-screen page with content in the center.
|
|
*
|
|
* @package WordPress
|
|
* @subpackage Omphaloskepsis
|
|
* @since Omphaloskepsis 1.0
|
|
*/
|
|
?>
|
|
|
|
<?php get_header(); ?>
|
|
|
|
<main id="centred-page" role="main">
|
|
<?php
|
|
while ( have_posts() ) :
|
|
the_post();
|
|
?>
|
|
<h1><?php echo get_the_title(); ?></h1>
|
|
<h2><?php the_content(); ?></h2>
|
|
<?php endwhile; ?>
|
|
</main>
|
|
|
|
<?php get_footer(); ?>
|