Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the question-answer domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/u845912282/domains/pickplugins.com/public_html/wp-includes/functions.php on line 6121
multiple order by id or name

multiple order by id or name

Ticket for: Post Grid
0
multiple order by id or name 1
zeyln
Apr 19, 2023 08:40 PM 1 Answers
Member Since May 2020
Subscribed Subscribe Not subscribe
Flag(0)

Hi There,

I want to use the order function  by "ID" or "name" query, and I want to call 3 different "names" or "ID"s for each different column, but you can order only 1 post, and as I tried to call 3 different posts separating by "," comma, it didn't work. ex: post id: (163,155,178)

Is there any way to order 3 different posts for each column?

Thank You

2 Subscribers
multiple order by id or name 1
multiple order by id or name 3
Submit Answer
Please login to submit answer.
1 Answers
Sort By:
Best Answer
0
multiple order by id or name 4
Azizul Raju
Apr 24, 2023
Flag(0)

Hi Zeyln,
Welcome to PickPlugins.

Under Query Post => Post query orderby please select the option post_in. And then under the Include by post ID option, pass the IDs with commas separated.
Screenshot: https://ibb.co/C6MXbxc

Let us know if it helps.
Regards.

Sign in to Reply
Replying as Submit


Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/u845912282/domains/pickplugins.com/public_html/wp-content/plugins/post-grid/includes/functions-builder.php on line 10