Support » Theme: Custom Community » Thumbnail next to excerpts

Viewing 1 replies (of 1 total)
  • You can do something like this:

    <?php if (has_post_thumbnail()) : ?>
        <div class = "post-thumb">
            <a href="<?php echo the_permalink(); ?>"><?php the_post_thumbnail(); ?></a>
        </div>
    <?php endif; ?>
Viewing 1 replies (of 1 total)
  • The topic ‘Thumbnail next to excerpts’ is closed to new replies.