Looper query string to display many posts by ID

Hi, I am trying to use the query string method to display specific posts. I have tried post__in=array(1,2,3) but get a SQL error.

a) Is that how to use post__in?
b) is there a better way to choose specific posts in a Looper?

Hello Scott,

Thanks for writing to us.

Please have a look at this thread to learn more about Query string.

Hope it helps

Hi there! Thank you but that doesn’t give what I need.
How do I construct a query to select a list of specific pages by their ID?
Thanks again

Hi Scott,

You can use the Query Builder option and mention the specific post to be included as shown in the screenshot.

test-new-Content-Pro - 2021-05-20T145647.367

Hope it helps.

Omg that so simple! As usual, I was over complicating it! Thanks :grin:

Hi Scott,

You’re welcome and it’s our pleasure to help you! If you have any other concerns or clarifications regarding our theme features, feel free to open up a new thread.

Thank you.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.