Skip to main content
All CollectionsIntegrations
Hostify Booking engine plugin for WordPress
Hostify Booking engine plugin for WordPress

WordPress, plugin

Nadya avatar
Written by Nadya
Updated over a year ago

Hostify booking engine plugins work only for Wordpress.org.

The plugin is not working properly on Wordpress.com! You need to use some different WP hosting instead.

How to install WP Plugin

Initial setup

1. Install the Hostify plugin

The Hostify booking plugin is not listed in the WordPress plugin directory.

So this plugin can be installed using the upload option in the admin area or using FTP.

2. Connect to API

Create your WP website from Hostify and copy-paste the API KEY and API URL

Open the plugin settings and specify the URL and WPKEY to connect to the Hostify API:

How to update the plugin:

If your plugin is 1.9.0 version or higher, you can update the plugin directly from plugin's page:

If your plugin version is older, please ask our support team to give you the latest one, and update it as is described below:

After you receive from the Hostify team the new plugin version, go to plugins β†’ add new β†’ Upload plugin:

After updating clear the cache.

3. Setup pages

Next, select or create new pages. This is necessary to link these pages with the necessary functionality.

You can create a new page or choose from existing ones:

3. Shortcodes

You could explore and read how to adjust shortcodes based on random parameters in the Hostify Booking engine plugin's Documentation page:

If you see errors like "No listing ID" on your pages this means that you use a single listing shortcode on a page where no listing is selected.

If you use Elementor, be aware that in the edit or preview mode, you will acquire the same error, you need to open a listing page, where all params are taken from the URL, so you could see your changes properly.

User area

1. Install the user management plugin

There are WP plugins that allow extending the basic WP functionality for user management: customize registration and login, manage profiles, roles, and other user-related things: Ultimate Member, ProfilePress, BuddyPress, S2Member, WP User Manager, bbPress, and others.

First, you need to install one of these plugins.

The Hostify booking plugin allows adding some features that will only be available to a registered and logged-in user:

  • automatic substitution of the user's names and personal data in the payment or inquiry form;

  • user can see a list of his bookings: upcoming, current, past, canceled;

  • user can add listings to his own wishlist;

2. Setup pages, menus, widgets

First, define and create places, widgets, and pages where the plugin's shortcodes will be placed - the corresponding blocks will be displayed instead.

2.1. Select or create pages

In the plugin settings, select or create new pages. This is necessary to link these pages with the necessary functionality:

The user booking manage page will contain this shortcode:

[hfy_user_booking_manage]

which shows information about the selected reservation, as well as a button to request cancellation of this reservation.

The user wishlist page will contain this shortcode:

[hfy_user_wishlist]

which shows a list of Listings that the user was marked.

2.2. Add a custom page for the list of user bookings

Place this shortcode on this page:

[hfy_user_bookings_list]

to show a list of user reservations.

By default, all reservations are displayed: current, future, past, and canceled.

The output can be split to show only the groups you need:

[hfy_user_bookings_list type="current"]

[hfy_user_bookings_list type="future"]

[hfy_user_bookings_list type="past"]

[hfy_user_bookings_list type="cancelled"]

This will allow, for example, placing lists in separate tabs.

Example page (edit mode, Gutenberg):

2.3. Add menu links

Add page links to the menu on your site:
​

Finally, you will get something like this (depending on the theme you use):

It all depends on the methods, plugins, and theme you use.

Using the options of the Member plugin you use or additional plugins/shortcodes/functions, you can hide or show the corresponding menu items for logged / non-logged users.


​

Did this answer your question?