Thanks jasonchuah4 your answer. I’m looking for only the Hotel Booking Search page order. I found this in the hotel-wp/wp-hotel-booking/search/list.php
<ul class="hb-search-results">
<?php
foreach ( $results as $room ) {
hb_get_template( 'search/loop.php', array( 'room' => $room, 'atts' => $atts ) );
}
?>
</ul>
There is $atts also like in the file you suggested:
$atts = shortcode_atts( array(
'room_type' => '',
'orderby' => 'title',
'order' => 'ASC',
'number_room' => - 1,
'room_in' => '',
'room_not_in' => '',
), $atts );
But this has effect only on the room listing page. But maybe I have to look at this kind of settings around search files.
Thanks again.
Hi,
thanks, but they are obviously already overwritten.
My question is where and how to set the list order based on IDs ascending and descending.
Which file which line what code sould I use?
Thank you.