Knowledgebase » How to ... »
I wish to display my accommodation using the page I have already created instead of HBook accommodation type post. I would like that the "View accommodation" button open up the pages of my theme that I use to show my rooms or property. How can I do that?
Let's say that you have already created pages to showcase your rooms and you wish now to add HBook booking system. You will create HBook accommodation types only to provide the settings for the booking system (occupancy, descriptions for the search results, number of accommodation of this type).
For each HBook accommodation type, you will indicate in Accommodation display section the id of the page that you wish to use for showing the accommodation. It can be a theme page, a custom post type page, etc...
To find out what is the id of the page you wish to use, you will check the url of the page when you edit it. For example: www.mywebsite.com/wp-admin/post.php?post=213&action=edit. This tells you that the post/page id is 213.
It has several effects: