Files
Testing/tbs/wp-content/themes/bwshop/single-batefuel.php
sean 343b4a3f3f
Some checks are pending
deploy-testing / deploy (push) Waiting to run
Initial testing snapshot
2026-11-19 18:32:17 -05:00

54 lines
2.5 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">
<a href="<?php the_permalink();?>" title="<?php the_title();?>"><img src="<?php the_post_thumbnail_url('full');?>" class="img-responsive" /></a>
</div>
<div class="col-xs-8">
<h3 class="title"><a href="<?php the_permalink();?>" title="<?php the_title();?>"><?php the_title();?></a></h3>
<?php the_content();?>
<p class="text-center">
<a href="<?php echo (types_render_field( 'product-link', array('output' => 'raw') ));?>" target="_blank" class="btn btn-orange btn-lg">CHECK IT OUT</a>
<?php if(current_user_can('administrator')){ ?>
| <a href="<?php bloginfo('url');?>/wp-admin/edit.php?p=< ?php the_ID(); ?>" class="btn btn-orange btn-sm">Edit Post</a>
<?php } ?>
</p>
</div>
<div class="clearfix"></div>
<?php /* comments_template(); */?>
<?php endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?>
</div>
</div>
<!-- / -->
<!-- Sidebar -->
<div class="col-sm-3">
<?php get_sidebar();?>
</div>
<div class="clearfix"></div>
<div class="col-sm-12 pad25bot">
<?php the_field('footer_description',options);?>
</div>
</div>
</div>
<?php get_footer(); ?>