How to query posts by posts or page ids?

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.

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”.

6yX4J7b

Now under Query Post => Post Types, select posts and pages by clicking and holding the Ctrl button.

n5z6lfX

Now, by clicking the Choose button, you can search for “Post In.” Now click on it.

InbgH9n

Then click on the Post In drop-down menu and enter Post IDs or Page IDs (comma separated).

5r9od6Q

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.