-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpage.php
More file actions
27 lines (27 loc) · 1.08 KB
/
page.php
File metadata and controls
27 lines (27 loc) · 1.08 KB
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
<?php // Exit if accessed directly
if (!defined('ABSPATH')) {echo '<h1>Forbidden</h1>'; exit();} get_header(); ?>
<section class="page-section with-sidebar">
<div class="container">
<div class="row">
<aside class="col-md-3 sidebar" id="sidebar">
<?php get_sidebar(); ?>
</aside>
<div class="col-md-9 content" id="content">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post();
get_template_part('partials/article'); ?>
<br>
<?php comments_template( '', true ); ?>
<?php endwhile; ?>
<?php if ($wp_query->max_num_pages>1) : ?>
<?php bella_pagination(); ?>
<?php endif; ?>
<?php else : ?>
<?php get_template_part('partials/nothing-found'); ?>
<?php endif; ?>
</div>
</div>
</div>
</section>
<?php get_template_part('partials/shop-banners');?>
<?php get_footer(); ?>