Sort "Post Filter Section" by Fixed Dates

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #5999
    alidabdul
    Participant

    All my trip has fixed dates and it looks weird in front of home page because it will be sorted by latest date. Which means the top post is the latest trip published. Could you create a way to sort by fixed dates of the departure date.

    Thanks

    #6005
    Support Team
    Keymaster

    Hello @alidabdul.

    To sort the trips according to dates use below-given code in your child theme functions.php file .

    https://gist.github.com/Steeru/b76c07d5f3599ff6fd259eabfa081720

    This code will only sort your trip in the archive page.

    Thank you.

    If you have any issues further, please let us know.

    Best Regards!!

    #6017
    alidabdul
    Participant

    So there is no way to sort ascending by departure date on frontpage?

    #6020
    Support Team
    Keymaster

    Hello @alidabdul,

    It requires a higher code customization and as much as we would love to help you, we could not do so as it is beyond the support we offer for our product.

    But you can always consider hiring the professional developer to achieve what you want.

    To hire a developer please refer to below given link:

    http://wensolutions.com/hire-wordpress-customizer

    Thank you.

    Best Regards!

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘WP Travel’ is closed to new topics and replies.