Somethings wrong with my wordpress loop
-
Hello all,
I can’t figure out what’s wrong with my loop. When I add a new item thumbnail to my portfolio page they don’t line up next to each other and only the first thumbnail takes on the css styling, the other two don’t.
` <?php get_header(); ?>
<section id=”content”>
<?php the_content(); ?>
<div class=”items”>
<?php query_posts(“posts_per_page=-1&post_type=page&post_parent=10”); if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
“><img src=”<?php echo get_post_meta($post->ID, “thumbnail”, true); ?>” alt=”” />
</div><?php endwhile; wp_reset_query(); ?>
</section>
<?php get_footer(); ?>
here’s the link to my portfolio page:
Thank you : )
- The topic ‘Somethings wrong with my wordpress loop’ is closed to new replies.