Files
medicalalert-web-reloaded/wp/wp-content/themes/thbusiness/archive.php
Tony Volpe 2c48165cf4 Merged in bugfix/MAW-868-catch-up-missing-code (pull request #26)
MAW-868: catch up missing code

* MAW-868: catch up missing code
2024-01-29 18:26:23 +00:00

60 lines
1.6 KiB
PHP

<?php
/**
* The template for displaying Archive pages.
*
* Learn more: http://codex.wordpress.org/Template_Hierarchy
*
* @package thbusiness
*/
get_header(); ?>
<div class="col-xs-11 col-sm-11 col-md-11" style="margin-top:30px; margin-right: auto; margin-left: auto;">
<section id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<?php if ( have_posts() ) : ?>
<header class="page-header">
<h1 class="page-title"> Results</h1>
</header><!-- .page-header -->
<div class="row">
<div class="col-xs-3 col-sm-3 col-md-3">
<?php echo do_shortcode('[searchandfilter id="46870"]'); ?>
</div>
<div class="col-xs-9 col-sm-9 col-md-9 blogpost">
<?php /* Start the Loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php
/* Include the Post-Format-specific template for the content.
* If you want to override this in a child theme, then include a file
* called content-___.php (where ___ is the Post Format name) and that will be used instead.
*/
get_template_part( 'content', get_post_format() );
?>
<?php endwhile; ?>
</div>
</div>
<div class="row justify-content-center">
<?php thbusiness_paging_nav(); ?>
<?php else : ?>
<?php get_template_part( 'content', 'none' ); ?>
<?php endif; ?>
</div>
</main><!-- #main -->
</section><!-- #primary -->
</div><!-- .col-xs-12 col-sm-12 col-md-8 -->
<!-- <div class="col-xs-9col-sm-9 col-md-9" style="margin:auto;">
</div> --><!-- .col-xs-12 .col-sm-6 .col-md-4 -->
<?php get_footer(); ?>