File: //proc/thread-self/root/var/www/html/wpprotonperinggit/wp-content/themes/voiture/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: {@link https://codex.wordpress.org/Template_Hierarchy}
*
* @package WordPress
* @subpackage Voiture
* @since Voiture 1.0
*/
get_header();
?>
<div id="primary" class="content-area content-index">
<main id="main" class="site-main" role="main">
<div class="container">
<div class="container-inner main-content">
<div class="row">
<!-- MAIN CONTENT -->
<div class="col-lg-9 col-md-9 col-sm-9 col-xs-12">
<?php if ( have_posts() ) :
while ( have_posts() ) : the_post();
?>
<div class="layout-blog">
<?php get_template_part( 'template-posts/loop/inner-grid' ); ?>
</div>
<?php
// End the loop.
endwhile;
voiture_paging_nav();
?>
<?php else : ?>
<?php get_template_part( 'template-posts/content', 'none' ); ?>
<?php endif; ?>
</div>
<div class="col-sm-3 col-xs-12 sidebar">
<?php if ( is_active_sidebar( 'sidebar-default' ) ): ?>
<?php dynamic_sidebar('sidebar-default'); ?>
<?php endif; ?>
</div>
</div>
</div>
</div>
</main><!-- .site-main -->
</div><!-- .content-area -->
<?php get_footer(); ?>