-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsingle.php
50 lines (44 loc) · 1.69 KB
/
single.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?php get_header(); ?>
<?php
$increase_sidebar_position = get_field('increase_options_sidebar_position','options');
?>
<div class="wrap <?php if($increase_sidebar_position != 'disabled'){echo 'row';} ?>">
<?php if($increase_sidebar_position != 'disabled'){ ?>
<div class="col-12">
<?php } ?>
<div class="dynamic-content-margin" id="primary">
<main id="main" class="site-main" role="main">
<?php if (have_posts()) { ?>
<div class="post-wrap">
<?php while ( have_posts() ) : the_post(); ?>
<?php
get_template_part( 'template-parts/post/content' );
// If comments are open or we have at least one comment, load up the comment template.
if ( comments_open() || get_comments_number() ) :
comments_template();
endif;
// the_post_navigation( array(
//
//
// 'prev_text' =>
// ' <span class="nav-title-left "><span class="nav-title-icon-wrapper">
// </span><</span>',
//
//
// 'next_text' =>
// '<span class="nav-title-right">><span class="nav-title-icon-wrapper"> </span></span>',
// ) );
?>
<?php endwhile; ?>
</div>
<?php }; ?>
</main>
</div>
<?php/* if($increase_sidebar_position != 'disabled'){ ?>
</div>
<div class="col-md-4 col-lg-3 <?php if($increase_sidebar_position == 'left'){echo 'order-md-first';} ?>">
<?php get_sidebar(); ?>
</div>
<?php } */?>
</div>
<?php get_footer();