49 lines
2.4 KiB
PHP
49 lines
2.4 KiB
PHP
<?php get_header(); ?>
|
|
|
|
<div class="row">
|
|
<div class="col-sm-12">
|
|
<!-- Content Side -->
|
|
<div class="col-sm-9 mobile-pad-adjust">
|
|
<div class="breadcrumb"><?php if(function_exists('bcn_display')) {bcn_display();}?></div>
|
|
<div class="col-sm-12 mobile-pad-adjust">
|
|
<h1 class="archive-headings">Batefuel</h1>
|
|
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
|
|
<div class="col-xs-4 nopadding-left">
|
|
<a href="<?php the_permalink();?>" title="<?php the_title();?>"><img src="<?php the_post_thumbnail_url('medium');?>" class="img-responsive" /></a>
|
|
</div>
|
|
<div class="col-xs-8 nopadding-left">
|
|
<h3 class="title"><a href="<?php the_permalink();?>" title="<?php the_title();?>"><?php the_title();?></a></h3>
|
|
<?php the_excerpt();?>
|
|
|
|
<a href="<?php echo (types_render_field( 'product-link', array('output' => 'raw') ));?>" target="_blank" class="btn btn-orange btn-sm">CHECK IT OUT</a>
|
|
|
|
<a href="<?php the_permalink();?>" class="btn btn-orange btn-sm">READ MORE</a>
|
|
</div>
|
|
<div class="clearfix"></div>
|
|
<hr />
|
|
<?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>
|
|
<!-- / -->
|
|
|
|
<!-- Sidebar -->
|
|
<div class="col-sm-3">
|
|
<?php get_sidebar();?>
|
|
</div>
|
|
<div class="clearfix"></div>
|
|
|
|
<!-- Note -->
|
|
<div class="col-sm-12 pad25bot">
|
|
<?php the_field('footer_description',options);?>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<?php get_footer(); ?>
|