Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <?php if (have_posts()) : ?>
- <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
- <?php /* If this is a category archive */ if (is_category()) { ?>
- <h2><?php _e('Archive for the','text_domain'); ?> ‘ <?php single_cat_title(); ?> ’ <?php _e('Category','text_domain'); ?></h2>
- <?php /* If this is a tag archive */ } elseif( is_tag()) { ?>
- <h2><?php _e('Showing pages tagged', 'text_domain'); ?> ‘ <?php single_tag_title(); ?> ’</h2>
- <?php /* If this is a daily archive */ } elseif (is_day()) { ?>
- <h2><?php _e('Archive for','text_domain'); ?> <?php the_time('F jS, Y'); ?></h2>
- <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
- <h2><?php _e('Archive for','text_domain'); ?> <?php the_time('F, Y'); ?></h2>
- <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
- <h2><?php _e('Archive for','text_domain'); ?> <?php the_time('Y'); ?></h2>
- <?php /* If this is an author archive */ } elseif (is_author()) { ?>
- <h2><?php _e('Author Archive','text_domain'); ?> </h2>
- <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
- <h2><?php _e('Blog Archives','text_domain'); ?> </h2>
- <?php } ?>
- <?php while (have_posts()) : the_post(); ?>
- <div <?php post_class() ?>>
- <div id="section-inner">
- <div id="section-one-sub-heading" style="margin-bottom:0px;">
- <a href="<?php the_permalink(); ?> "><?php the_title(); ?></a>
- </div><!--section-one heading-->
- <div id="section-one-content">
- <?php //include (TEMPLATEPATH . '/inc/meta.php' ); ?>
- <div class="meta"></div>
- <div class="entry">
- <?php if ( has_post_thumbnail() ) { ?>
- <div class="thumb">
- <?php the_post_thumbnail(); ?>
- </div>
- <?php } ?>
- <?php
- global $more; // Declare global $more (before the loop).
- $more = 0; // Set (inside the loop) to display content above the more tag.
- the_content(__(''));
- ?>
- <div class="more-link">
- <a href="<?php the_permalink(); ?>" style="margin-top:10px;">mere <span class="arrow"><img src="<?php bloginfo('template_directory'); ?>/images/arrow.png" width="12" height="11" /></span></a>
- </div><!--more link-->
- <?php wp_link_pages(array('before' => 'Pages: ', 'next_or_number' => 'number')); ?>
- <div class="clear"></div>
- </div>
- </div>
- </div>
- </div>
- <?php endwhile; ?>
- <?php if (function_exists("pagination")) {
- pagination($additional_loop->max_num_pages);
- } ?>
- <?php else : ?>
- <h2><?php _e('Nothing Found','text_domain'); ?></h2>
- <?php endif; ?>
- <?php get_sidebar(); ?>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement