Answer the question
In order to leave comments, you need to log in
How to create an interleaved query?
Hello everyone, there is a sign:
id, title, text, record_type (1 - article, 2 - interview)
is it possible to select data in this way:
1, article 1 |
55, article 2 |
3, interview 1 |
40, article 3 |
5, article 4 |
30, interview 2 |
....
there is no strict sequence in IDs between post types.
I need to display a grid of three columns on the site - two articles, the third interview, and so on:
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question