-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsingle.php
More file actions
executable file
·54 lines (31 loc) · 984 Bytes
/
single.php
File metadata and controls
executable file
·54 lines (31 loc) · 984 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?php
/**
* Singular Content Template
*/
?>
<?php get_header(); ?>
<div class="main wrap cf">
<div class="row">
<div class="col-8 main-content">
<?php while (have_posts()) : the_post(); ?>
<?php include( 'ads/responsive.php' ); ?>
<?php
$panels = get_post_meta(get_the_ID(), 'panels_data', true);
if (!empty($panels) && !empty($panels['grid'])):
get_template_part('content', 'builder');
else:
get_template_part('content', 'single');
endif;
?>
<?php //edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
<div class="comments">
<?php comments_template('', true); ?>
</div>
<?php include( 'related-posts.php' ); ?>
<?php include( 'social.php' ); ?>
<?php endwhile; // end of the loop. ?>
</div>
<?php Bunyad::core()->theme_sidebar(); ?>
</div> <!-- .row -->
</div> <!-- .main -->
<?php get_footer(); ?>