/
var
/
www
/
barefootlaw.org
/
wp-content
/
themes
/
barefoot
/
Upload File
HOME
<?php /** * The main template file * * This is the most generic template file in a WordPress theme and one * of the two required files for a theme (the other being style.css). * It is used to display a page when nothing more specific matches a query, * e.g., it puts together the home page when no home.php file exists. * * @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 template name $template_name = basement_get_template_name(); // Posts carousel feed. covercase_content_feed(); ?> <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(); ?> <?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();