- This topic has 5 replies, 5 voices, and was last updated 4 years, 4 months ago by
Support Team.
- AuthorPosts
- March 2, 2018 at 7:41 am #5390
chum1215
ParticipantI 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 Admin
KeymasterHello chum1215,
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:
http://wensolutions.com/hire-wordpress-customizer/
Thank you.
Best Regards!!
May 18, 2018 at 10:33 pm #6652Chicadita
ParticipantI’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 Team
KeymasterHello @chicadita,
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:
http://wensolutions.com/hire-wordpress-customizer/
Thank you.
Best Regards!!
January 17, 2019 at 8:27 am #9578Kareithi
ParticipantHello,
I would also like to order my trips by price. Do you have this feature and if not when can we expect it?
Thanks
January 18, 2019 at 7:44 am #9594Support Team
KeymasterHello @kareithi
Yes, WP Travel has the feature to order trips by price. Inside the itinerary page, you will get the option to filter the trips through different categories including price, trip type, location and more.
Screenshot: https://prnt.sc/m8rly9
Hope this clears your confusion,
Regards!!
- AuthorPosts
- The forum ‘WP Travel’ is closed to new topics and replies.