Using the Combo Blocks plugin, you can easily query posts by posts or page ids for Post Grid or Post Grid – Filterable Gutenberg blocks.
To begin, insert the “Post Grid” or “Post Grid – Filterable” block.
![How to query posts by posts or page ids? 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 posts by posts or page ids? 2 6yX4J7b](https://i.imgur.com/6yX4J7b.png)
Now under Query Post => Post Types, select posts and pages by clicking and holding the Ctrl button.
![How to query posts by posts or page ids? 3 n5z6lfX](https://i.imgur.com/n5z6lfX.png)
Now, by clicking the Choose button, you can search for “Post In.” Now click on it.
![How to query posts by posts or page ids? 4 InbgH9n](https://i.imgur.com/InbgH9n.png)
Then click on the Post In drop-down menu and enter Post IDs or Page IDs (comma separated).
![How to query posts by posts or page ids? 5 5r9od6Q](https://i.imgur.com/5r9od6Q.png)
That’s how you can query posts by posts or page ids for “Post Grid” or “Post Grid – Filterable” Gutenberg block. If you still need help, please create a support ticket on our forum.