forked from fienen/wp-zerofour
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsingle.php
50 lines (44 loc) · 1.34 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
/**
* Template Name: Right Sidebar Page
*
* @package WordPress
* @subpackage WP-ZeroFour
* @since WP-ZeroFour 1.0
*/
get_header(); ?>
<div class="main-wrapper-style2">
<div class="inner">
<div class="container">
<div class="row">
<div class="8u">
<div id="content skel-cell-important">
<?php
// Start the Loop.
if( have_posts() ) :
while ( have_posts() ) : the_post();
// Include the page content template.
get_template_part( 'content', get_post_format() );
// If comments are open or we have at least one comment, load up the comment template.
if ( comments_open() || get_comments_number() ) {
comments_template();
}
endwhile;
endif;
?>
</div> <!-- #content.skel-cell-important -->
</div> <!-- .8u -->
<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
<div class="4u">
<div id="sidebar" class="primary-sidebar widget-area" role="complementary">
<?php dynamic_sidebar( 'sidebar-1' ); ?>
</div> <!-- #sidebar -->
</div> <!-- .4u -->
<?php endif; ?>
</div> <!-- .row -->
</div> <!-- .container -->
</div> <!-- .inner -->
</div> <!-- .main-wrapper-style2 -->
<?php // get_template_part( 'loop', 'recent-posts' ); ?>
</div> <!-- .main-wrapper -->
<?php get_footer(); ?>