Current Path : /storage/v11800/acejewellery/public_html/wp-content/themes/lindo/ |
Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64
|
Current File : /storage/v11800/acejewellery/public_html/wp-content/themes/lindo/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 Lindo
* @since Lindo 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;
lindo_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(); ?>