Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
57 lines (49 sloc) 2.2 KB
<?php get_header(); ?>
<div id="home-interior">
<div class="row-fluid">
<div class="page-title clear">
<h1><?php the_title(); ?></h1>
</div>
<div class="interior-hero clear">
<?php the_post_thumbnail(); ?>
</div>
<div class="span11 posts">
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<div class="post content clearfix">
<div class="post-header">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
</div>
<div class="post-content content">
<?php
if ( has_post_thumbnail() ) {
echo '<div class="featured-image">';
the_post_thumbnail('thumbnail');
echo '</div>';
}
?>
<?php
the_content();
?>
</div>
<div class="post-meta">
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"> <?php the_date( 'F j, Y', '<span class="post-date"><i class="icon-calendar"></i>', '</span>' );?></a>
<span class="post-author"><a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>"><i class="icon-user"></i><?php the_author_meta( 'display_name' ); ?></a></span>
<?php
// PHP Request: If the_tags is empty, do not generate the HTML. I don't want the labels and markup making empty space when there are no tags.
the_tags( '<span class="post-tags"><i class="icon-tags"></i>', ', ', '</span>' );
?>
<?php comments_number( '', '<span class="post-comments"><i class="icon-comment"></i>1</span>', '<span class="post-comments"><i class="icon-comment"></i>%</span>' ); ?>
</div>
</div>
<?php endwhile; else: ?>
<div class="alert alert-error">
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
</div>
<?php endif; ?>
<div class="navigation clearfix">
<span class="older"><?php next_posts_link(__('&laquo; Older','example')) ?></span> <span class="newer"><?php previous_posts_link(__('Newer &raquo;','example')) ?></span>
</div><!-- /.navigation -->
</div>
</div>
</div>
<?php get_footer(); ?>
You can’t perform that action at this time.