Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I've been trying to figure out for days how http://quotelicious.com was able to place thumbnails and category links in a separate box alongside the actual post.

Any ideas?

share|improve this question
add comment

1 Answer

They are actually doing this is one loop, here's an example to show similar structure.

<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>

    <div class="article">

        <div class="left">
            <?php the_post_thumbnail( $size, $attr ); ?>
            <?php get_the_category(); ?>
        </div><!-- end left side -->

        <div class="right">
            <?php the_excerpt(); ?>
        </div> <!-- end right side-->

    </div>

<?php endwhile; else: endif; ?>
share|improve this answer
    
Thank you much! It worked! The only change I made was putting <?php the_category(', ') ?> instead of <?php get_the_category(); ?> –  cupcakes Aug 21 '12 at 18:14
    
Thats great, btw you can further read WP loop Document for more info about this. :) –  amit Aug 21 '12 at 20:56
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.