-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpage-left-sidebar.php
35 lines (28 loc) · 1.15 KB
/
page-left-sidebar.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
<?php
/**
* Template name: Single page with left sidebar
*
*/
get_header(); ?>
<div id="main_wrapper">
<?php if($e404_options['breadcrumbs']) : ?><div id="breadcrumb"><?php e404_breadcrumbs(); ?></div><?php endif; ?>
<?php include(OF_FILEPATH.'/main-intro-box.php'); ?>
<div id="sidebar" class="one_third">
<?php get_sidebar('page'); ?>
</div>
<div id="page-content" class="two_third last">
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
<?php if($e404_options['page_titles']) : ?><h2 class="fancy-header"><a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2><?php endif; ?>
<div id="post-<?php the_ID(); ?>">
<?php if(!is_attachment() && $e404_options['page_comments']) : ?><div class="comments"><a href="<?php comments_link(); ?>"><?php comments_number('0', '1', '%'); ?></a></div><?php endif; ?>
<?php the_content(); ?>
<?php if(!is_attachment() && $e404_options['page_comments']) {
comments_template('', true);
} ?>
</div>
<?php endwhile; ?>
<?php get_template_part('navigation'); ?>
</div>
<br class="clear" />
</div>
<?php get_footer(); ?>