- March 2, 2018 at 7:41 am #5390chum1215Participant
I tried adding this code inside class-shortcode.php but it’s not working on newly added trips. It’s sorted by date published instead of tour start date.
$args = array( 'post_type' => 'itineraries', 'posts_per_page' => $limit, 'orderby' => 'wp_travel_start_date', 'order' => 'ASC', 'status' => 'published', );March 2, 2018 at 11:58 am #5392WP Travel AdminKeymaster
Currently, in the plugin, there is no such feature using which you can sort the trips according to the published date and to make this work requires a lot of code customization not just above block of code.
So as much as we would love to help you on this, we are unable to do so as it requires a higher code customization.
Our suggestion to you is hire a professional developer so that your theme won’t be affected in any way.
To hire a developer, please refer to below link:
Best Regards!!May 18, 2018 at 10:33 pm #6652ChicaditaParticipant
I’m having a problem with WP Travel NOT sorting by travel date. I found this thread. So it *should* be sorting by travel date, is that correct?May 21, 2018 at 5:49 am #6682Support TeamKeymaster
Currently, the trips will be listed according to the published date of the trip(post type).
But we will definitely discuss the feature further and we will work on this.
As for now if you to sort the trips according to the trip’s date then you can always consider hiring the professional developer.
To hire a developer please follow below given link:
Best Regards!!January 17, 2019 at 8:27 am #9578KareithiParticipant
I would also like to order my trips by price. Do you have this feature and if not when can we expect it?
ThanksJanuary 18, 2019 at 7:44 am #9594Support TeamKeymaster
- The forum ‘WP Travel’ is closed to new topics and replies.