Show a Featured Post – Query Loop?
-
Question: How do I display 1 post (the most recent or the sticky post) from a category, with the featured image, similar to the way WP Show Posts does it?
I see that WP Show Posts is being set aside for the GenerateBlocks “Query Loop.” I’ve read the docs for Query Loop, and frankly, the instructions threw me for a loop. Tried some stuff and ended up with scary results on my site’s home page. ?? First, it says I need to have already added a Container block, and then I guess I pick the two-column with featured image, and then I get all of the posts, and I don’t know how to get anything more targeted than this. I took it off the site so that it wouldn’t mess up the rest of the page.
Can someone please lay out some steps for this?
Many thanks!
- You must be logged in to reply to this topic.