54 lines
2.7 KiB
PHP
54 lines
2.7 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="clearfix"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-sm-8">
|
|
<?php if (have_posts()) : ?>
|
|
<?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
|
|
<?php if (is_category()) { ?><h1 class="widget-title-orange"><span><?php printf(__('%s', 'kubrick'), single_cat_title('', false)); ?></span></h1>
|
|
<?php } ?>
|
|
|
|
<?php while (have_posts()) : the_post(); ?>
|
|
<div class="featured-box-inner" style="margin-bottom: 25px;">
|
|
<div class="featured-content-inner" style="padding: 0 12px;">
|
|
<div>
|
|
<div class="col-sm-5 nopadding mobile-pad">
|
|
<div onclick="location.href='<?php the_permalink();?>';" class="archiveimg" style="cursor: pointer; background-image: url('<?php the_post_thumbnail_url(); ?>');"></div>
|
|
</div>
|
|
<div class="col-sm-7 mobile-pad">
|
|
<div class="meta-categories-featured-inner">
|
|
<?php the_category( ' ' ); ?>
|
|
</div>
|
|
<h3 class="inner"><a class="darklink" href="<?php the_permalink();?>"><?php the_title();?></a></h3>
|
|
<div class="featured-meta-info-inner">
|
|
<i class="fas fa-calendar"></i> <?php the_time("F d, Y");?>
|
|
<i class="fas fa-comments"></i> <?php comments_popup_link('0', '1', '%', 'darklink'); ?>
|
|
</div>
|
|
<div class="featured-excerpt-inner">
|
|
<?php the_excerpt();?>
|
|
</div>
|
|
<div class="featured-excerpt-more">
|
|
<a href="<?php the_permalink();?>" class="darklink readmore">Continue Reading <i class="fa fa-caret-right"></i></a>
|
|
</div>
|
|
</div>
|
|
<div class="clearfix"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<?php endwhile; ?>
|
|
<?php if(function_exists('wp_paginate')) {wp_paginate();} ?>
|
|
<?php endif;?>
|
|
</div>
|
|
<div class="col-sm-4">
|
|
<?php get_sidebar();?>
|
|
</div>
|
|
<div class="clearfix"></div>
|
|
<div class="spacing-2x"></div>
|
|
</div>
|
|
|
|
<?php get_footer(); ?>
|