WordPress.org

Ready to get started?Download WordPress

Forums

Image Behavior in incorrect: What's wrong with my coding? (3 posts)

  1. alexwrld
    Member
    Posted 3 years ago #

    Please visit my 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/

    <div class="slideshow">
    
    	<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++; ?>
    
    <li><a href="#">" class="selected">1</a></li>
    		<?php endwhile; ?>
    		<div class="clear"></div>
    
    <?php query_posts('showposts=10&cat=8'); ?>
    		<?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; ?>		
    
    </div>
  2. alexwrld
    Member
    Posted 3 years ago #

    Hey guys...please look into my situation. I'm stuck :-(

  3. alexwrld
    Member
    Posted 3 years ago #

    I have solved the problem myself....I was kind of fooling around...blush blush....
    The website will not show up as I'm going to put it offline....
    Thank you forum!

Topic Closed

This topic has been closed to new replies.

About this Topic