Files
Testing/tbb/wp-content/themes/bblog/search.php
sean 0e8a8b3028
Some checks failed
deploy-testing / deploy (push) Has been cancelled
Initial testing snapshot
2026-11-17 16:15:01 -05:00

60 lines
3.0 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-9">
<?php if (have_posts()) : ?>
<h1 class="widget-title-orange"><span>Search Results for: <strong><?php echo get_search_query(); ?></strong></span></h1>
<?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">
<div onclick="location.href='<?php the_permalink();?>';" style="cursor: pointer; width: 100%; height: 225px; background-size: cover; background-position: center center; background-repeat: no-repeat; background-image: url('<?php the_post_thumbnail_url(); ?>');"></div>
</div>
<div class="col-sm-7">
<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> &nbsp; <?php the_time("F d, Y");?> &nbsp;&nbsp;&nbsp;
<i class="fas fa-comments"></i> &nbsp; <?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-3">
<div class="visible-xs visible-md hidden-sm hidden-lg"><div class="spacing-2x"></div></div>
<h2 class="widget-title-orange"><span>Search</span></h2>
Was this not what you were looking for? Please try again.
<?php get_search_form();?>
<hr />
<?php get_sidebar();?>
</div>
<div class="clearfix"></div>
<div class="spacing-2x"></div>
</div>
<?php get_footer(); ?>