Skip to content
Advertisement

WordPress – post thumbnail in loop

So I’d like to add a thumbnail to my posts but I just can’t get it to work.

JavaScript

And in my functions.php I’ve added – add_theme_support('post-thumbnails');

It gives me the option to post the thumbnail when I make a post, but it doesn’t show up.

Advertisement

Answer

What theme or parent theme are you using? I usually do something like this inside the loop:

JavaScript
User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement