small changes in todo and in shortcode hook
This commit is contained in:
@@ -28,13 +28,13 @@
|
|||||||
- [/] deal with window size
|
- [/] deal with window size
|
||||||
|
|
||||||
- [/] la carte ne s'affiche pas sur les pages
|
- [/] la carte ne s'affiche pas sur les pages
|
||||||
- [ ] zoom sur cluster problem
|
|
||||||
- [/] filtres sur chrome
|
- [/] filtres sur chrome
|
||||||
- [/] infowindow new design
|
- [/] infowindow new design
|
||||||
- [/] infowindow enlever scroll border
|
- [/] infowindow enlever scroll border
|
||||||
- [ ] enlever ordre alphabetique categories
|
|
||||||
- [ ] reduire espace checkboxs
|
|
||||||
- [ ] reduire hauteur du select menu
|
- [ ] 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:
|
#### verifications:
|
||||||
- api only for this site on fabien's google account
|
- api only for this site on fabien's google account
|
||||||
|
|||||||
@@ -155,7 +155,7 @@ add_shortcode('lejourduprof_map', 'mp_ljdp_map');
|
|||||||
|
|
||||||
function mp_update_publish() {
|
function mp_update_publish() {
|
||||||
$post_args = array(
|
$post_args = array(
|
||||||
'numberposts' => 1,
|
'numberposts' => -1,
|
||||||
//'post_status' => 'draft',
|
//'post_status' => 'draft',
|
||||||
'post_status' => 'publish',
|
'post_status' => 'publish',
|
||||||
'post_type' => 'post',
|
'post_type' => 'post',
|
||||||
@@ -216,9 +216,6 @@ function post_published_coordinates($id, $post) {
|
|||||||
if ( ! add_post_meta( $id, 'location', $location, true ) )
|
if ( ! add_post_meta( $id, 'location', $location, true ) )
|
||||||
update_post_meta( $id, 'location', $location );
|
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 );
|
add_action( 'publish_post', 'post_published_coordinates', 10, 2 );
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user