Hi all,
I'm currently building a custom widget similar to the WP_Recent_Posts and I'm wondering if there's a way to return the content of a post in the widget area?
I can figure out how to get the title, date, category, ID, pretty much everything but the content.
The idea here is that I have a category of posts that are simply images that I would like to display in my sidebar, but will be accessible by the editors of my site.
A simple way of doing this seems to be making a widget that will return the most recent post in a certain category, but for this to work properly, I need it to display the image attached to the post
I would be very grateful for any help y'all can give :)