Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter sethhall

    (@sethhall)

    I also tried other sources for support and a guy on /r/wordpress informed me that the the_post_thumbnail function outputs all img and src tags I need. So I was simply appending it to the src tag that was there and it was causing issues. So now I just use:

    <img class="postimg"
    <?php the_post_thumbnail('medium'); ?>

    and I’m golden.

Viewing 1 replies (of 1 total)