Query Post with Custom Field Values
-
Hi, I have a Tour post type in my WordPress installation. In each tour, there is a custom field start_date, so it is like this:
Tour to Sydney
– start date: 20 June 2018
– start date: 25 June 2018
– start date: 30 June 2018Tour Melbourne
– start date: 22 June 2018
– start date: 10 August 2018Question
How is the code in wp_query to show like this (sorted by dates):
Tours:
– Tour Sydney: 20 June 2018
– Tour Melbourne: 22 June 2018
– Tour Sydney: 25 June 2018
– Tour Sydney: 30 June 2018
– Tour Melbourne: 10 August 2018Thank you for any reply from the community
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Query Post with Custom Field Values’ is closed to new replies.