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, 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 July 16, 2021