Please visit my test website and see the changing images in the header. You’ll find that all the image title are just showing 1 1 1 1 1 1 1 1
Whereas, it should have been 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
I’m a newbie and I’m sure I’ve made a blunder in my coding. Please help me out. I’ll be highly obliged.
Here is my test website: http://www.antiquesartgallery.com/
<h1>Featured Stories</h1>
<ul class="items">
<?php query_posts('showposts=10&cat=8'); ?>
<?php while (have_posts()) : the_post();$do_not_duplicate = $post->ID; $x++; ?>
<?php while (have_posts()) : the_post(); $do_not_duplicate = $post->ID; $x++;?>
<div class="pane">
<a>"><img src="<?php bloginfo( 'template_directory' ); ?>/timthumb.php?src=<?php echo get_post_meta($post->ID, "Image", $single = true); ?>&h=54&w=69&zc=1" alt="Stocks pull out of slump but end week lower" title="Stocks pull out of slump but end week lower" width="662" height="230" /></a>
<span class="overlay"></span>
<a>" class="title"><?php the_title(); ?></a>
<a>" class="info"><?php the_content(); ?></a>
<a>" class="comment"><?php comments_popup_link('0', '1', '%'); ?></a>
</div>
<?php endwhile; ?>