-
Notifications
You must be signed in to change notification settings - Fork 0
/
template-sidebar-left.php
65 lines (46 loc) · 1.92 KB
/
template-sidebar-left.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
56
57
58
59
60
61
62
63
64
65
<?php
global $options;
foreach ($options as $value) {
if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); }
}
?>
<?php
/*
Template Name: Sidebar: Left
*/
?>
<?php get_header(); ?>
<div id="featured">
<div class="main_wrap">
<h1><?php the_title(); ?></h1>
<div class="clear"></div>
</div>
</div>
<div class="clear"></div>
<div id="main">
<div class="main_wrap">
<div class="content side-left">
<div class="post_content">
<?php wp_reset_query(); if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="meta">
<?php edit_post_link( __('Edit', 'wpzoom'), '', ''); ?>
</div>
<div class="entry">
<?php if (strlen($wpzoom_ad_content_imgpath) > 1 && $wpzoom_ad_content_select == 'Yes' && $wpzoom_ad_content_pos == 'Before') { echo '<div class="banner">'.stripslashes($wpzoom_ad_content_imgpath)."</div>"; }?>
<?php the_content(); ?>
<?php wp_link_pages(array('before' => '<p class="pages"><strong>'.__('Pages', 'wpzoom').':</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
<?php if ($wpzoom_singlepost_tags == 'Show') { the_tags('<p class="tags">Tags ', ' ', '</p>'); } ?>
<div class="cleaner"> </div>
<?php if (strlen($wpzoom_ad_content_imgpath) > 1 && $wpzoom_ad_content_select == 'Yes' && $wpzoom_ad_content_pos == 'After') { echo '<div class="banner">'.stripslashes($wpzoom_ad_content_imgpath)."</div>"; }?>
</div><!-- end .entry -->
<?php endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria', 'wpzoom');?>.</p>
<?php endif; ?>
<div class="cleaner"> </div>
</div><!-- /.post_content -->
<div id="sidebar">
<?php get_sidebar(); ?>
</div><!-- end #sidebar -->
<div class="cleaner"> </div>
</div><!-- end #content -->
<?php get_footer(); ?>