Connection between 'search date' and 'listing dates'

Home Forums WordPress Theme CityBook – Directory & Listing WordPress Theme Connection between 'search date' and 'listing dates'

This topic contains 29 replies, has 2 voices, and was last updated by  Aron Verhoeven 4 days, 7 hours ago.

Viewing 5 posts - 26 through 30 (of 30 total)
  • Author
    Posts
  • #37150

    Aron Verhoeven
    Participant

    Supported

    Hi Support,

    Thanks for your reply. When I set an date on the front page, it is now copied to the search page ass wel.

    1. However, when I search on an specific date, all the listings are still visible. So it seems that it doesn’t make any connection and do not filter the listings on that specific date..

    2. And second, when I set an new date on https://www.marktadvisor.nl/?checkin=2019-10-11&search_term=&lcats%5B%5D=, it doesn’t search automatically. So I cant give the page the instruction to search on that specific date.

    Thanks in advance.

    #37173

    CTHthemes
    Keymaster

    1 – Did you use Available Dates (NEW) for event dates https://prnt.sc/pgpqiw ?

    2 – Edit citybook-add-ons.min.js file to find .listsearch-options input[name="search_term"] and replace with .listsearch-options input[name="search_term"],.listsearch-options . azp_filter_event_date input[name="checkin"]
    https://prnt.sc/pgpru7

    #37216

    Aron Verhoeven
    Participant

    Supported

    1. Ahh, that was the problem. Thanks!

    To be sure: not possible with the old ‘Event Dates’?

    2. I’ve replaced the .listsearch-options input[name="search_term"] with:

    .listsearch-options input[name="search_term"],.listsearch-options . azp_filter_event_date input[name="checkin"]
    but it is not working. See: https://prnt.sc/phb5l5

    If I try to search on my search page, and set up filters in the right bar, I can’t request the search query.
    https://www.marktadvisor.nl/?checkin=&search_term=&lcats%5B%5D=. So it doesn’t automatically change the search query.

    #37249

    CTHthemes
    Keymaster

    Delete server and browser caches then check again.

    #37455

    Aron Verhoeven
    Participant

    Supported

    Thanks, it is working.

    The only thing is that when there is no listing availble on an specific day, it shows all the other listings.

    For example: I have listings for today, but when I search on tommorrow (17-10-2019), and there is no active listing, all the other listings off other days are visible.

    I prefer to show them than the message: No Listings found. The same way when there are no active listings in an categorie: https://prnt.sc/pjxohf.

Viewing 5 posts - 26 through 30 (of 30 total)

You must be logged in to reply to this topic.

New featues: CityBook - Listing & Directory WordPress Theme version 2.1.8 was outUpdate now
+