HomePage Forums Traveler Random List of Hotels

This topic contains 9 replies, has 2 voices, and was last updated by  Bryan 3 years, 10 months ago.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #7167

    Hello,

    How to make a list of all hotels on one page (https://travelerwp.com/search-result-hotel-1/) but do not be sorted by their price, name, or date but to be sorted randomly every time I refresh the page.

    I want all my partners to have the same privileges and that their hotels are randomly displayed on the site not always some partners to have their hotel on top of page some to the end of page.

    #7191

    Hello

    In order to get that, we need change the code. Please provide FTP account so i can help you do it.

    Thanks

    #7199
    This reply has been marked as private.
    #7255

    Hello

    You ftp account is incorrect.

    Please check again.

    Thanks

    #7283
    This reply has been marked as private.
    #7303

    Hello

    I have customized hotel search result to random. You can check again and remember back up this file before update theme:

    /home/kladovos/public_html/wp-content/themes/traveler/inc/class/class.hotel.php

    and

    /home/kladovos/public_html/wp-content/themes/traveler/st_templates/hotel/search-elements/result.php

    Thanks

    #7304
    This reply has been marked as private.
    #7338

    Hello

    You should copy those files to same folder path of parent theme in CHild theme to make it save.

    Thanks

    #7864

    Hello Bryan.

    I was put this file in child theme as you told me but now after updating theme I lost random option! What is wrong?

    #7950

    Hello

    I have checked and see there is no inc/class/class.hotel.php file in traveler-childtheme/inc/class/ folder.

    Please check again.

    Thanks

Viewing 10 posts - 1 through 10 (of 10 total)

The forum ‘Traveler’ is closed to new topics and replies.