Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <!-- Content Starts -->
- <div id="content" class="wrap archive">
- <div class="col-left">
- <div id="main">
- <h2 class="arh"><?php single_cat_title() ?></h2>
- <?php if (have_posts()) : $count = 0; ?>
- <?php while (have_posts()) : the_post(); $count++; ?>
- <!-- Post Starts -->
- <div class="post wrap">
- <h3><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h3>
- <p class="post-details single-details"><?php printf(__('Posted on %1$s by %2$s in','woothemes'), get_the_time(get_option('date_format')), get_the_author_link()); ?> <span class="meta-cat"><?php the_category(', ') ?></span></p>
- <div class="intro">
- <?php the_excerpt(); ?>
- </div>
- <div class="fix"></div>
- <div class="post-image">
- <?php woo_image('key=image&height=80&width=80'); ?>
- </div>
- <div class="post-content">
- <?php the_excerpt(); ?>
- </div>
- <div class="fix"></div>
- </div>
- <!-- Post Ends -->
- <?php if ($count == 1 && get_option('woo_ad_content') == 'true') include (TEMPLATEPATH . "/ads/content_ad.php"); ?>
- <?php endwhile; else: ?>
- <p><?php _e('Sorry, no posts matched your criteria.','woothemes'); ?></p>
- <?php endif; ?>
- <div class="more_entries">
- <?php if (function_exists('wp_pagenavi')) wp_pagenavi(); else { ?>
- <div class="alignleft"><?php previous_posts_link(__('« Newer Entries ','woothemes')) ?></div>
- <div class="alignright"><?php next_posts_link(__(' Older Entries »','woothemes')) ?></div>
- <br class="fix" />
- <?php } ?>
- </div>
- </div><!-- main ends -->
- </div><!-- .col-left ends -->
- <?php get_sidebar(); ?>
- </div><!-- Content Ends -->
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement