File: //backups/73incnz/wp-content/themes/ovation/index.php
<?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.
* Learn more: https://codex.wordpress.org/Template_Hierarchy
*
* @package Ovation
* @since 1.0.0
*/
get_header();
?>
<main id="primary" class="content-area" role="main">
<?php do_action( 'ovation_main_top' ); ?>
<?php if ( have_posts() ) : ?>
<div class="content-area-inside">
<div id="posts-container" <?php ovation_posts_class(); ?>>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'templates/parts/content', ovation_post_template_name() ); ?>
<?php endwhile; ?>
</div>
</div>
<?php ovation_posts_navigation(); ?>
<?php else : ?>
<div class="content-area-inside">
<?php get_template_part( 'templates/parts/content', 'none' ); ?>
</div>
<?php endif; ?>
<?php do_action( 'ovation_main_bottom' ); ?>
</main>
<?php
get_footer();