finally a tuto that seems ok

This commit is contained in:
lenovo
2022-10-26 19:55:16 +02:00
parent c9e794b4ec
commit 40963ce3cb
7 changed files with 52 additions and 28 deletions

View File

@@ -37,7 +37,7 @@ function add_map_api(){
</script>
<?php
}
add_action('wp_head', 'add_map_api');
//add_action('wp_head', 'add_map_api');
function print_content($content){
@@ -93,6 +93,6 @@ function print_content($content){
//$content .= "<div id='map'><p>OSM map 2</p></div>";
return $content;
};
add_action('the_content', 'print_content', 1);
//add_action('the_content', 'print_content', 1);
?>