Free and Premium WordPress Plugins & Themes Forums WordPress Plugins Hotel Booking Display accommodation amenities
- This topic has 1 reply, 2 voices, and was last updated 6 years, 1 month ago by J. Davis.
- AuthorPosts
- November 15, 2018 at 3:18 pm #739958Andrew AllertonParticipant
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: doubleI 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
November 21, 2018 at 2:53 pm #741704J. DavisKeymasterHello 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 - AuthorPosts
- You must be logged in to reply to this topic.