36 lines
1.4 KiB
PHP
36 lines
1.4 KiB
PHP
<?php get_header();?>
|
|
|
|
<div class="row">
|
|
<div class="col-xs-12 breadcrumb">
|
|
<?php if(function_exists('bcn_display')){bcn_display();}?>
|
|
</div>
|
|
<div class="col-xs-12">
|
|
<div class="col-xs-12 nopadding-left"><h1>News</h1></div>
|
|
<div class="clearfix"></div>
|
|
|
|
<div class="col-sm-9 nopadding-left">
|
|
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
|
|
<article>
|
|
<div class="meta"><strong><?php the_time("F d, Y");?></strong></div>
|
|
<h3 style="margin: 0; padding: 0 0 5px 0;"><a href="<?php the_permalink();?>" title="<?php the_title();?>"><?php the_title();?></a></h3>
|
|
<div class="content"><?php the_content();?></div>
|
|
</article>
|
|
<hr />
|
|
<?php comments_template(); // Get wp-comments.php template ?>
|
|
|
|
<?php endwhile; else: ?>
|
|
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
|
|
<?php endif; ?>
|
|
|
|
<?php if(function_exists('wp_paginate')) {wp_paginate();} ?>
|
|
</div>
|
|
<div class="col-sm-3 nopadding-right">
|
|
<?php get_sidebar();?>
|
|
</div>
|
|
<div class="clearfix"></div>
|
|
</div>
|
|
<div class="clearfix"></div>
|
|
</div>
|
|
|
|
<?php get_footer(); ?>
|