<?php | |
/* | |
* Template Name: Publish Post | |
*/ | |
?> | |
<?php | |
if ( !is_user_logged_in() ) { | |
auth_redirect(); | |
} | |
get_header(); | |
?> | |
<div class="wrap"> | |
<div id="primary" class="content-area"> | |
<main id="main" class="site-main" role="main"> | |
<?php | |
while ( have_posts() ) : | |
the_post(); | |
the_content(); | |
endwhile; // End of the loop. | |
?> | |
</main><!-- #main --> | |
</div><!-- #primary --> | |
</div><!-- .wrap --> | |
<!-- Content page here --> | |
<?php | |
get_footer(); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment