Hello,
I am having a similar issue, and I’ve tried adding the “paged” code but it is still not working. I have two loops on my site, please take a look & let me know where I am going wrong… Thank you very much!
Site: shalasrabbithole.com/blog
Loop 1 (large main post)
<?php
query_posts( 'cat=-9,-10&showposts=1' );
if (have_posts()) :
while (have_posts()) : the_post(); $category = get_the_category();
?>
<div class="wrapper" style="margin-bottom:25px;">
<?php if( get_post_meta( $post->ID, "image_value", true ) ) : ?>
<div class="image">
<a>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><img src="<?php bloginfo( 'template_directory' ); ?>/timthumb.php?src=<?php echo get_post_meta( $post->ID, "image_value", true ); ?>&w=930&h=500&zc=1" alt="<?php the_title(); ?>" class="img_main" /></a>
</div>
<?php endif; ?>
<div class="post_header">
</div>
<div class="post_large">
<div class="headline">
<h1><?php the_title(); ?></h1>
</div>
<div class="posted">
posted on <?php the_time( 'l F j, Y' ) ?>
| in
<?php the_category(',') ?> | <?php comments_popup_link(__( '0 Comments' ), __( '1 Comment' ), __( '% Comments' )); ?>
</div>
<p>
<?php the_excerpt(); ?>
<a>#more-<?php the_ID(); ?>" rel="bookmark" title="Continue Reading <?php the_title_attribute(); ?>">
Continue Reading →</a>
</p>
</div>
<div class="post_ripped">
</div>
</div>
<?php
endwhile;
endif;
?>
Loop 2 (smaller posts, two on each line)
<?php
query_posts( 'cat=-9,-10&showposts=10&offset=1' );
if (have_posts()) : $counter = 0;
while (have_posts()) : the_post(); $category = get_the_category();
if( $counter % 2 == 0 )
$end = "";
else
$end = "last";
?>
<div class="left clearfix">
<?php if( get_post_meta( $post->ID, "image_value", true ) ) : ?>
<div style="width:490px;">
<a>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><img src="<?php bloginfo( 'template_directory' ); ?>/timthumb.php?src=<?php echo get_post_meta( $post->ID, "image_value", true ); ?>&w=450&h=300&zc=1" alt="<?php the_title(); ?>" class="img_secondary" /></a>
</div>
<?php endif; ?>
<div class="post_header" style="width:95%;">
</div>
<div class="post" style="width:83%;">
<div class="headline" style="width:375px;" >
<h2><?php the_title(); ?>
</h2>
</div>
<div class="posted2">
<?php the_time('F j, Y') ?>
|
<?php the_category(',') ?> | <?php comments_popup_link(__( '0 Comments' ), __( '1 Comment' ), __( '% Comments' )); ?>
</div>
<p>
<?php the_excerpt(); ?>
<a>#more-<?php the_ID(); ?>" title="Continue Reading <?php the_title_attribute(); ?>" class="color" rel="bookmark">Continue Reading →</a></p>
</div>
<div class="post_ripped" style="width:95%;">
</div>
</div>
<?php
// Clear the left float to allow for different heights
if( $counter % 2 != 0 )
echo'<div style="clear:left;"> </div>';
?>
<?php
$counter++;
endwhile;
endif;
?>