- This topic has 1 reply, 2 voices, and was last updated 1 month ago by Alex M.
- August 31, 2022 at 9:16 am #1347932RichardParticipant
Using a theme builder (cornerstone), I would like to be able to modify the availability search results page.
Thanks to this tool, I can easily modify most of the elements of your plug-in (fortunately) but I am stuck on the results.
I can use a function called “Looper Provider” and I have the choice between several possibilities: query string, array,
dynamic content… (more information here).
So, could you give me some hints to find the right “looper provider” for the search results according to the criteria of dates + number of people in the search form?
Should I use a WP Query ?
For example, I can’t find the post_type for accommodations…
I suspect that you can’t help with another extension, however, only you know what elements are used to identify the queries/names of room types, rooms… etc.
I am sure that your answer can help more than one person and make up for the non-compatibility of your plug-in with Cornerstone (maybe one day?).
Looking forward to your feedback, cordially.September 1, 2022 at 1:54 am #1348126Alex MParticipant
There are several criteria to display accommodations on the search results page:
- booking rules
- blocked accommodations
- rate availability
- booking buffer
I don’t think that any visual query builder can repeat this logic.
You may check
You can modify the search results page with actions, filters and templates.
- You must be logged in to reply to this topic.