Archived topic
adding featured photos to Recent Posts
3 replies · Started by koralp on February 6, 2021
hi,
I would like to be able to assign a specific category and also, display featured images of posts in the Recent Posts widget, is that possible?
or is there another widget you can suggest?
cory
Hi there,
Try this plugin instead:
https://wordpress.org/plugins/recent-posts-widget-with-thumbnails/
We used it in the footer of Rumour:
https://gpsites.co/rumour/?page_id=42
And sidebar of Marketers:
https://gpsites.co/marketer/
hi Leo,
I would like to add 3 related posts with thumbnails above the "leave a comment" section. Also, I want these 3 posts to come from within the same category.
To achieve this, I added the recent posts plugin to both the footer bar and the footer widget. In both areas, my related posts are viewed as a list and without the thumbnails.
Please advise on how I can make these changes to my site.
You will need to use a plugin like this to turn widget into shortcode:
https://en-ca.wordpress.org/plugins/widget-shortcode/
Then add the shortcode using a hook element to the desired spot:
https://docs.generatepress.com/article/hooks-visual-guide/#single-post
https://docs.generatepress.com/article/hooks-element-overview/
As for the thumbnails not showing, make sure you have the thumbnail activated in the plugins. If that still doesn't work then you will need to check with the plugin support team.