1 | <?php
|
---|
2 | /**
|
---|
3 | * Template Name: 1 Left Sidebar (Deprecated)
|
---|
4 | *
|
---|
5 | * @package Suffusion
|
---|
6 | * @subpackage Templates
|
---|
7 | */
|
---|
8 |
|
---|
9 | get_header();
|
---|
10 | ?>
|
---|
11 |
|
---|
12 | <div id="main-col">
|
---|
13 | <?php
|
---|
14 | suffusion_page_navigation();
|
---|
15 | suffusion_before_begin_content();
|
---|
16 | ?>
|
---|
17 | <div id="content">
|
---|
18 |
|
---|
19 | <?php
|
---|
20 | global $post;
|
---|
21 | if (have_posts()) {
|
---|
22 | while (have_posts()) {
|
---|
23 | the_post();
|
---|
24 | $original_post = $post;
|
---|
25 | do_action('suffusion_before_post', $post->ID, 'blog', 1);
|
---|
26 | ?>
|
---|
27 | <article <?php post_class(); ?> id="post-<?php the_ID(); ?>">
|
---|
28 | <?php suffusion_after_begin_post(); ?>
|
---|
29 | <div class="entry-container fix">
|
---|
30 | <div class="entry fix">
|
---|
31 | <?php suffusion_content(); ?>
|
---|
32 | </div><!--/entry -->
|
---|
33 | <?php
|
---|
34 | // Due to the inclusion of Ad Hoc Widgets the global variable $post might have got changed. We will reset it to the original value.
|
---|
35 | $post = $original_post;
|
---|
36 | suffusion_after_content();
|
---|
37 | ?>
|
---|
38 | </div><!-- .entry-container -->
|
---|
39 |
|
---|
40 | <?php suffusion_before_end_post(); ?>
|
---|
41 |
|
---|
42 | <?php comments_template(); ?>
|
---|
43 |
|
---|
44 | </article><!--/post -->
|
---|
45 |
|
---|
46 | <?php
|
---|
47 | do_action('suffusion_after_post', $post->ID, 'blog', 1);
|
---|
48 | }
|
---|
49 | }
|
---|
50 | ?>
|
---|
51 | </div>
|
---|
52 | </div>
|
---|
53 | <?php get_footer(); ?>
|
---|