-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsingle.php
More file actions
39 lines (27 loc) · 1.09 KB
/
single.php
File metadata and controls
39 lines (27 loc) · 1.09 KB
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
<?php
/**
* The template file for single posts.
*
*
* You'll notice that the classes and visibility of the sidebars are done programatically here. See the functions.php for
* Instructions on how this works. If you want to do manual sidebar entry you can remove the code and put in your own
* values by hand
*
* Learn more: http://codex.wordpress.org/Template_Hierarchy
*/
//Programatially get the proper widths of the page colums
get_header(); ?>
<?php // Main Content ?>
<div id="content" class="<?php print cogito_wp_col_class( 'content' ); ?>" role="main">
<?php cogito_content_top(); cogito_content_top_single(); ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'loop', get_post_type() ); ?>
<?php endwhile; // end of the loop. ?>
<?php comments_template( '', true ); ?>
<?php cogito_content_bottom(); cogito_content_bottom_single(); ?>
</div>
<?php // Left Sidebar ?>
<?php get_sidebar( 'left' ); ?>
<?php // Right Sidebar ?>
<?php get_sidebar( 'right' ); ?>
<?php get_footer(); ?>