• Hi All,

    Hopefully someone can help me out here. I’ve a weird situation and perhaps I don’t quite understand the inner workings of WordPress as well as I should.

    Here’s my loop.

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <?php the_post_thumbnail('single'); //grabs post thumbnail ?>
      <h3><?php the_title(); ?></h3>
      <h5>Written by <i><?php the_author(); ?></i> in <?php the_category(','); ?></h5>
      <?php the_content(); ?>
    <?php endwhile; endif; ?>

    Seems pretty simple right? As I understand it this should cause the post to display the …

    Thumbnail (as custom size defined in the functions.php)
    Title
    Author
    Content.

    However, its displaying

    Title
    Author
    Thumbnail
    Content

    I’ve been starring at it for a while now and I think I just need a fresh pair of eyes. I’m sure its something soo simple.

    Thanks in advance for any help!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘The Loop – the_post_thumbnail before the_title’ is closed to new replies.