Join our new community forum for support & discussion

Join Now

Home Support Themes RentalHive Theme functionality

Theme functionality

  • Author
    Posts
  • Bk

    Hello,
    Is it possible to add checkboxes or some other selection elements to the homepage and get information of what was selected in those fields?

    Is it possible to use wordpress field add-ons for the elements or fields that you don’t have on the theme and get information of what was entered or selected?

    I would get specific hotel information which includes images, descriptions, reviews (including an image from where the review was from, the rating, the total number of reviews, the name of the reviewer and the review content as well as other information) and other things from the API, so is it possible to show hotels with some of that information on the search results page after a button has been clicked?, and all of the information for those hotels on the detailed views?

    ihor developer

    Hi,
    Please send more details about the required functionality, do you want to use some details fetched via API as selectable search filters in the listing search form?

    Bk

    I intend to use the location search field, date selection field, the field to select the number of rooms and people and checkboxes or similar selection elements that are either on your theme or use other plugins for the fields that aren’t on your plugin. Then, I would use a button that gets hotel names and other information about them by using google maps API by passing the entered location and the selected checkboxes as a parameter. After getting that information, I would make an API request (to a company’s database) to get more specific information about the hotels, which includes images, descriptions, reviews (including an image from where the review was from, the name of the reviewer and the review content) and other things by using the check in and check out dates, hotel names, the number of rooms and people as a parameter. With that, I want to show hotels with that specific information about them on the search results page.
    Can you tell me if this is possible to achieve?

    ihor developer

    Sorry, this would require a custom implementation, this seems like a search engine for hotels fetched via the API while HivePress searches its listings. There may be another way if you create a recurring function that gets and syncs a list of hotels via some API and imports hotel as listings with all the details, then you can use HivePress search filters without making an API request on every search and embedding the loaded details.

    Bk

    Thank you for providing a way to do this. Would I be able to access the code to do that?
    Is it possible to get information of what was entered or selected in the fields on your plugin and in the fields from
    using add-ons with code or by some other way?

    ihor developer

    Sure, if you’re familiar with WP customizations please check the code reference here https://hivepress.github.io/code-reference/ We’re also working on the full action/filter reference (will be published tomorrow) and the detailed developer docs.

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

New Reply

This forum has been archived and is no longer accepting new posts or replies. Please join our new community forum for support & discussion.