Free and Premium WordPress Plugins & Themes Forums WordPress Plugins Hotel Booking Adding custom attributes to accommodation
- This topic has 1 reply, 2 voices, and was last updated 3 years, 8 months ago by Andre Flores.
- AuthorPosts
- January 16, 2021 at 9:34 pm #1060306Martin FourdrignierParticipant
Hi,
I’m currently customizing my homepage and I like the way details are displayed (like number + icon).
My goal is to display an additionnal info (namely nb of rooms in the villa), which I get through ACF in the way it is displayed for capacity and size on the homepage (accommodation types) and search results. Any idea how to proceed? I imagine I will have to create an additionnal attribute in loop-room-type folder but I don’t know the details.
Another problem I face is that the code [mphb_total_capacity] and [mphb_size] don’t work on my website. Would you know where it can come from?
Many thanks
Martin
January 19, 2021 at 10:14 am #1061226Andre FloresModeratorHello Martin,
Such changes would require custom development, which is beyond our support scope, unfortunately.
As for the [mphb_total_capacity] and [mphb_size], there are no such shortcodes in the plugin, capacity and size are added as functions in the loop-room-type-view.php file under /wp-content/plugins/motopress-hotel-booking/includes/views/ directory.Regards,
Andre - AuthorPosts
- You must be logged in to reply to this topic.