/
page.php
55 lines (40 loc) · 1.44 KB
/
page.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
51
52
53
54
55
<?php
global $is_tf_blog_page,$post,$is_tf_front_page;
get_header();
if ($is_tf_blog_page)die;
$sidebar_position = tfuse_sidebar_position();
?>
<div <?php tfuse_class('middle'); ?>>
<div class="container_12" style="background:#FFF;">
<?php if ($sidebar_position == 'left') : ?>
<div class="grid_4 sidebar">
<?php get_sidebar(); ?>
</div><!--/ .sidebar -->
<?php endif; ?>
<div class="grid_12 content">
<?php if ($sidebar_position != 'full')
echo '<div class="post-item">'; ?>
<?php wp_reset_postdata(); ?>
<div class="headers_con">
<?php tfuse_custom_title(); ?>
</div>
<div class="entry">
<?php while ( have_posts() ) : the_post(); ?>
<?php the_content(); ?>
<?php
tfuse_comments();
break;
?>
<?php endwhile; // end of the loop. ?>
<?php tfuse_shortcode_content('after'); ?>
<div class="clear"></div>
</div><!--/ .entry -->
<?php if ($sidebar_position != 'full')
echo '</div><!--/ .post-item -->'; ?>
</div><!--/ .content -->
<?php if ($sidebar_position != 'full')
echo '<div class="clear"></div>'; ?>
</div><!--/ .container_12 -->
</div><!--/ .middle -->
<div class="middle_bot"></div>
<?php get_footer(); ?>