- This topic has 1 reply, 2 voices, and was last updated 6 years, 6 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Free and Premium WordPress Plugins & Themes Forums WordPress Plugins Hotel Booking Display accommodation amenities
Hi again,
By default, the shortcode [mphb_rooms]
includes a section called Details that looks like:
Guests: 4
Amenities: list, of, things
Size: x m^2
Bed type: double
I have been customising the template to fit with our site, and have found the hooks to display the title, excerpt, featured image etc, and I would like to have a bulleted list of amenities. I can get the whole Details section to display, but how can I get just the amenities? I’d also like to pull the number of guests elsewhere, would that hook be similar?
Thanks in advance,
David
Hello Andrew,
Thanks for your questions. You can modify Details block by overriding the files within the following directory
\wp-content\plugins\motopress-hotel-booking\templates\loop-room-type\attributes\
Thus you can copy the files from that folder to the following directory:
\wp-content\themes\your-theme-folder\hotel-booking\loop-room-type\attributes\
and edit the files. It will let you keep the changes in case of plugin update.
best regards,
J. Davis
This website uses cookies
By clicking “Accept All”, you agree that we can store cookies on your device and disclose information in accordance with our Cookie Policy
Necessary Cookies
These cookies are essential for website functionality and cannot be disabled.
Advertising
These cookies, set by us and our advertising partners, aim to give you useful content and measure how well it works.
Analytics
These cookies help us improve performance by tracking user interactions on our website.