Hi there,
I have to admit: I have very little knowledge about queries and I just started learning about it.
The problem: I have this query string post_type=event&scope=future&orderby=date-time&order=asc
but only the post_type
and order
is recognised. The rest is ignored. When used in a looper it shows all the events instead of just the future events.
I have copied this string from the url https://my-website.com/wp-admin/edit.php?post_type=event&scope=future&orderby=date-time&order=asc
which shows exactly the data I want.
What am I doing wrong here?
Many thanks!