Trying to get the posts shown on the tours page of our site to come out sorted by date as default

Closed
CityTours - Hotel & Tour Booking WordPress Theme CityTours - Hotel & Tour Booking WordPress Theme March 04, 2019
Login to reply
Jones Dennis
4 months ago

Playing video games online at monkey mart is one of the ways that we get to show off our muscles to all of our new friends that we have made all across the world. It is possible to become addicted to it, and I believe that parents have a lot of responsibility in making sure that things go more smoothly in this regard.

Estelle Herman
5 months ago

monkey mart I appreciate you taking the time to bring this up, as I not only feel passionate about the issue, but I also enjoy learning more on the subject. Would it be possible for you, as you get more experience, to update your blog with any more information that you discover? It has been of great assistance to me. air


Kelly R Support Agent
5 years ago

Hi,

If you have any other issue with our theme, please create a new ticket.

And I hope you give CityTours theme good rate in https://themeforest.net/downloads

Regards, C-Themes

Jeremy Moss
5 years ago

Hi Kelly,

Thanks for that! It seems to have worked... I think we just need to adjust our dates a little bit and they'll display how they want! 

Thanks again

Kelly R Support Agent
5 years ago

Hi,

Please replace /inc/frontend/tour/functions.php file with attached and try again.

Regards, C-Themes

Jeremy Moss
5 years ago

Hi There, 

I'm looking to help a client here as they would like the tours page on their site using this theme to shoot out the posts by publish date by default 

http://pttours.ca/tour/

I've looked at the file ct_tour_get_search_result function in /inc/frontend/tour/functions.php and have commented out the following....

if ( ! empty( $order_by ) ) {

   $sql .= " ORDER BY " . $order_by_array[$order_by] . " " . $order;
}

... but no luck. 

Hoping your team might have some thoughts. 

Thanks for looking! 

Sincerely

Jeremy