-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.php
31 lines (29 loc) · 1.12 KB
/
home.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
get_header(); ?>
<section>
<div class="container-fluid">
<div class="row">
<div class="col-sm-9">
<?php if ( have_posts() ) : ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'template-parts/content-home' ); ?>
<?php endwhile; ?>
<?php else : ?>
<p><?php _e( 'Sorry, no posts matched your criteria.', 'pgwoo3' ); ?></p>
<?php endif; ?>
<?php wp_bootstrap_pagination( array(
'first_string' => __( 'Newer Posts', 'pgwoo3' ),
'last_string' => __( 'Older Posts', 'pgwoo3' )
) ); ?>
</div>
<div class="col-sm-3">
<?php if ( is_active_sidebar( 'right_sidebar' ) ) : ?>
<aside id="main_sidebar">
<?php dynamic_sidebar( 'right_sidebar' ); ?>
</aside>
<?php endif; ?>
</div>
</div>
</div>
</section>
<?php get_footer(); ?>