Hi, since I updated the geolocation plugin, I no longer have related listing. When I disable the plugin it works well.
Is it possible to undo this and have related listings on the category?
Thank you
Hi, since I updated the geolocation plugin, I no longer have related listing. When I disable the plugin it works well.
Is it possible to undo this and have related listings on the category?
Thank you
Please try this PHP snippet
add_action(
'template_redirect',
function(){
if ( hivepress()->get_version( 'geolocation' ) ) {
remove_action( 'hivepress/v1/models/listing/relate', [ hivepress()->geolocation, 'set_related_query' ] );
}
}
);
thank you I try it tomorrow
Work done, thank you yevhen
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.