How to query posts by posts or page ids?

Using the Post Grid Combo plugin, you can query posts by post or page IDs. This article will show you how to query posts by their IDs.

Click on the “Query Post” tab.

oC32Jfa

From 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

Now your Post Grid will be updated by those posts and pages.