• Resolved leighross

    (@leighross)


    I am trying to add links to images in gallery but they are not working. They seemed to be working before but stopped. However they do work if I set them to open in a new window, which I don’t want.
    Can you help me fix this please?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi @leighross

    I’m very sorry for any trouble! In our next release, we’ll be resolving that. But please know for support on premium products you should go through the support tab from your Envira account as this forum is for Envira Lite users only per the WP.org regulations.

    For now to work around the links, you can add some custom JS through a plugin called Custom CSS & JS.

    Once you activate the plugin, just go to Add Custom JS and copy/paste this JS into that area and click Publish.

    If you want it for all Envira galleries use this JS:

    jQuery(document).ready(function( $ ){  
      $("a.envira-gallery-link").attr("target","_blank");
    });

    If you want this for a specific gallery, just use this JS:

    jQuery(document).ready(function( $ ){  
      $("#envira-gallery-wrap-4379 a.envira-gallery-link").attr("target","_blank");
    });

    Just be sure to change the -4379 to match your gallery ID.

    If you open up a ticket with support, we can keep your ticket open until the release containing this resolution is pushed and notify you via email. If you do open a ticket, be sure to mention this thread you opened on the forum so we know we’ve already provided the temporary work around (and don’t repeat ourselves) 🙂

Viewing 1 replies (of 1 total)

The topic ‘Link not working’ is closed to new replies.