finally a tuto that seems ok
This commit is contained in:
@@ -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);
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user