//die;
?>
if ($image_id) {
$image = wp_get_attachment_image_src($image_id, 'full');
$imageUrl = $image[0];
}
//$postType = isset($_POST['categorie']) ? $_POST['categorie'] : null;
$category = isset($_POST['category']) ? $_POST['category'] : null;
if ($category) {
array_push(
$taxQuery,
array(
'taxonomy' => 'tribe_events_cat',
'field' => is_numeric($category) ? 'id' : 'slug',
'terms' => $category
)
);
}
$queryArgs = [
//'s' => $s,
'tax_query' => $taxQuery,
//'meta_query' => $metaQuery,
//'posts_per_page' => $posts_per_page,
//'orderby' => $orderBy,
//'order' => $order,
//'paged' => $paged,
'post_type' => 'project',
];
$query = new WP_Query($queryArgs);
//print_r($meta->term_id);
//die;
$map = do_blocks('');
?>