In a query loop, I need to output 12 random posts. 6 with the 1001 tag and 6 with the 1002 tag. Any suggestions on how to achieve that before I fire up VS code?
Let's first define a custom function takes in the tag name string and an optional number of posts (with a default of 6) integer as arguments and returns an array of the IDs of x number of posts in the specified tag.
Upcoming Events with ACF Date Sub field Repeaters grouped by Month Years in Bricks
In the comments section of Upcoming Events Accordion in Bricks Grouped by 'Month Year' a member asked: CPT: eventACF Field: event_dates (Repeater) with event_date sub…