Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #812164

    HI there I’ve followed the following yet nothing is working:

    Both the WP Gallery Custom Links plug-in is installed.

    Following code is added to the bottom the functions.php file, residing in the enfold-child folder:

    add_filter(‘avf_avia_builder_gallery_image_link’, ‘avia_change_gallery_thumbnail_link’, 10, 4);
    function avia_change_gallery_thumbnail_link($link, $attachment, $atts, $meta)
    {
    $custom_url = get_post_meta($attachment->ID, ‘_gallery_link_url’, true);
    if(!empty($custom_url))
    {
    $link[0] = $custom_url;
    $link[‘custom_link_class’] = ‘aviaopeninbrowser’;
    }
    return $link;
    }

    I’ve added the appropriate links to each of the images (red & grey in tiles) – yet they still trigger the lightboxes. Please assist.

    #812968

    I also tried removing the Enfold lightbox functionality from the option within the control panel but still no luck.

    #813219

    Hi,

    Have you tried contact the plugin developer please to let us know what they would suggest?

    Best regards,
    Basilis

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