{"id":21155,"date":"2025-09-25T14:55:32","date_gmt":"2025-09-25T12:55:32","guid":{"rendered":"https:\/\/www.xaviervignon.com\/blog\/"},"modified":"2025-10-07T17:02:19","modified_gmt":"2025-10-07T15:02:19","slug":"blog","status":"publish","type":"page","link":"https:\/\/www.xaviervignon.com\/en\/blog\/","title":{"rendered":"Wine Journal"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; background_image=&#8221;https:\/\/www.xaviervignon.com\/wp-content\/uploads\/2022\/11\/Journal_du_vin.png&#8221; min_height=&#8221;800px&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_row _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; max_width=&#8221;1224px&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_code _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<div class=\"content-0-2-134\">\n<div class=\"titleWithLine-0-2-87 titleWithLine-d47-0-2-311 title-0-2-132\">XAVIER VIGNON<\/div>\n<h3 class=\"heading-0-2-88 description-0-2-133\">\n<div class=\"\">The Wine Journal<\/div>\n<\/h3>\n<\/div>\n<p>[\/et_pb_code][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_row _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; max_width=&#8221;1384px&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_code _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]  <section id=\"xv-articles-9SyWb4TT\" class=\"content-0-2-156\"\n           data-per-page=\"12\"\n           data-nonce=\"570b6c93e3\">\n    <div class=\"container-0-2-160\">\n      <div class=\"categories-0-2-161\">\n                  <label class=\"filterButton-0-2-163\" for=\"article-preview-xv-articles-9SyWb4TT-252\">\n            #AccordsMetsetVins            <input class=\"input-0-2-162\" type=\"checkbox\" id=\"article-preview-xv-articles-9SyWb4TT-252\" value=\"252\">\n          <\/label>\n                  <label class=\"filterButton-0-2-163\" for=\"article-preview-xv-articles-9SyWb4TT-254\">\n            #AppellationsEtC\u00e9pages            <input class=\"input-0-2-162\" type=\"checkbox\" id=\"article-preview-xv-articles-9SyWb4TT-254\" value=\"254\">\n          <\/label>\n                  <label class=\"filterButton-0-2-163\" for=\"article-preview-xv-articles-9SyWb4TT-248\">\n            #Nosideesrecette            <input class=\"input-0-2-162\" type=\"checkbox\" id=\"article-preview-xv-articles-9SyWb4TT-248\" value=\"248\">\n          <\/label>\n                  <label class=\"filterButton-0-2-163\" for=\"article-preview-xv-articles-9SyWb4TT-247\">\n            #Nouvellecuv\u00e9e            <input class=\"input-0-2-162\" type=\"checkbox\" id=\"article-preview-xv-articles-9SyWb4TT-247\" value=\"247\">\n          <\/label>\n                  <label class=\"filterButton-0-2-163\" for=\"article-preview-xv-articles-9SyWb4TT-246\">\n            #Uneid\u00e9eduvin            <input class=\"input-0-2-162\" type=\"checkbox\" id=\"article-preview-xv-articles-9SyWb4TT-246\" value=\"246\">\n          <\/label>\n                  <label class=\"filterButton-0-2-163\" for=\"article-preview-xv-articles-9SyWb4TT-253\">\n            #Winetourism            <input class=\"input-0-2-162\" type=\"checkbox\" id=\"article-preview-xv-articles-9SyWb4TT-253\" value=\"253\">\n          <\/label>\n                  <label class=\"filterButton-0-2-163\" for=\"article-preview-xv-articles-9SyWb4TT-1\">\n            Noncat\u00e9goris\u00e9            <input class=\"input-0-2-162\" type=\"checkbox\" id=\"article-preview-xv-articles-9SyWb4TT-1\" value=\"1\">\n          <\/label>\n              <\/div>\n    <\/div>\n\n    <div class=\"container-0-2-157\">\n      <ul class=\"articles-0-2-158\">\n            <li class=\"container-0-2-176\" data-terms=\"252\">\n      <a class=\"link-0-2-177\" href=\"https:\/\/www.xaviervignon.com\/en\/accordsmetsetvins\/raclette-tartiflette-and-winter-cheeses-what-are-the-perfect-wine-pairings-for-winter-dishes\/\">\n        <article class=\"article-0-2-172\">\n          <div class=\"img-0-2-175\">\n                          <img decoding=\"async\" class=\"img-0-2-108\" src=\"https:\/\/www.xaviervignon.com\/wp-content\/uploads\/2026\/01\/0801-Vins-et-recettes-montagne-1024x574.jpg\" alt=\"Raclette, tartiflette, and winter cheeses\u2026 what are the perfect wine pairings for winter dishes?\">\n                      <\/div>\n\n                      <div class=\"heading-0-2-88 category-0-2-173\">#AccordsMetsetVins<\/div>\n          \n          <h3 class=\"title-0-2-174\">Raclette, tartiflette, and winter cheeses\u2026 what are the perfect wine pairings for winter dishes?<\/h3>\n\n          <!-- Overlay + -->\n          <span class=\"xv-overlay-plus\" aria-hidden=\"true\">\n            <span class=\"xv-plus-wrap\"><span class=\"xv-plus\">+<\/span><\/span>\n          <\/span>\n        <\/article>\n      <\/a>\n    <\/li>\n        <li class=\"container-0-2-176\" data-terms=\"246\">\n      <a class=\"link-0-2-177\" href=\"https:\/\/www.xaviervignon.com\/en\/uneideeduvin\/which-wines-should-you-gift-for-the-festive-season\/\">\n        <article class=\"article-0-2-172\">\n          <div class=\"img-0-2-175\">\n                          <img decoding=\"async\" class=\"img-0-2-108\" src=\"https:\/\/www.xaviervignon.com\/wp-content\/uploads\/2025\/12\/quel-vin-offrir-1024x585.jpg\" alt=\"Which wines should you gift for the festive season?\">\n                      <\/div>\n\n                      <div class=\"heading-0-2-88 category-0-2-173\">#Uneid\u00e9eduvin<\/div>\n          \n          <h3 class=\"title-0-2-174\">Which wines should you gift for the festive season?<\/h3>\n\n          <!-- Overlay + -->\n          <span class=\"xv-overlay-plus\" aria-hidden=\"true\">\n            <span class=\"xv-plus-wrap\"><span class=\"xv-plus\">+<\/span><\/span>\n          <\/span>\n        <\/article>\n      <\/a>\n    <\/li>\n        <li class=\"container-0-2-176\" data-terms=\"246\">\n      <a class=\"link-0-2-177\" href=\"https:\/\/www.xaviervignon.com\/en\/uneideeduvin\/wine-and-desserts-the-art-of-the-perfect-pairing\/\">\n        <article class=\"article-0-2-172\">\n          <div class=\"img-0-2-175\">\n                          <img decoding=\"async\" class=\"img-0-2-108\" src=\"https:\/\/www.xaviervignon.com\/wp-content\/uploads\/2025\/11\/xavier-vignon-vin-dessert-1024x585.jpg\" alt=\"Wine and desserts: the art of the perfect pairing\">\n                      <\/div>\n\n                      <div class=\"heading-0-2-88 category-0-2-173\">#Uneid\u00e9eduvin<\/div>\n          \n          <h3 class=\"title-0-2-174\">Wine and desserts: the art of the perfect pairing<\/h3>\n\n          <!-- Overlay + -->\n          <span class=\"xv-overlay-plus\" aria-hidden=\"true\">\n            <span class=\"xv-plus-wrap\"><span class=\"xv-plus\">+<\/span><\/span>\n          <\/span>\n        <\/article>\n      <\/a>\n    <\/li>\n        <li class=\"container-0-2-176\" data-terms=\"246\">\n      <a class=\"link-0-2-177\" href=\"https:\/\/www.xaviervignon.com\/en\/uneideeduvin\/our-guide-to-tannins\/\">\n        <article class=\"article-0-2-172\">\n          <div class=\"img-0-2-175\">\n                          <img decoding=\"async\" class=\"img-0-2-108\" src=\"https:\/\/www.xaviervignon.com\/wp-content\/uploads\/2025\/11\/les-tannins-dans-le-vin.jpg-1024x585.webp\" alt=\"Our guide to tannins\">\n                      <\/div>\n\n                      <div class=\"heading-0-2-88 category-0-2-173\">#Uneid\u00e9eduvin<\/div>\n          \n          <h3 class=\"title-0-2-174\">Our guide to tannins<\/h3>\n\n          <!-- Overlay + -->\n          <span class=\"xv-overlay-plus\" aria-hidden=\"true\">\n            <span class=\"xv-plus-wrap\"><span class=\"xv-plus\">+<\/span><\/span>\n          <\/span>\n        <\/article>\n      <\/a>\n    <\/li>\n        <li class=\"container-0-2-176\" data-terms=\"246\">\n      <a class=\"link-0-2-177\" href=\"https:\/\/www.xaviervignon.com\/en\/uneideeduvin\/wine-aromas-how-does-a-wine-develop-its-aromatic-complexity\/\">\n        <article class=\"article-0-2-172\">\n          <div class=\"img-0-2-175\">\n                          <img decoding=\"async\" class=\"img-0-2-108\" src=\"https:\/\/www.xaviervignon.com\/wp-content\/uploads\/2025\/10\/2210-Les-aromes-du-vin-Comment-les-vins-developpent-ils-une-palette-aromatique-complexe.png-1024x496.webp\" alt=\"Wine aromas: How does a wine develop its aromatic complexity?\">\n                      <\/div>\n\n                      <div class=\"heading-0-2-88 category-0-2-173\">#Uneid\u00e9eduvin<\/div>\n          \n          <h3 class=\"title-0-2-174\">Wine aromas: How does a wine develop its aromatic complexity?<\/h3>\n\n          <!-- Overlay + -->\n          <span class=\"xv-overlay-plus\" aria-hidden=\"true\">\n            <span class=\"xv-plus-wrap\"><span class=\"xv-plus\">+<\/span><\/span>\n          <\/span>\n        <\/article>\n      <\/a>\n    <\/li>\n        <li class=\"container-0-2-176\" data-terms=\"247\">\n      <a class=\"link-0-2-177\" href=\"https:\/\/www.xaviervignon.com\/en\/nouvellecuvee\/celebrating-the-french-spirit\/\">\n        <article class=\"article-0-2-172\">\n          <div class=\"img-0-2-175\">\n                          <img decoding=\"async\" class=\"img-0-2-108\" src=\"https:\/\/www.xaviervignon.com\/wp-content\/uploads\/2023\/07\/1407-Celebrons-lEsprit-Francais_Blog1.png-1024x491.webp\" alt=\"Celebrating the French Spirit!\">\n                      <\/div>\n\n                      <div class=\"heading-0-2-88 category-0-2-173\">#Nouvellecuv\u00e9e<\/div>\n          \n          <h3 class=\"title-0-2-174\">Celebrating the French Spirit!<\/h3>\n\n          <!-- Overlay + -->\n          <span class=\"xv-overlay-plus\" aria-hidden=\"true\">\n            <span class=\"xv-plus-wrap\"><span class=\"xv-plus\">+<\/span><\/span>\n          <\/span>\n        <\/article>\n      <\/a>\n    <\/li>\n        <li class=\"container-0-2-176\" data-terms=\"246\">\n      <a class=\"link-0-2-177\" href=\"https:\/\/www.xaviervignon.com\/en\/uneideeduvin\/how-to-unlock-a-wines-true-potential-5-tips-to-elevate-your-wine-tastings\/\">\n        <article class=\"article-0-2-172\">\n          <div class=\"img-0-2-175\">\n                          <img decoding=\"async\" class=\"img-0-2-108\" src=\"https:\/\/www.xaviervignon.com\/wp-content\/uploads\/2025\/10\/PH-Art-Blog-Degustation.jpg-1024x574.webp\" alt=\"How to unlock a wine\u2019s true potential: 5 tips to elevate your wine tastings!\">\n                      <\/div>\n\n                      <div class=\"heading-0-2-88 category-0-2-173\">#Uneid\u00e9eduvin<\/div>\n          \n          <h3 class=\"title-0-2-174\">How to unlock a wine\u2019s true potential: 5 tips to elevate your wine tastings!<\/h3>\n\n          <!-- Overlay + -->\n          <span class=\"xv-overlay-plus\" aria-hidden=\"true\">\n            <span class=\"xv-plus-wrap\"><span class=\"xv-plus\">+<\/span><\/span>\n          <\/span>\n        <\/article>\n      <\/a>\n    <\/li>\n        <li class=\"container-0-2-176\" data-terms=\"246\">\n      <a class=\"link-0-2-177\" href=\"https:\/\/www.xaviervignon.com\/en\/uneideeduvin\/how-does-soil-shape-the-taste-of-wine\/\">\n        <article class=\"article-0-2-172\">\n          <div class=\"img-0-2-175\">\n                          <img decoding=\"async\" class=\"img-0-2-108\" src=\"https:\/\/www.xaviervignon.com\/wp-content\/uploads\/2025\/04\/Influence-sols-2.png-1024x564.webp\" alt=\"How does soil shape the taste of wine?\">\n                      <\/div>\n\n                      <div class=\"heading-0-2-88 category-0-2-173\">#Uneid\u00e9eduvin<\/div>\n          \n          <h3 class=\"title-0-2-174\">How does soil shape the taste of wine?<\/h3>\n\n          <!-- Overlay + -->\n          <span class=\"xv-overlay-plus\" aria-hidden=\"true\">\n            <span class=\"xv-plus-wrap\"><span class=\"xv-plus\">+<\/span><\/span>\n          <\/span>\n        <\/article>\n      <\/a>\n    <\/li>\n        <li class=\"container-0-2-176\" data-terms=\"246\">\n      <a class=\"link-0-2-177\" href=\"https:\/\/www.xaviervignon.com\/en\/uneideeduvin\/from-the-vine-to-the-cellar-getting-ready-for-harvest\/\">\n        <article class=\"article-0-2-172\">\n          <div class=\"img-0-2-175\">\n                          <img decoding=\"async\" class=\"img-0-2-108\" src=\"https:\/\/www.xaviervignon.com\/wp-content\/uploads\/2025\/09\/0809-De-la-vigne-a-la-cave-la-preparation-aux-vendanges.png-1024x496.webp\" alt=\"From the vine to the cellar: getting ready for harvest\">\n                      <\/div>\n\n                      <div class=\"heading-0-2-88 category-0-2-173\">#Uneid\u00e9eduvin<\/div>\n          \n          <h3 class=\"title-0-2-174\">From the vine to the cellar: getting ready for harvest<\/h3>\n\n          <!-- Overlay + -->\n          <span class=\"xv-overlay-plus\" aria-hidden=\"true\">\n            <span class=\"xv-plus-wrap\"><span class=\"xv-plus\">+<\/span><\/span>\n          <\/span>\n        <\/article>\n      <\/a>\n    <\/li>\n        <li class=\"container-0-2-176\" data-terms=\"247\">\n      <a class=\"link-0-2-177\" href=\"https:\/\/www.xaviervignon.com\/en\/nouvellecuvee\/meet-low-your-new-summer-red-wine\/\">\n        <article class=\"article-0-2-172\">\n          <div class=\"img-0-2-175\">\n                          <img decoding=\"async\" class=\"img-0-2-108\" src=\"https:\/\/www.xaviervignon.com\/wp-content\/uploads\/2025\/09\/LOW-Piscine.png-1024x684.webp\" alt=\"Meet LOW, your new summer red wine\">\n                      <\/div>\n\n                      <div class=\"heading-0-2-88 category-0-2-173\">#Nouvellecuv\u00e9e<\/div>\n          \n          <h3 class=\"title-0-2-174\">Meet LOW, your new summer red wine<\/h3>\n\n          <!-- Overlay + -->\n          <span class=\"xv-overlay-plus\" aria-hidden=\"true\">\n            <span class=\"xv-plus-wrap\"><span class=\"xv-plus\">+<\/span><\/span>\n          <\/span>\n        <\/article>\n      <\/a>\n    <\/li>\n        <li class=\"container-0-2-176\" data-terms=\"248\">\n      <a class=\"link-0-2-177\" href=\"https:\/\/www.xaviervignon.com\/en\/nosideesrecette\/muscat-a-cocktail-revolution-in-the-making\/\">\n        <article class=\"article-0-2-172\">\n          <div class=\"img-0-2-175\">\n                          <img decoding=\"async\" class=\"img-0-2-108\" src=\"https:\/\/www.xaviervignon.com\/wp-content\/uploads\/2025\/09\/0608-Le-Muscat-Le-vin-doux-qui-revolutionne-vos-cocktails.png-1024x496.webp\" alt=\"Muscat: a cocktail revolution in the making\">\n                      <\/div>\n\n                      <div class=\"heading-0-2-88 category-0-2-173\">#Nosideesrecette<\/div>\n          \n          <h3 class=\"title-0-2-174\">Muscat: a cocktail revolution in the making<\/h3>\n\n          <!-- Overlay + -->\n          <span class=\"xv-overlay-plus\" aria-hidden=\"true\">\n            <span class=\"xv-plus-wrap\"><span class=\"xv-plus\">+<\/span><\/span>\n          <\/span>\n        <\/article>\n      <\/a>\n    <\/li>\n        <li class=\"container-0-2-176\" data-terms=\"246\">\n      <a class=\"link-0-2-177\" href=\"https:\/\/www.xaviervignon.com\/en\/uneideeduvin\/scorching-heat-what-does-it-mean-for-the-vines-or-the-wine-in-your-glass\/\">\n        <article class=\"article-0-2-172\">\n          <div class=\"img-0-2-175\">\n                          <img decoding=\"async\" class=\"img-0-2-108\" src=\"https:\/\/www.xaviervignon.com\/wp-content\/uploads\/2025\/09\/2307-Fortes-chaleurs-et-le-vin-quels-impacts-sur-la-vigne-et-les-raisins.png-1024x496.webp\" alt=\"Scorching heat: what does it mean for the vines, or the wine in your glass?\">\n                      <\/div>\n\n                      <div class=\"heading-0-2-88 category-0-2-173\">#Uneid\u00e9eduvin<\/div>\n          \n          <h3 class=\"title-0-2-174\">Scorching heat: what does it mean for the vines, or the wine in your glass?<\/h3>\n\n          <!-- Overlay + -->\n          <span class=\"xv-overlay-plus\" aria-hidden=\"true\">\n            <span class=\"xv-plus-wrap\"><span class=\"xv-plus\">+<\/span><\/span>\n          <\/span>\n        <\/article>\n      <\/a>\n    <\/li>\n          <\/ul>\n\n              <button type=\"button\" class=\"button-0-2-105 button-d3-0-2-385 loadMore-0-2-159\">\n          En voir\n          <svg stroke=\"currentColor\" fill=\"currentColor\" stroke-width=\"0\" t=\"1551322312294\" viewBox=\"0 0 1024 1024\" version=\"1.1\" height=\"11\" width=\"11\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n            <path d=\"M474 152m8 0l60 0q8 0 8 8l0 704q0 8-8 8l-60 0q-8 0-8-8l0-704q0-8 8-8Z\"><\/path>\n            <path d=\"M168 474m8 0l672 0q8 0 8 8l0 60q0 8-8 8l-672 0q-8 0-8-8l0-60q0-8 8-8Z\"><\/path>\n          <\/svg>\n        <\/button>\n          <\/div>\n\n    <style>\n      \/* Grille *\/\n      #xv-articles-9SyWb4TT .articles-0-2-158 {\n        gap: 40px;\n        margin: 4rem auto 4rem!important;\n        display: flex;\n        padding: 0 10px!important;\n        flex-wrap: wrap;\n        max-width: 600px;\n        list-style: none;\n        align-items: stretch;\n      }\n\t  \n\t  #xv-articles-9SyWb4TT .article-0-2-172 {\n\t\t\tdisplay: flex;\n\t\t\tz-index: 1;\n\t\t\tposition: relative;\n\t\t\ttext-align: center;\n\t\t\talign-items: stretch;\n\t\t\tflex-direction: column;\n\t\t\tjustify-content: stretch;\n\t\t}\n\t  \n\t  \n      #xv-articles-9SyWb4TT .container-0-2-176 { position: relative; width: 100%; list-style:none;}\n\n\n      \/* Image *\/\n      #xv-articles-9SyWb4TT .img-0-2-175 { position: relative; overflow: hidden;   width: 100%;   margin-bottom: 1rem; }\n      #xv-articles-9SyWb4TT .img-0-2-175 .img-0-2-108 {\n        width: 100%;\n        height: 330px;\n        display: block;\n        object-fit: cover;\n      }\n\n      \/* Typo (Playfair \/ Ubuntu suppos\u00e9es charg\u00e9es) *\/\n      #xv-articles-9SyWb4TT .category-0-2-173 { color:#E84B31; font-size:17px; line-height:20px; }\n      #xv-articles-9SyWb4TT .heading-0-2-88 { font-style: italic; font-family:\"Playfair Display\", sans-serif; font-weight:400; }\n      #xv-articles-9SyWb4TT .title-0-2-174 {\n        color:#7C7E7F; margin:0.5rem 0 20px; padding:0; flex-grow:1; font-size:14px;\n        font-family:'Ubuntu', sans-serif; font-weight:500; line-height:20px; text-transform:uppercase;\n      }\n\n      \/* Overlay rouge + *\/\n      #xv-articles-9SyWb4TT .article-0-2-172 { position: relative; overflow: hidden; }\n      #xv-articles-9SyWb4TT .xv-overlay-plus {\n        pointer-events:none; position:absolute; inset:0; background:rgba(232,75,49,0.9);\n        opacity:0; transition:opacity .25s ease; display:flex; align-items:center; justify-content:center;\n      }\n      #xv-articles-9SyWb4TT .xv-plus-wrap {\n        width:64px; height:64px; border:2px solid #fff; border-radius:50%; display:grid; place-items:center;\n      }\n      #xv-articles-9SyWb4TT .xv-plus { color:#fff; font-size:34px; line-height:1; transform:translateY(-2px); }\n      #xv-articles-9SyWb4TT .article-0-2-172:hover .xv-overlay-plus { opacity:1; }\n\n      \/* Responsive colonnes d'exemple (optionnel) *\/\n      @media (min-width: 768px){\n        #xv-articles-9SyWb4TT .container-0-2-176 { width: calc(50% - 20px); }\n        #xv-articles-9SyWb4TT .articles-0-2-158 { max-width: 1000px; }\n      }\n      @media (min-width: 1140px){\n        #xv-articles-9SyWb4TT .container-0-2-176 { width: calc(33.333% - 26.7px); }\n        #xv-articles-9SyWb4TT .articles-0-2-158 { max-width: 1344px; }\n      }\n    <\/style>\n\n    <script>\n      (function(){\n        const root    = document.getElementById('xv-articles-9SyWb4TT');\n        if (!root) return;\n\n        const list    = root.querySelector('.articles-0-2-158');\n        const btnMore = root.querySelector('.loadMore-0-2-159');\n        const checks  = root.querySelectorAll('.categories-0-2-161 input[type=\"checkbox\"]');\n        const perPage = parseInt(root.getAttribute('data-per-page'), 10) || 12;\n        const nonce   = root.getAttribute('data-nonce');\n\n        let page = 1;\n\n        function selectedTerms(){\n          const arr = [];\n          checks.forEach(c => { if (c.checked) arr.push(c.value); });\n          return arr;\n        }\n\n        function renderHTML(html, append){\n          if (!append) list.innerHTML = '';\n          if (html) {\n            const tmp = document.createElement('div');\n            tmp.innerHTML = html;\n            const items = tmp.querySelectorAll('li.container-0-2-176');\n            items.forEach(li => list.appendChild(li));\n          }\n        }\n\n        function toggleButton(show){\n          if (!btnMore) return;\n          btnMore.style.display = show ? '' : 'none';\n        }\n\n        async function fetchPosts(nextPage, terms){\n          const form = new FormData();\n          form.append('action', 'xv_load_more_posts');\n          form.append('nonce',  nonce);\n          form.append('page',   nextPage);\n          form.append('per_page', perPage);\n          form.append('terms', terms.join(','));\n\n          const res = await fetch('https:\/\/www.xaviervignon.com\/wp-admin\/admin-ajax.php', {\n            method: 'POST',\n            credentials: 'same-origin',\n            body: form\n          });\n          if (!res.ok) throw new Error('Network error');\n          return res.json();\n        }\n\n        async function loadMore(append=true){\n          try {\n            const terms = selectedTerms();\n            const data  = await fetchPosts(page + 1, terms);\n            if (!data?.success) throw new Error('AJAX error');\n            page += 1;\n            renderHTML(data.data.html, append);\n            toggleButton(data.data.has_more);\n          } catch(e){\n            console.error(e);\n            toggleButton(false);\n          }\n        }\n\n        async function applyFilter(){\n          page = 0; \/\/ on repart de 0, la requ\u00eate demandera page=1\n          try {\n            const terms = selectedTerms();\n            const data  = await fetchPosts(1, terms);\n            if (!data?.success) throw new Error('AJAX error');\n            page = 1;\n            renderHTML(data.data.html, false);\n            toggleButton(data.data.has_more);\n          } catch(e){\n            console.error(e);\n            \/\/ en cas d'erreur, on cache le bouton\n            toggleButton(false);\n          }\n        }\n\n        \/\/ Events\n        if (btnMore) btnMore.addEventListener('click', () => loadMore(true));\n        checks.forEach(c => c.addEventListener('change', applyFilter));\n\t\t\n\t\tchecks.forEach(c => {\n\t\t  const label = c.closest('label.filterButton-0-2-163');\n\t\t  function updateClass(){\n\t\t\tif (c.checked) {\n\t\t\t  label.classList.add('filterButtonActive-0-2-164');\n\t\t\t} else {\n\t\t\t  label.classList.remove('filterButtonActive-0-2-164');\n\t\t\t}\n\t\t  }\n\t\t  c.addEventListener('change', updateClass);\n\t\t  updateClass(); \/\/ \u00e9tat initial\n\t\t});\n\t\t\n      })();\n    <\/script>\n  <\/section>\n  [\/et_pb_code][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; background_image=&#8221;https:\/\/www.xaviervignon.com\/wp-content\/uploads\/2022\/11\/Journal_du_vin.png&#8221; min_height=&#8221;800px&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_row _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; max_width=&#8221;1224px&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_code _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;] XAVIER VIGNON The Wine Journal [\/et_pb_code][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_row _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; max_width=&#8221;1384px&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_code _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][\/et_pb_code][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_et_pb_use_builder":"on","_et_pb_old_content":"","_et_gb_content_width":"","inline_featured_image":false,"footnotes":""},"class_list":["post-21155","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.xaviervignon.com\/en\/wp-json\/wp\/v2\/pages\/21155","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xaviervignon.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.xaviervignon.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.xaviervignon.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xaviervignon.com\/en\/wp-json\/wp\/v2\/comments?post=21155"}],"version-history":[{"count":4,"href":"https:\/\/www.xaviervignon.com\/en\/wp-json\/wp\/v2\/pages\/21155\/revisions"}],"predecessor-version":[{"id":21741,"href":"https:\/\/www.xaviervignon.com\/en\/wp-json\/wp\/v2\/pages\/21155\/revisions\/21741"}],"wp:attachment":[{"href":"https:\/\/www.xaviervignon.com\/en\/wp-json\/wp\/v2\/media?parent=21155"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}