Hi and thanks for your response. I’m having a bit of difficulty with the customisation.
So i’ve found the area that i need to change in listing-listview.php
<div class="geodir-post-img <?php echo apply_filters
('geodir_listing_listview_thumb_extra_class', '',
'listing'); ?>">
<?php if ($fimage = geodir_show_featured_image
($post->ID, 'list-thumb', true, false,
$post->featured_image)) { ?>
<a href="<?php the_permalink(); ?>">
<?php echo $fimage; ?>
</a>
So i’ve been experimenting with it in many ways but the closest i came was by simply changing
$post->featured_image
to
$post->geodir_logo
which is my custom field.
Unfortunately the html output is not quite right ..
<div class="geodir-post-img ">
<a href="http://mysite.com/
designers/united-kingdom/lisburn/hillsborough/web-design/
fluid-studio/">
<div data-src="http://mysite.com/wp-content/uploads
http://mysite.com/wp-content/uploads/2017/01/
7947_geodir_logo_logo_green.jpg" class="geodir_thumbnail
geodir_lazy_load_thumbnail" style="background-image:
url(http://mysite.com/wp-content/uploads
http://mysite.com/wp-content/uploads/2017/01/
7947_geodir_logo_logo_green.jpg); opacity: 1;"></div> </a>
As you can see it is pre-pending
http://mysite.com/wp-content/uploads
to everything.
Could anyone please point me in the right direction to fix this ?
Thanks agin for your help, it is greatly appreciated.