Hi,
In reference to a support request last week here, I was having issues showing the neighbourhood featured images in the GD > Locations widget and also on Location pages.
Thanks to the recent update the GD > Location widget now shows the neighbourhood images which is great, so thank you! But my hero images on the Neighbourhood location pages are not working, they are showing the city’s featured image instead of the Neighbourhood image.
Looking at the Location Manager code I did find a fix in the class-geodir-location-seo.php file in the get_location_seo() function by adding the following slug check statment for neighbourhoods after the slug checks for country, region and city.
if ( ! empty ( $location_terms->neighbourhood_slug ) ) {
$type = 'neighbourhood';
$value = $location_terms->neighbourhood_slug;
}
That fixed things for me, so could be of help to the devs. Might just be for me but thought it’s worth mentioning for future releases or any one else.
Thank you,
Harry