Linkaara
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Store Locator] Adding a library to the APIThanks! It worked perfectly.
add_filter( ‘wpsl_gmap_api_params’, ‘custom_gmap_api_params’ );
function custom_gmap_api_params( $api_params ) {
$api_params = $api_params .’&libraries=places’;
return $api_params;
}Forum: Plugins
In reply to: [WP Store Locator] Multiple maps per pageHello, thank you for your response.
I`ve made some other tests and I have found this:
1-If a write the shortcodes as<?php //echo do_shortcode( '[wpsl auto_locate="false"]' ) ?> //general map ...custom code to show the store meta data.... <?php echo do_shortcode( '[wpsl_map zoom="10"]' ); ?> //individual store map
In this case, the general map with the search loads first, and then the individual store map; in this case the maps are loaded swapped ( https://drive.google.com/file/d/11nP8NlSPsP3nSXgZWMDl59MD-W8aB5rL/view )
2-If I load the general map waay after the individual map, both maps load correctly:
https://drive.google.com/file/d/1EN4btb9LR2QoPKmiq4Zh7Z4msa3AN6Su/view?usp=sharingThanks!
Forum: Plugins
In reply to: [Brilliant Web-to-Lead for Salesforce] Salesforce URL leads updateThank you all!! I will make sure to keep the plugin updated.
Forum: Plugins
In reply to: [WP Store Locator] Get Lat/Long from StoreAny suggestions on this?
Thank you!Forum: Plugins
In reply to: [WP Store Locator] Get Lat/Long from StoreHello, thank you for your response!
I would not have a problem with a solution that requires to modify the core base (I am aware that future updates could break this).
I am not clear on the request to the JS Geocode API. The plugin already stores the lat/long for each locator on the backend. For example, in this this link there is a way to add the Opening Hours to the Search Results. If I wanted to also include the Lat/Long already saved for the store clicked in a similar way this custom code is showing the Opening Hours, is it possible?
Thank you!