diff --git a/README.md b/README.md index 392bcff..74b067c 100644 --- a/README.md +++ b/README.md @@ -28,13 +28,13 @@ - [/] deal with window size - [/] la carte ne s'affiche pas sur les pages -- [ ] zoom sur cluster problem - [/] filtres sur chrome - [/] infowindow new design - [/] infowindow enlever scroll border -- [ ] enlever ordre alphabetique categories -- [ ] reduire espace checkboxs - [ ] reduire hauteur du select menu +- [ ] zoom sur cluster problem +- [ ] dans categories, placer "autres" en bas, et transformer fleches en "autres" +- [ ] effacer les fenetres, au moins sur le bouton effacer, ou sur mouvement #### verifications: - api only for this site on fabien's google account diff --git a/srcs/plugins/map_prof/map_prof_hooks.php b/srcs/plugins/map_prof/map_prof_hooks.php index 05ec399..c48a42f 100644 --- a/srcs/plugins/map_prof/map_prof_hooks.php +++ b/srcs/plugins/map_prof/map_prof_hooks.php @@ -155,7 +155,7 @@ add_shortcode('lejourduprof_map', 'mp_ljdp_map'); function mp_update_publish() { $post_args = array( - 'numberposts' => 1, + 'numberposts' => -1, //'post_status' => 'draft', 'post_status' => 'publish', 'post_type' => 'post', @@ -216,9 +216,6 @@ function post_published_coordinates($id, $post) { if ( ! add_post_meta( $id, 'location', $location, true ) ) update_post_meta( $id, 'location', $location ); - if ( ! add_post_meta( $id, 'test', "ok", true ) ) - update_post_meta( $id, 'test', "ok" ); - } add_action( 'publish_post', 'post_published_coordinates', 10, 2 );