Viewing 9 replies - 1 through 9 (of 9 total)
  • You need to edit plugins/wp-property/templates/template-functions.php

    Change this:
    <div class="property_image"><a href="<?php echo $thumbnail_link; ?>"
    to this:
    <div class="property_image"><a href="<?php echo $property['permalink']; ?>"

    And also remove <?php echo $link_class; ?> from the same line.

    Did the trick for me. But be aware once you update the plug-in it will be overwritten.

    Plugin Contributor Anton Korotkoff

    (@anton-korotkoff)

    To be not overwritten place your templates into your theme.

    Thread Starter ramsydney

    (@ramsydney)

    Worked a treat! Thanks so much, I appreciate your time.

    Thread Starter ramsydney

    (@ramsydney)

    I have another question regarding my query above – after changing the code above, now when I click on the thumbnail image it opens the property page as a new page slideout (like a photo gallery image). It doesn’t just open the property page as a separate page. Is there any way to change the thumbnail so it just goes direct to the property page, that is, with the same function as clicking on the title hyperlink?

    Thanks in advance for any help.

    Here is a link to my website – https://forsale.jettysbythelake.com/property/

    I am not sure, but I am also looking at this plugin as a possible for myself.

    Would it be best to change the class from: “property_image”
    to “property_title” to avoid that problem.

    Thread Starter ramsydney

    (@ramsydney)

    Thanks ABCDiamond. I tried making the change but it still opens the property page like an image slider / popup. Maybe I didn’t enter it in the correct area?

    Thread Starter ramsydney

    (@ramsydney)

    In the meantime until I resolve the problem, can anyone give me some tips on how I can remove the link altogether from the thumbnail image?? I’d rather it not link to anything, than to this weird pop up screen. Thanks.

    I would start looking at this:

    The class that creates the image slider is this one:

    class=”property_overview_thumb property_overview_thumb_sidebar_wide fancybox_image thumbnail”

    It is found in two css files that you have.

    wp-property/templates/wp_properties.css
    wp-property/templates/theme-specific/twentyeleven.css

    and I assume it is part of this plugin:

    FancyBox – jQuery Plugin

    Did anyone sort this? I tried hacking out the entire href tag from around the thumbnail code in template-functions.php and it didn’t make any difference at all.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Can the thumbnail image link to the property details page?’ is closed to new replies.