Created
August 8, 2017 13:43
-
-
Save domantasg/01b033dd7d93e7adc018eb453bdb5cc6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php get_header(); ?> | |
<main class="wrap"> | |
<section class="content-area content-thin"> | |
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> | |
<article class="article-full"> | |
<header> | |
<h2><?php the_title(); ?></h2> | |
By: <?php the_author(); ?> | |
</header> | |
<?php the_content(); ?> | |
</article> | |
<?php endwhile; else : ?> | |
<article> | |
<p>Sorry, no page was found!</p> | |
</article> | |
<?php endif; ?> | |
</section><?php get_sidebar(); ?> | |
</main> | |
<?php get_footer(); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment