wordpress-theme-cbsonline/single.php

64 lines
1.9 KiB
PHP

<?php get_header(); ?>
<!-- [ #container ] -->
<div id="container" class="innerBox">
<!-- [ #content ] -->
<div id="content" class="content side">
<div class="bcnlist">
<?php if(function_exists('bcn_display'))
{
bcn_display();
}?>
</div>
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
<!-- [ #post- ] -->
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<h1 class="entry-title"><?php the_title(); ?><?php edit_post_link(__('Edit', 'bizvektor-global-edition'), ' <span class="edit-link edit-item">[ ', ' ]' ); ?></h1>
<div class="entry-meta">
<?php _e('Posted on', 'bizvektor-global-edition'); ?> : <?php echo esc_html( get_the_date() ); ?>
</div>
<!-- .entry-meta -->
<div class="entry-content post-content">
<?php the_content(); ?>
<?php wp_link_pages( array( 'before' => '<div class="page-link">' . 'Pages:', 'after' => '</div>' ) ); ?>
<div class="entry-utility">
<?php
$tags_list = get_the_tag_list( '', ', ' );
if ( $tags_list ):
?>
<dl class="tag-links">
<?php printf( __('<dt>Tags</dt><dd>%1$s</dd>', 'bizvektor-global-edition'), $tags_list ); ?>
</dl>
<?php endif; ?>
</div>
<!-- .entry-utility -->
</div><!-- .entry-content -->
<div id="nav-below" class="navigation">
<div class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">&larr;</span> %title' ); ?></div>
<div class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">&rarr;</span>' ); ?></div>
</div><!-- #nav-below -->
</div>
<!-- [ /#post- ] -->
<?php if ( comments_open() || get_comments_number() ) { comments_template(); } ?>
<?php endwhile; // end of the loop. ?>
</div>
<!-- [ /#content ] -->
<!-- [ #sideTower ] -->
<div id="sideTower" class="sideTower side">
<?php get_sidebar(get_post_type()); ?>
</div>
<!-- [ /#sideTower ] -->
</div>
<!-- [ /#container ] -->
<?php get_footer(); ?>