Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
d04557f9df
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
39 lines (30 sloc) 867 Bytes
<?php
/**
*/
get_header(); ?>
<?php if ( !empty($posts) && isset($posts[0])) : foreach( $posts as $post ) : setup_postdata($post); ?>
<div id="primary" class="site-content">
<div id="content" role="main">
<div class="row">
<?php while ( have_posts() ) : the_post(); ?>
<div class="post content clearfix" id="post-<?php the_ID(); ?>">
<h1>
</h1>
<div class="span12">
<?php get_template_part( 'content', get_post_format() ); ?>
<h1><?php the_title(); ?></h1>
<?php the_content(); ?>
<br /><br />
<p><em>Posted <?php the_time('F j, Y'); ?></em></p>
</div>
</div> <?php endwhile; // end of the loop. ?>
</div><!-- #content -->
</div>
</div>
<?php endforeach; ?>
<?php else: ?>
<p>
<?php _e('Sorry, no recent news.'); ?>
</p>
<?php endif; ?>
<?php get_footer(); ?>