Using the Combo Blocks plugin, you can easily query posts by custom meta fields for Post Grid or Post Grid – Filterable Gutenberg blocks.
To begin, insert the “Post Grid” or “Post Grid – Filterable” block.
![How to query post by custom meta fields? 1](https://i.imgur.com/PxTNXsQ.png)
From the List View make sure you’ve selected Post Query nested block. This selection is important to access all the available block settings for “Post Query”.
![How to query post by custom meta fields? 2 6yX4J7b](https://i.imgur.com/6yX4J7b.png)
Now under Query Post => Add Query Params select the Tax Query option.
![How to query post by custom meta fields? 3 eKlqSDc](https://i.imgur.com/eKlqSDc.png)
Click on the Add button to add a Term. Then expand the Term panel to pass the Taxonomy name, Terms ID and Operation Type. Your Grid will be updated with the given taxonomies & terms.
![How to query post by custom meta fields? 4 3nN4Rkt](https://i.imgur.com/3nN4Rkt.png)
That’s how you can query posts by custom meta fields. If you still need help, please create a support ticket on our forum.