forked from kokonior/PHP-Projects
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjoni2.php
30 lines (25 loc) · 1.28 KB
/
joni2.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
<?php get_header(); ?>
<section class="section">
<div class="container">
<div class="row">
<?php $layout_value = get_theme_mod( 'andaman_sidebars', 'sidebar-right' ); ?>
<?php if ($layout_value == 'sidebar-left'): ?>
<div class="col-lg-8 col-md-8 col-sm-12 sidebar-left">
<?php get_template_part( 'framework/content/content');?>
</div>
<?php get_sidebar(); ?>
<?php elseif ($layout_value == 'sidebar-right'): ?>
<div class="col-lg-8 col-md-8 col-sm-12 sidebar-right">
<?php get_template_part( 'framework/content/content');?>
</div>
<?php get_sidebar(); ?>
<?php else: ?>
<div class="col-lg-12 col-md-12 col-sm-12 no-sidebar">
<?php get_template_part( 'framework/content/content');?>
</div>
<?php endif; ?>
</div>
</div>
<?php the_posts_pagination( array('prev_text' => esc_html__('«','andaman'), 'next_text' => esc_html__('»','andaman'))) ?>
</section>
<?php get_footer(); ?>