/
var
/
www
/
barefootlaw.org
/
wp-content
/
themes
/
barefoot
/
Upload File
HOME
<?php /** * The template for displaying Archive pages * * Used to display archive-type pages if nothing more specific matches a query. * For example, puts together date-based pages if no date.php file exists. * * If you'd like to further customize these archive views, you may create a * new template file for each specific one. For example, Twenty Fourteen * already has tag.php for Tag archives, category.php for Category archives, * and author.php for Author archives. * * @link https://codex.wordpress.org/Template_Hierarchy * * @package Aisconverse * @subpackage Covercase * @since Covercase 1.0 */ get_header(); ?> <?php do_action( 'basement_before_wrap_content' ); ?> <?php // Get current template name $template_name = basement_get_template_name(); ?> <div class="content"> <?php covercase_dummy_post_mask(); // Display SVG mask for blog templates ?> <!-- CONTAINER --> <div class="<?php echo strpos($template_name, 'fullwidth') !== false ? 'container-fluid' : 'container'; ?>"> <div class="row"> <?php /** * basement_before_content basement framework hook. * * @hooked basement_output_left_sidebar - 20 (outputs left sidebar) * @hooked basement_output_content_wrapper - 21 (outputs opening divs for the content) * * @package Aisconverse * @subpackage Covercase * @since Covercase 1.0 */ do_action( 'basement_before_content' ); ?> <?php if ( have_posts() ) : // Start the Loop. while ( have_posts() ) : the_post(); /* * Include the post format-specific template for the content. If you want to * use this in a child theme, then include a file called called content-___.php * (where ___ is the post format) and that will be used instead. */ get_template_part( 'template-parts/main/content', get_post_format() ); endwhile; else : // If no content, include the "No posts found" template. get_template_part( 'template-parts/main/content', 'none' ); endif; // Previous/next page navigation. covercase_paging_nav(); $content_blog_class = strpos($template_name, 'fullwidth') !== false ? 'container' : 'col-12'; // Archive Description. the_archive_description( '<section class="content-blog '.esc_attr($content_blog_class).'">', '</section>' ); ?> <?php /** * basement_after_content basement framework hook. * * @hooked basement_output_content_wrapper_end - 19 (outputs closing divs for the content) * @hooked basement_output_right_sidebar - 20 (outputs right sidebar) * * @package Aisconverse * @subpackage Covercase * @since Covercase 1.0 */ do_action( 'basement_after_content' ); ?> </div> </div> <!-- /.container --> </div> <?php do_action( 'basement_after_wrap_content' ); ?> <?php get_footer();