Order products by ID

We have renamed Post Grid plugin to Post Grid Combo
Order products by ID 1
Salvatore Gagliotta
May 07, 2019 10:17 PM 1 Answers
Member Since May 2019
Subscribed Subscribe Not subscribe

Hello, I have 2 problems..
If I write a sequence of products by ID, how can I order them by the writing order. Example: IDs=5,19,2,10. I want to display them in the writing order, not in crescent or decrescent order (such as 2,5,10,19).
Thank you

2 Subscribers
Order products by ID 1
Order products by ID 3
Submit Answer
Please login to submit answer.
1 Answers
Sort By:
Best Answer
Order products by ID 4
May 07, 2019

Welcome to our forum.

you will need to select "post__in" for Query orderby when you want order by given product ids.




Sign in to Reply
Replying as Submit