Hello,
A couple of days ago I moved a couple of very old posts to Trash (that I'd originally migrated over from Tumblr). I'm not sure if that was the cause but I noticed immediately afterwards that the Pagination had disappeared from my Archives pages. It's fine on the Home page, but no longer appears when I use Category/Tag/Archives filters.
Any help would be so very much appreciated!
My current Archive.php file looks like this if it helps?:
<?php get_header(); ?>
<!-- CLEAR20 -->
<div class="clear"></div>
<!-- BEGIN BLOG TAGLINE -->
<div class="g640" id="blog-tagline">
<?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()) { ?>
<?php /* If this is a tag archive */ } elseif( is_tag() ) { ?>
<h1 class="blog">Posts Tagged ‘<?php single_tag_title(); ?>’</h1>
<?php /* If this is a daily archive */ } elseif (is_day()) { ?>
<h1 class="blog">Archive for <?php the_time('F jS, Y'); ?></h1>
<?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
<h1 class="blog">Archive for <?php the_time('F, Y'); ?></h1>
<?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
<h1 class="blog">Archive for <?php the_time('Y'); ?></h1>
<?php /* If this is an author archive */ } elseif (is_author()) { ?>
<h1 class="blog">Author Archive</h1>
<?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
<h1 class="blog">Blog Archives</h1>
<?php } ?>
<!-- END BLOG-TAGLINE -->
</div>
<!-- CLEAR 20 -->
<div class="clear20"></div>
<!-- BEGIN B1 -->
<div id="b1">
<!-- BEGIN MAIN -->
<div class="main">
<!-- BEGIN POST-RIGHT -->
<div class="g320" id="post-right">
<?php get_sidebar(); ?>
<!-- END POST-RIGHT -->
</div>
<?php while (have_posts()) : the_post(); ?>
<!-- Get that image resized! -->
<?php $thumb = get_post_thumbnail_id(); $image = vt_resize( $thumb,'' , 280, 255, true ); ?>
<!-- BEGIN LEFT LOOP -->
<div class="g640" id="left-loop">
<!-- IMG -->
<img src="<?php echo $image[url]; ?>" width="<?php echo $image[width]; ?>" height="<?php echo $image[height]; ?>" alt="image"/>
<!-- TITLE BLOG -->
<h4 class="title-blog"><a>"><?php the_title(); ?></a></h4>
<!-- EXCERPT -->
<?php wpe_excerpt('wpe_excerptlength_teaser100', 'wpe_excerptmore'); ?>
<!-- META -->
<p class="meta">by <?php the_author() ?> on <?php the_time('F jS, Y') ?> <?php comments_popup_link('No Comments', '1 Comment', '% Comments '); ?> <?php the_category(', ') ?></p>
<!-- END LEFT LOOP -->
</div>
<?php endwhile; ?>
<?php else :
if ( is_category() ) { // If this is a category archive
printf("<h2>Sorry, but there aren't any posts in the %s category yet.</h2>", single_cat_title('',false));
} else if ( is_date() ) { // If this is a date archive
echo("<h2>Sorry, but there aren't any posts with this date.</h2>");
} else if ( is_author() ) { // If this is a category archive
$userdata = get_userdatabylogin(get_query_var('author_name'));
printf("<h2>Sorry, but there aren't any posts by %s yet.</h2>", $userdata->display_name);
} else {
echo("<h2>No posts found.</h2>");
}
get_search_form();
endif;
?>
<!-- END MAIN -->
</div>
<!-- BR CLEAR -->
<br style="clear:both">
<!-- END B1 -->
</div>
<?php get_footer(); ?>