Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1285382

    I am using the Gallery as an index of designs. Clicking on any of the designs is meant to take the visitor to that design page.

    When clicking on the images I get either the Lightbox or the image on the same page. It doesn’t take the viewer to the custom linked page.

    I have changed the Custom Link to be the page I want the user to be taken to, I have also changed the Link Settings to > use custom link.

    All I get is the same image enlarged, rather than the page it is meant to be taking me to.

    Any ideas?

    Thanks

    #1285397

    PS, I think the problem is the latest version of Enfold. 4.8.

    I have set up a similar gallery on a test site (using Enfold 4.7.6.4.) and this takes the visitor to the correct page.

    Link in private content.

    #1285964

    Hi,

    Please send us a temporary WordPress admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.

    Best regards,
    Rikard

    #1286395

    Hi Rikard thanks for your help.

    #1286968

    Hi,

    Thanks for that. I activated the parent theme, and it starts working as it should after that. That means that something in your child theme is causing this problem. I wanted to check the content of the child theme, but the Appearance->Editor functionality is disabled on your installation.

    Best regards,
    Rikard

    #1287066

    Hi Rikard,

    Thank you for checking for me. I have changed the CSS for a blank set and that made no difference.

    But changing the functions.php file for a blank one fixed the problem.

    I have pasted the contents of my functions file in the private content. Could you possibly see what is wrong please?

    Thanks for all your help!

    Colin

    #1287171

    PS, I think I have found the function that is causing the problem.

    The function is one kindly supplied by Kriesi to force Lightbox images to display at full size. Is there perhaps something wrong with the syntax that caused it not to work with the new Enfold / WordPress ?

    // changes lighbox images to full size
    function avia_change_gallery_thumbnail_link($link, $attachment, $atts, $meta){
        $link = wp_get_attachment_image_src($attachment->ID, "full");
        return $link;
    }
    add_filter('avf_avia_builder_gallery_image_link', 'avia_change_gallery_thumbnail_link', 10, 4);
    #1288504

    Hi Colin,

    Sorry for the late reply!

    We are updating Gallery element and will add option to display full size images in lightbox so function will no longer be necessary. We are probably going to add the new option in upcoming version.

    Best regards,
    Yigit

    #1288522

    Not to worry. That’s great thank you!

    #1288533

    Hey,

    You are welcome!

    Best regards,
    Yigit

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