Free and Premium WordPress Plugins & Themes Forums WordPress Plugins Hotel Booking Stop featured images from linking to accommodation page
- This topic has 4 replies, 2 voices, and was last updated 1 year, 9 months ago by J. Davis.
- AuthorPosts
- March 20, 2023 at 8:42 pm #1431239Ania JakubowskiParticipant
I was able to find instructions on how to stop Gallery from linking to a new page, but I don’t know how to stop single featured images in HB single accom. stop opening an accommodation page. I found below instruction, but I don’t understand what has to be done. What file, where is that file? Is there a simplified way of doing that?
Thanks.Copy the following file
\wp-content\plugins\motopress-hotel-booking\templates\loop-room-type\featured-image.phppaste the file to
wp-content\themes\your-theme-folder\hotel-booking\loop-room-type\March 22, 2023 at 2:28 pm #1432115J. DavisKeymasterHu Ania, by default the featured image is not linked on a single accommodation type page. I may need to check such a page on your site to guide you further.
Note: it is possible to build a custom layout for an accommodation type page by following the steps from this post https://motopress.com/blog/hotel-booking-styles-addon-single-accommodations/March 22, 2023 at 4:11 pm #1432132Ania JakubowskiParticipantI wasn’t talking about individual accommodation page images. I have multiple accommodations listed on DIVI Pages. I used your DIVI elements to add what I want to display for each, one of them is Single Accomm. Settings that have Featured Image and Gallery options. Images are linked to Accommodation Pages. Do you want a video?
March 22, 2023 at 4:13 pm #1432133Ania JakubowskiParticipantAnd images don’t open in a lightbox even though the setting for it is checked under your settings.
March 23, 2023 at 3:41 pm #1432620J. DavisKeymasterHi Ania,
Please be informed that the gallery of the single accommodation type module leads to the default accommodation type page, well, by default. There’s no functionality to either disable this link or change it, unfortunately. So in this case, I may only suggest you either use some other gallery module for accommodation-type galleries (images should be selected manually) or apply a custom CSS code to disable the link. As for the lightbox, I would like to inform you that the option you’re referring to is only meant to enable the lightbox on the default accommodation-type pages. - AuthorPosts
- You must be logged in to reply to this topic.