Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <div id="content" class="col-full">
- <div id="main" class="col-left box">
- <?php
- // Get thumbnail variables
- $thumb_w = get_option('woo_thumb_w');
- $thumb_h = get_option('woo_thumb_h');
- ?>
- <?php if (have_posts()) : $count = 0; ?>
- <?php if (is_category()) { ?>
- <span class="archive_header"><span class="fl cat"><?php _e('Archive', 'woothemes'); ?> | <?php echo single_cat_title(); ?></span> <span class="fr catrss"><?php $cat_obj = $wp_query->get_queried_object(); $cat_id = $cat_obj->cat_ID; echo '<a href="'; get_category_rss_link(true, $cat, ''); echo '">'.__('RSS feed for this section', 'woothemes').'</a>'; ?></span></span>
- <?php } elseif (is_day()) { ?>
- <span class="archive_header"><?php _e('Archive', 'woothemes'); ?> | <?php the_time(get_option('date_format')); ?></span>
- <?php } elseif (is_month()) { ?>
- <span class="archive_header"><?php _e('Archive', 'woothemes'); ?> | <?php the_time('F, Y'); ?></span>
- <?php } elseif (is_year()) { ?>
- <span class="archive_header"><?php _e('Archive', 'woothemes'); ?> | <?php the_time('Y'); ?></span>
- <?php } elseif (is_author()) { ?>
- <span class="archive_header"><?php _e('Archive by Author', 'woothemes'); ?></span>
- <?php } elseif (is_tag()) { ?>
- <span class="archive_header"><?php _e('Tag Archives:', 'woothemes'); ?> <?php echo single_tag_title('', true); ?></span>
- <?php } ?>
- <div class="fix"></div>
- <?php while (have_posts()) : the_post(); $count++; ?>
- <!-- Post Starts -->
- <div <?php post_class(); ?>>
- <?php woo_get_image('image',$thumb_w,$thumb_h,'alignleft thumbnail'); ?>
- <h2 class="title"><a href="<?php the_permalink() ?>" target="_blank" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
- <p class="post-meta">
- <span class="date"><?php the_time(get_option('date_format')); ?> •</span>
- <span><?php _e('Categories', 'woothemes') ?>: <?php the_category(', ') ?> •</span>
- <span><?php _e('by', 'woothemes') ?> <?php the_author_posts_link(); ?></span>
- </p>
- <div class="entry">
- <?php the_excerpt(); ?>
- </div><!-- /.entry -->
- <p class="post-meta">
- <span><?php comments_popup_link(__('0 Comments', 'woothemes'), __('1 Comment', 'woothemes'), __('% Comments', 'woothemes')); ?></span>
- </p>
- </div><!-- /.post -->
- <?php endwhile; else: ?>
- <div class="post">
- <p><?php _e('Sorry, no posts matched your criteria.', 'woothemes') ?></p>
- </div><!-- /.post -->
- <?php endif; ?>
- <?php woo_pagenav(); ?>
- </div><!-- /#main -->
- <?php get_sidebar(); ?>
- </div><!-- /#content -->
- <?php get_footer(); ?>
Add Comment
Please, Sign In to add comment