diff --git a/README.md b/README.md index 49f1807..98883d4 100644 --- a/README.md +++ b/README.md @@ -2,10 +2,19 @@ #### todo - [/] copy recent site version -- [ ] create links -- [ ] make links having map +- [/] create links +- [/] make links having map - [ ] transform filter list in select - [ ] make two infowindow size +- ne pas ouvrir sur un nouvel onglet +- responsive + - pays + - categories + - irl / online + - effacer -> bouton carre, fond violet, ecriture blanche, en capitale, arrondis de 3px sur les coins +- sur ordi carte hauteur 600px, sur telephone 500px +- "reinitialiser" avec accents, ou "effacer", "Pays" et "Categories" avec les accents +- enlever le bandeau de scroll des menus if time: - [ ] deal with error double event irl and online - [ ] deal with multiplication of filters diff --git a/srcs/plugins/map_prof/map_prof_hooks.php b/srcs/plugins/map_prof/map_prof_hooks.php index 8d425ee..fc9db9a 100644 --- a/srcs/plugins/map_prof/map_prof_hooks.php +++ b/srcs/plugins/map_prof/map_prof_hooks.php @@ -124,7 +124,7 @@ function mp_ljdp_map() { if (is_event_post()) { $mp_zoom = $mp_zoom_set[1]; - $location = get_field(location); + $location = get_field("location"); $coordinates = $location->coordinates; $mp_coordinates_default = $coordinates; diff --git a/srcs/plugins/map_prof/mp_create_div.php b/srcs/plugins/map_prof/mp_create_div.php index 864484e..9288501 100644 --- a/srcs/plugins/map_prof/mp_create_div.php +++ b/srcs/plugins/map_prof/mp_create_div.php @@ -15,14 +15,8 @@ function mp_filter_drop_down($key, &$filter) {
'; foreach ($filter as $value) { - /* -

'.$value->_name.'

-

'.$value->_name.'

-

'.$value->_name.'

-

'.$value->_name.'

- */ $content .= ' -

'.$value->_name.'

+

'.$value->_name.'

'; } $content .= ' @@ -40,7 +34,7 @@ function mp_filter_buttons($key, &$filter) { $content = ''; foreach ($filter as $value) { $content .= ' - +