fixed pbm var env name in env docker
This commit is contained in:
@@ -1 +0,0 @@
|
||||
/home/www-data//google_map
|
||||
@@ -1 +0,0 @@
|
||||
/home/www-data//map_prof
|
||||
@@ -14,7 +14,7 @@ function my_init_script() {
|
||||
wp_enqueue_style('my_style', $style_path);
|
||||
}
|
||||
|
||||
// if bock theme : https://wordpress.org/support/topic/twenty-twenty-two-cpt-template-error-theme-without-header-is-deprecated/
|
||||
// if block theme : https://wordpress.org/support/topic/twenty-twenty-two-cpt-template-error-theme-without-header-is-deprecated/
|
||||
function add_map_api(){
|
||||
?>
|
||||
<script type="text/javascript" src="https://www.openstreetmap.org/openlayers/OpenStreetMap.js"></script>
|
||||
@@ -106,7 +106,7 @@ function print_content($content){
|
||||
});
|
||||
}
|
||||
</script>';
|
||||
$content .= '<script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCvdGV2ssD4ov4a9CuIlQhoJyz5gWWiSvE&callback=initMap"></script>';
|
||||
$content .= '<script async defer src="https://maps.googleapis.com/maps/api/js?sensor=false&key=AIzaSyCvdGV2ssD4ov4a9CuIlQhoJyz5gWWiSvE&callback=initMap"></script>';
|
||||
|
||||
return $content;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user