Blocks & WP_QUERY
-
Hello,
I have a general question on how to use WP_Query with blocks attributes.
I will create one block with many values to replace my metabox:
– Custom post ID,
– Taxonomies
– textI would like to know how to use wp_query to search on those values? I do not find any information very clear on that. Do I have to keep the metabox and add it to a bock or can I completely switch to the block and adjust my query? but in this case which object I have to use on the WP_Query?
Thanks
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Blocks & WP_QUERY’ is closed to new replies.