Help with PHP Wordpress Plugin

Hello,

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 called grid archives. (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.

I tried various things like placing
[php]<?php the_post_thumbnail( $size, $attr ); ?> [/php]

But I can’t get it to work

The code is too long to post on this forum but I think the file that needs editing is called grid-archives.php and can be found on github link above.

Any help will be greatly appreciated! Thanks

Luke

Sponsor our Newsletter | Privacy Policy | Terms of Service