This is my first post on the forum and I'm super glad that I found it! hopefully you can help me.
I am trying to edit a wordpress plugin (https://github.com/samsonw/wp-grid-archives
It is an archive plugin that displays post title and excerpt sorted by date. I want to get it to display the post thumbnail or featured image.
The code is too long to include on this forum but it can be found on github link above. I believe it is in a file called grid-archives.php. I tried various things like placing
But I cant get it to work. I'm pretty useless at PHP unfortunately. Any help would be greatly appreciated. Thanks
<?php the_post_thumbnail( $size, $attr ); ?>