Support » Fixing WordPress » Image link not working, please help.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Which image?

    The Google Play Store one. Clicking it should open up the app page, but instead it looks like it’s trying to open a lightbox window.

    You have a class in the code that’s causing that – this is the code:

    <a class="external td-modal-image" rel="nofollow" target="_blank" href="https://play.google.com/store/apps/details?id=com.pplupo.products.aftercredits.r2">
    <img class="aligncenter wp-image-37523 size-full" width="172" height="60" alt="Get it on Google Play" src="http://aftercredits.com/wp-content/uploads/2015/01/en_generic_rgb_wo_60.png">
    </a>

    Try removing this part:

    class="external td-modal-image"

    Great, I was afraid of that. I changed themes recently and some things with it are being a pain. That model thing is basically hard coded in otherwise other images don’t work like they should.

    Is there a way to ignore that class? I tried simply putting “class=””” in the <a href code, but that doesn’t help. Ideas?

    No idea – where did your theme come from? Or perhaps a plugin is doing that?

    I’m trying to get help from the theme’s dev’s (tagdiv newspaper theme) as well, but it’s slow going.

    It’s not a plugin, it’s the way the theme handles images. Since I have so many images and the theme does not allow recursive enabling of the modal image thing, I had to hard code the site so that 99.9% of the images load properly. Unfortunately, doing that breaks image links.

    It seems I should be able to make exceptions in HTML to enforce a class, kinda like you can in CSS with the !important argument.

    it’s the way the theme handles images.

    Hopefully the developer will get back to you. Or you could also try just adding the HTML manually in the location you want that image to be – don’t use the insert image function – that might let you omit that class.

    Thanks, but that doesn’t work either. Something is overriding image handling.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Image link not working, please help.’ is closed to new replies.