Stop featured images from linking to accommodation page

Free and Premium WordPress Plugins & Themes Forums WordPress Plugins Hotel Booking Stop featured images from linking to accommodation page

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1431239
    Ania Jakubowski
    Participant

    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.php

    paste the file to
    wp-content\themes\your-theme-folder\hotel-booking\loop-room-type\

    open the file and remove tags e.g
    “> and

    #1432115
    J. Davis
    Keymaster

    Hu 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/

    #1432132
    Ania Jakubowski
    Participant

    I 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?

    #1432133
    Ania Jakubowski
    Participant

    And images don’t open in a lightbox even though the setting for it is checked under your settings.

    #1432620
    J. Davis
    Keymaster

    Hi 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.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.