Margherita De Nadai, padovana, laureata in Strategie di Comunicazione, è iscritta all’Ordine dei Giornalisti del Veneto. Da alcuni anni collabora con diverse testate di carattere socio-sanitario come “Osservatorio Malattie Rare” e “Nord Est Sanità”.
EVENTI COLLEGATI:
';
}
return $html;
}
function my_pre_get_posts( $query ) {
// do not modify queries in the admin
if( is_admin() ) {
return $query;
}
// only modify queries for 'event' post type
if( isset($query->query_vars['post_type']) && $query->query_vars['post_type'] == 'evento' ) {
// allow the url to alter the query
if( isset($_GET['data_di_evento']) ) {
$query->set('meta_key', 'data_di_evento');
$query->set('meta_value', $_GET['data_di_evento']);
}
}
// return
return $query;
}
add_action('pre_get_posts', 'my_pre_get_posts');
/*
* Remove Google Maps API Call if used in Enfold theme and Auto Location is active
*/
add_filter( 'avf_load_google_map_api', '__return_false' );
?>


