Skip to content
Newer
Older
100644 42 lines (31 sloc) 1.96 KB
642c326 Intial Code
jeremyclark13 authored Apr 23, 2010
1 <?php get_header();
2ba7c8d Fixed layout error with ie 7. Fixed error with two column setting alw…
jeremyclark13 authored Dec 13, 2010
2 $date_format = get_option('date_format');
063df73 @jeremyclark13 Version 2.0 beta release
authored Nov 29, 2011
3 if (of_get_option('home_sidebar','1') == "1") tech_show_sidebar("l");
4 ?>
642c326 Intial Code
jeremyclark13 authored Apr 23, 2010
5
063df73 @jeremyclark13 Version 2.0 beta release
authored Nov 29, 2011
6 <div id="content" class="<?php if (of_get_option('home_sidebar','1') != "1" || of_get_option('sidebar_pos','3-col') == '1-col') { echo "wide"; }else {echo "narrow";}?>column">
642c326 Intial Code
jeremyclark13 authored Apr 23, 2010
7
063df73 @jeremyclark13 Version 2.0 beta release
authored Nov 29, 2011
8 <?php if (have_posts()) { ?>
642c326 Intial Code
jeremyclark13 authored Apr 23, 2010
9
10 <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
11 <?php /* If this is a category archive */ if (is_category()) { ?>
ee4ac30 @jeremyclark13 Techozoic 2.0.4
authored Apr 12, 2012
12 <h2 class="pagetitle"><?php printf(__('%s Archive','techozoic'), single_cat_title('',false)); ?></h2>
642c326 Intial Code
jeremyclark13 authored Apr 23, 2010
13
14 <?php /* If this is a daily archive */ } elseif (is_day()) { ?>
15 <h2 class="pagetitle"><?php printf(__('Archive for %s' ,'techozoic'), get_the_time('F jS, Y')); ?></h2>
16
17 <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
18 <h2 class="pagetitle"><?php printf(__('Archive for %s' ,'techozoic'), get_the_time('F, Y')); ?></h2>
19
20 <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
21 <h2 class="pagetitle"><?php printf(__('Archive for %s' ,'techozoic'), get_the_time('Y')); ?></h2>
22
23 <?php /* If this is a search */ } elseif (is_search()) { ?>
24 <h2 class="pagetitle"><?php _e('Search Results' ,'techozoic')?></h2>
25
26 <?php /* If this is an author archive */ } elseif (is_author()) { ?>
27 <h2 class="pagetitle"><?php _e('Author Archive' ,'techozoic')?></h2>
28
29 <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
30 <h2 class="pagetitle"><?php _e('Blog Archives' ,'techozoic')?></h2>
31
063df73 @jeremyclark13 Version 2.0 beta release
authored Nov 29, 2011
32 <?php }
33 }?>
642c326 Intial Code
jeremyclark13 authored Apr 23, 2010
34 <div class="navigation">
ee4ac30 @jeremyclark13 Techozoic 2.0.4
authored Apr 12, 2012
35 <div class="alignleft"><?php next_posts_link(__('&laquo; Older Entries' , 'techozoic')) ?></div>
36 <div class="alignright"><?php previous_posts_link(__('Newer Entries &raquo;' , 'techozoic')) ?></div>
37 </div>
063df73 @jeremyclark13 Version 2.0 beta release
authored Nov 29, 2011
38 <?php get_template_part( 'loop' , 'archive'); ?>
642c326 Intial Code
jeremyclark13 authored Apr 23, 2010
39
40 </div>
063df73 @jeremyclark13 Version 2.0 beta release
authored Nov 29, 2011
41 <?php if (of_get_option('home_sidebar','1') == "1") tech_show_sidebar("r");
6e2a9c6 Fixed error with images aligned left or right falling out of post con…
jeremyclark13 authored May 11, 2010
42 get_footer(); ?>
Something went wrong with that request. Please try again.