• Resolved patsky

    (@patsky)


    Hello. This is a shout out to any clever people who use this amazing plugin. I have had tons of support from the developers over the years and I know this ask is a step too far.

    I run a not for profit local free listing site and it’s beyond my means to buy a licence and I don’t need the functionality. If anyone can help with a ‘how to’, or point me in the right direction, that would be fantastic.

    I’m not afraid to tinker but my lockdown addled brain is mush and I just can’t find where the code is to remove the listing image hyperlinks. I don’t need / want the links at all. The documentation is amazing but it doesn’t seem to be as easy as removing an ‘a’ tag in a template!

    If someone could help. Please step forward ??

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support bobbied

    (@bobbied)

    Hi @patsky

    Thank you for reaching out about this.

    Although we generally don’t provide CSS code, I had another customer who used this CSS solution and it worked for them:
    .wpbdp-listing a:not(.wpbdp-button) {
    pointer-events: none;
    cursor: default;
    color: #323845;
    text-decoration: none;
    border-bottom: 0px solid #F3F3F3;}

    It’s the pointer-events you need to lose to remove the links.

    I hope that helps. Please try that and let me know if you run into more issues.

    Plugin Support bobbied

    (@bobbied)

    Hey there,

    It actually looks like it changed when we changed the way the links work. Try this instead:

    .listing-title a {
    font-size: 1.8em;
    color: #336699;
    text-decoration: none;
    pointer-events: none;
    }

    Thread Starter patsky

    (@patsky)

    Thanks but not quite. I’m sorry. My fault for not being specific enough. I want the image links removed only on the single listing page.

    Thank you for the pointer though. I’ll tinker with the css to see if I can solve it now.

    I’m sure previously that if you didn’t choose Lightbox then there was no link to the full size image but I think Salman suggested it always worked as it does now. I’m curious if that’s actually true because I would never have wanted that but lockdown plays tricks on my memory!!

    Thanks again.

    Thread Starter patsky

    (@patsky)

    And how easy was that. How did I not try this! There I was ferreting around in single.content.tpl.php LOL! Thank you…

    This works:

    .single-wpbdp_listing .listing-thumbnail a, .single-wpbdp_listing .extra-images a
    {
    pointer-events: none;
    }

    Plugin Support bobbied

    (@bobbied)

    Hey @patsky

    I’m glad you were able to sort it out! ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Remove directory image links’ is closed to new replies.