block-developer-cookbook icon indicating copy to clipboard operation
block-developer-cookbook copied to clipboard

Block that lists posts based on a meta query

Open troychaplin opened this issue 2 years ago • 0 comments

I know you have this worked out in your advanced query loop plugin, but I feel this could be beneficial for custom block use from experienced developers who are accustomed to doing this in old school PHP via the wp_query.

A few example of sorting based on custom meta fields would be useful in this case. Using a handful of custom metadata fields would be useful to show examples of supporting by date (think event custom post type) or last name (think people custom post type). I'm sure there's others but these would be solid examples to start.

troychaplin avatar Aug 21 '23 18:08 troychaplin