get_stylesheet_directory_uri()."/static/" ); wp_localize_script( 'carte-interactive', 'paths', $asserts ); } $context = Timber::get_context(); $post = new TimberPost(); $context['post'] = $post; //$apidae = new \Apidae\Client\ObjetManager(); //$params = array( // "_quantite" => 9999 //); //foreach ($_GET as $key => $value) { // $params[$key] = $value; //} //$context['objets'] = $apidae->search( // $params, // "listing", // "fr" //); Timber::render( array( 'carte-interactive.twig' ), $context );