How to show my original location address in the Map widget?

When you enter an address for a listing, the theme uses the Google Maps services to get geolocation details about it, including a standardized address format. This is used by default for consistency across your listings.

To remove this formatting and display your original address instead of the standardized one (the schema.org data will still be kept), you can add the following code in the functions.php file of a child theme:

function listable_remove_formatted_address() { 
	add_filter( 'listable_skip_geolocation_formatted_address', '__return_true' ); 
}
add_action( 'init', 'listable_remove_formatted_address' ); 

This code won’t work when using Regions for WP Job Manager plugin.

Updated on August 25, 2020

Can't find what you’re looking for? Ask a human.

We're a small team of real people providing real help. Send us an email at hello@pixelgrade.com and we will give you a helping hand.