I want to easily enter a loop where it outputs the most recent story (matching a particular custom metadata field) from each of my categories. So, with categories ‘motorcycles’, ‘snakes’ and ‘bikes’, I would get returned 3 stories: 1 most recent from each category that happens to have the following metadata ( ‘key’ => ‘promoted’, ‘value’ => ‘Featured’)
Any idea how to do this cleanly? Thanks a bunch!
The topic ‘Return 1 story from each category that matches particular custom metadata’ is closed to new replies.