Skip to content
Permalink
master
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
<?php
// This is used when viewing a single post.
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<?php /* if ( has_post_thumbnail() ) {
echo '<div class="row">';
echo '<div class="col-sm-2">';
the_post_thumbnail();
echo '</div>';
echo '<div class="col-sm-10">';
} */?>
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
<div class="entry-meta">
<ul class="single-author-tags clearfix" >
<li class="single-author">by: <strong class="less-strong"><?php the_author(); ?></strong></li>
<li class="news-story-date"><?php the_time('F j, Y'); ?></li>
<li class="single-category">
<ul class="post-categories">
<?php
$categories = get_the_category();
$separator = ' ';
$output = '';
if($categories){
foreach($categories as $category) {
if($category->name !== 'Uncategorized')
if($category->name !== 'Home-Featured')
if($category->name !== 'News Featured')
{
$output .= '<li><a href="'.get_category_link( $category->term_id ).'" title="' . esc_attr( sprintf( __( "View all posts in %s" ), $category->name ) ) . '">'.$category->cat_name.'</a></li>'.$separator; }
}
echo trim($output, $separator);
}
?>
</ul>
</li>
</ul>
</div><!-- .entry-meta -->
</header><!-- .entry-header -->
<div class="entry-content clearfix subpage">
<div class="single-content-wrapper">
<!-- <div class="single-featured-image">
<?php the_post_thumbnail('medium') ?>
</div> -->
<div class="single-content">
<?php the_content(); ?>
</div>
</div>
<?php
wp_link_pages( array(
'before' => '<div class="page-links">' . __( 'Pages:', 'cs' ),
'after' => '</div>',
) );
?>
</div>
<hr /><!-- .entry-content -->
</footer><!-- .entry-footer -->
</article><!-- #post-## -->