This repository has been archived on 2023-08-16. You can view files and clone it, but cannot push or open issues or pull requests.
2018-03-21 18:19:20 +00:00
|
|
|
<?php
|
2021-01-22 16:19:51 +00:00
|
|
|
/**
|
|
|
|
* Template Name: Centred Page
|
|
|
|
*
|
|
|
|
* Displays a full-screen page with content in the center.
|
|
|
|
*
|
|
|
|
* @package Omphaloskepsis
|
|
|
|
* @since Omphaloskepsis 1.0
|
|
|
|
*/
|
2021-01-09 11:13:06 +00:00
|
|
|
|
2021-01-22 16:19:51 +00:00
|
|
|
get_header(); ?>
|
2018-03-21 18:19:20 +00:00
|
|
|
|
|
|
|
<main id="centred-page" role="main">
|
2021-01-09 11:13:06 +00:00
|
|
|
<?php
|
|
|
|
while ( have_posts() ) :
|
|
|
|
the_post();
|
|
|
|
?>
|
2021-01-22 16:19:51 +00:00
|
|
|
<h1><?php echo wp_kses_post( get_the_title() ); ?></h1>
|
2018-03-21 18:19:20 +00:00
|
|
|
<h2><?php the_content(); ?></h2>
|
|
|
|
<?php endwhile; ?>
|
|
|
|
</main>
|
|
|
|
|
|
|
|
<?php get_footer(); ?>
|