-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsingle.php
More file actions
36 lines (31 loc) · 964 Bytes
/
single.php
File metadata and controls
36 lines (31 loc) · 964 Bytes
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
<?php
/**
* The template for displaying all single posts
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
*
* @package kraftiart
*/
get_header();
?>
<main id="primary" class="site-main">
<div class="container">
<div class="row">
<?php
if( class_exists( 'ReduxFramework' ) && function_exists( 'loadmore_postSC' ) ) {
$kraftiart_options = get_option( 'kraftiart_options' );
if( $kraftiart_options['blog-singal-alignment'] == 'single-blog-right' ){
get_template_part( 'template-parts/blog/blog', 'right' );
}elseif( $kraftiart_options['blog-singal-alignment'] == 'single-blog-left' ){
get_template_part( 'template-parts/blog/blog', 'left' );
}else{
get_template_part( 'template-parts/blog/blog', 'full' );
}
} else {
get_template_part( 'template-parts/blog/blog', 'right' );
} ?>
</div>
</div>
</main><!-- #main -->
<?php
get_footer();