My custom field images duplicating on other pages
-
Hello guys, I can’t figure this out. For some reason my thumbnail images are duplicating on other pages instead of just the specific page I assigned them too! If you go to the home page here: https://toendistobegin.com/wordpress/ and scroll down, you’ll see three thumbnail images that go to their assigned pages. When you click on each of those three thumbnails and scroll down, you’ll notice the same images at the very bottom. Much help would be appreciated : )
here’s also the code that queries that in my template:
<?php query_posts("posts_per_page=-1&post_type=page&order=asc&post_parent=55"); if ( have_posts() ) while ( have_posts() ) : the_post(); ?> <figure><a href="<?php the_permalink(); ?>"><img src="<?php echo get_post_meta($post->ID, "detail_thumbnail", true); ?>" alt="" /></a></figure> <?php endwhile; wp_reset_query(); ?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘My custom field images duplicating on other pages’ is closed to new replies.