WordPress.org

Support

Support » How-To and Troubleshooting » Image Behavior in incorrect: What's wrong with my coding?

Image Behavior in incorrect: What's wrong with my coding?

  • 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>
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey guys…please look into my situation. I’m stuck 🙁

    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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Image Behavior in incorrect: What's wrong with my coding?’ is closed to new replies.
Skip to toolbar