Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author agentevolution

    (@agentevolution)

    The error that shows when you click a photo references a line in your theme’s functions.php file. Contact your theme developer for a solution.

    Thread Starter BlackLionDigital

    (@blackliondigital)

    Is this link correct though?
    http://staging.blackliondigital.com/bevington/site-23/site-23-235-000-1_l/

    It doesn’t look correct? (i.e. it doesn’t have wp-content in it)

    Thanks in advance!

    Plugin Author agentevolution

    (@agentevolution)

    No it doesn’t look correct. You can try deleting and re-adding the gallery, but regardless it’s not a plugin issue.

    Thread Starter BlackLionDigital

    (@blackliondigital)

    If anyone else is having this issue, I’m using Jupiter theme. I put this fix inside single-listing.php

    Note: It also adds a ‘lightbox’, you will need a lightbox script installed for that part.

    <script>
    
    //fixes the error in the <a> tag
    
    jQuery( ".attachment-thumbnail" ).parent().each(function( index ) {
      blamo = jQuery(this).find("img").attr("src").replace("-150x150","");
    
      jQuery(this).attr("href",blamo)
      jQuery(this).attr("rel","lightbox[propertyphotos]")
    });
    </script>
Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Photo Links are Broken’ is closed to new replies.