|
1 <div class="column-left"> |
|
2 <?php include ('images/img.php'); ?> |
|
3 |
|
4 <?php /* Widgetized sidebar, if you have the plugin installed. */ ?> |
|
5 <!-- Author information is disabled per default. Uncomment and fill in your details if you want to use it. |
|
6 <li><h2>Author</h2> |
|
7 <p>A little something about you, the author. Nothing lengthy, just an overview.</p> |
|
8 </li> |
|
9 --> |
|
10 <?php if ( is_404() || is_category() || is_day() || is_month() || |
|
11 is_year() || is_search() || is_paged() ) { |
|
12 ?> |
|
13 |
|
14 <?php /* If this is a 404 page */ if (is_404()) { ?> |
|
15 <?php /* If this is a category archive */ } elseif (is_category()) { ?> |
|
16 <p class="info-sidebar">You are currently browsing the archives for the <?php single_cat_title(''); ?> category.</p> |
|
17 |
|
18 <?php /* If this is a yearly archive */ } elseif (is_day()) { ?> |
|
19 <p class="info-sidebar">You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> blog archives |
|
20 for the day <?php the_time('l, F jS, Y'); ?>.</p> |
|
21 |
|
22 <?php /* If this is a monthly archive */ } elseif (is_month()) { ?> |
|
23 <p class="info-sidebar">You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> blog archives |
|
24 for <?php the_time('F, Y'); ?>.</p> |
|
25 |
|
26 <?php /* If this is a yearly archive */ } elseif (is_year()) { ?> |
|
27 <p class="info-sidebar">You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> blog archives |
|
28 for the year <?php the_time('Y'); ?>.</p> |
|
29 |
|
30 <?php /* If this is a monthly archive */ } elseif (is_search()) { ?> |
|
31 <p class="info-sidebar">You have searched the <a href="<?php echo bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> blog archives |
|
32 for <strong>'<?php the_search_query(); ?>'</strong>. If you are unable to find anything in these search results, you can try one of these links.</p> |
|
33 |
|
34 <?php /* If this is a monthly archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?> |
|
35 <p class="info-sidebar">You are currently browsing the <a href="<?php echo bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> blog archives.</p> |
|
36 |
|
37 <?php } ?> |
|
38 |
|
39 <?php }?> |
|
40 |
|
41 <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(__('Right Sidebar','theme857')) ) : else : ?> |
|
42 |
|
43 <div class="widget widget_categories"><div class="widget-bg"> |
|
44 <div class="title"> |
|
45 <div><h2><?php _e('Categories','theme857'); ?></h2></div> |
|
46 </div> |
|
47 <ul> |
|
48 <?php wp_list_categories('show_count=1&title_li='); ?> |
|
49 </ul> |
|
50 </div></div> |
|
51 |
|
52 <div class="widget widget_archive"><div class="widget-bg"> |
|
53 <div class="title"> |
|
54 <div><h2><?php _e('Archives','theme857'); ?></h2></div> |
|
55 </div> |
|
56 <ul> |
|
57 <?php wp_get_archives('type=monthly'); ?> |
|
58 </ul> |
|
59 </div></div> |
|
60 |
|
61 <div class="widget widget_meta"><div class="widget-bg"> |
|
62 <div class="title"> |
|
63 <div><h2><?php _e('Meta','theme857'); ?></h2></div> |
|
64 </div> |
|
65 <ul> |
|
66 <?php wp_register(); ?> |
|
67 <li><?php wp_loginout(); ?></li> |
|
68 |
|
69 <li><a href="http://www.w3.org/" title="This page The World Wide Web Consortium (W3C)"><abbr title="World Wide Web Consortium">W3C</abbr> Page</a></li> |
|
70 |
|
71 <li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li> |
|
72 <li><a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress</a></li> |
|
73 <?php wp_meta(); ?> |
|
74 </ul> |
|
75 </div></div> |
|
76 |
|
77 <?php endif; ?> |
|
78 </div> |