Last active
August 29, 2015 14:02
-
-
Save jepser/5b6edee634bab31597b2 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 | |
/** | |
* The main template file | |
* | |
* @package WordPress Tutorial | |
* @since 0.1.0 | |
*/ | |
get_header(); ?> | |
<div class="container"> | |
<div class="row"> | |
<?php if(have_posts()) : ?> | |
<?php while(have_posts()) : the_post(); ?> | |
<article> | |
<h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3> | |
<?php the_excerpt(); ?> | |
</article> | |
<?php endwhile; ?> | |
<?php endif; ?> | |
</div> | |
</div> | |
<?php get_footer(); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment