{"id":10048,"date":"2026-05-22T11:39:44","date_gmt":"2026-05-22T09:39:44","guid":{"rendered":"https:\/\/www.cookingformybaby.com\/en\/?p=10048"},"modified":"2026-05-25T09:37:31","modified_gmt":"2026-05-25T07:37:31","slug":"roasted-vanilla-pineapple-ladyfinger-crumble-baby-recipe-12-months","status":"publish","type":"post","link":"https:\/\/www.cookingformybaby.com\/en\/roasted-vanilla-pineapple-ladyfinger-crumble-baby-recipe-12-months\/","title":{"rendered":"Vanilla Pineapple with Ladyfingers for Babies"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">From 12 months, baby can start eating many new fruits and vegetables, including pineapple! We also know that baby can begin eating small pieces (be careful: not all babies have fully mastered swallowing pieces yet, so we may need to wait a little longer! And in any case, baby should always eat under supervision ;)).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So I thought I would let my daughter taste pineapple in small pieces, but I wanted to prepare a little recipe&#8230;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Pineapple can be fairly tangy, so vanilla\u00a0will soften its flavor in this recipe. I will also add ladyfingers for a sweet touch, which will help mellow the acidity of the pineapple too.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Baby is sure to love this little recipe! The texture should be very appealing, and the pineapple releases a little juice in the mouth&#8230; Yum! Plus, baby will get a lovely boost of vitamins &#x1f642;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here is what you need to make this baby recipe: roasted vanilla pineapple tartare over ladyfinger crumble (from 12 months, for 1 serving):<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Ingredients<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>about 1 cup diced pineapple (130 g pineapple)<\/strong><\/li>\n\n\n\n<li><strong>1 vanilla bean<\/strong><\/li>\n\n\n\n<li><strong>2 ladyfingers<\/strong><\/li>\n\n\n\n<li><strong>about 1 teaspoon butter (a small knob)<\/strong><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Preparation<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><img fetchpriority=\"high\" fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-2762\" src=\"https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/recette-ananas-pour-mon-bebe.jpg\" alt=\"Pineapple recipe for my baby\" width=\"1000\" height=\"382\" title=\"\" srcset=\"https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/recette-ananas-pour-mon-bebe.jpg 1000w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/recette-ananas-pour-mon-bebe-500x191.jpg 500w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/recette-ananas-pour-mon-bebe-300x115.jpg 300w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/recette-ananas-pour-mon-bebe-768x293.jpg 768w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/recette-ananas-pour-mon-bebe-585x223.jpg 585w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" data-pin-title=\"Vanilla Pineapple with Ladyfingers for Baby\" data-pin-description=\"This roasted vanilla pineapple tartare over ladyfinger crumble baby recipe should delight baby\u2019s little taste buds! From 12 months, baby is going to love it!\">We will start by removing the ends of the pineapple. The pineapple should be ripe to very ripe &#x1f642;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><img decoding=\"async\" class=\"alignnone size-full wp-image-2748\" src=\"https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/ananas-pour-bebe.jpg\" alt=\"Pineapple for baby: removing the ends\" width=\"1000\" height=\"320\" title=\"\" srcset=\"https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/ananas-pour-bebe.jpg 1000w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/ananas-pour-bebe-300x96.jpg 300w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/ananas-pour-bebe-768x246.jpg 768w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/ananas-pour-bebe-585x187.jpg 585w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/ananas-pour-bebe-500x160.jpg 500w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" data-pin-title=\"Vanilla Pineapple with Ladyfingers for Baby\" data-pin-description=\"This roasted vanilla pineapple tartare over ladyfinger crumble baby recipe should delight baby\u2019s little taste buds! From 12 months, baby is going to love it!\">Next, we will peel the pineapple. To do this, stand it on one of the now-stable ends, then slide your knife from top to bottom to remove the skin all around, taking care not to remove too much flesh.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><img decoding=\"async\" class=\"alignnone size-full wp-image-2754\" src=\"https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/eplucher-ananas-pour-bebe.jpg\" alt=\"Peeling a pineapple for baby\" width=\"1000\" height=\"358\" title=\"\" srcset=\"https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/eplucher-ananas-pour-bebe.jpg 1000w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/eplucher-ananas-pour-bebe-500x179.jpg 500w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/eplucher-ananas-pour-bebe-300x107.jpg 300w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/eplucher-ananas-pour-bebe-768x275.jpg 768w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/eplucher-ananas-pour-bebe-585x209.jpg 585w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" data-pin-title=\"Vanilla Pineapple with Ladyfingers for Baby\" data-pin-description=\"This roasted vanilla pineapple tartare over ladyfinger crumble baby recipe should delight baby\u2019s little taste buds! From 12 months, baby is going to love it!\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2745\" src=\"https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/ananas-epluche-pour-bebe.jpg\" alt=\"Peeled pineapple for baby\" width=\"1000\" height=\"352\" title=\"\" srcset=\"https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/ananas-epluche-pour-bebe.jpg 1000w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/ananas-epluche-pour-bebe-500x176.jpg 500w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/ananas-epluche-pour-bebe-300x106.jpg 300w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/ananas-epluche-pour-bebe-768x270.jpg 768w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/ananas-epluche-pour-bebe-585x206.jpg 585w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" data-pin-title=\"Vanilla Pineapple with Ladyfingers for Baby\" data-pin-description=\"This roasted vanilla pineapple tartare over ladyfinger crumble baby recipe should delight baby\u2019s little taste buds! From 12 months, baby is going to love it!\">Once the pineapple is peeled, if we have peeled it carefully without removing too much flesh, there will still be what are called the \u201ceyes\u201d on the pineapple. These are the little hard skin remnants that need to be removed, otherwise they will not be very pleasant to eat&#8230; and they can even hurt!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So take a small knife and remove the little eyes one by one, along with any small parts that seem \u201chard.\u201d This is the longest part of our baby recipe, but it is important!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2753\" src=\"https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/enlever-les-yeux-de-l-ananas-pour-bebe.jpg\" alt=\"Removing the pineapple eyes\" width=\"1000\" height=\"249\" title=\"\" srcset=\"https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/enlever-les-yeux-de-l-ananas-pour-bebe.jpg 1000w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/enlever-les-yeux-de-l-ananas-pour-bebe-500x125.jpg 500w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/enlever-les-yeux-de-l-ananas-pour-bebe-300x75.jpg 300w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/enlever-les-yeux-de-l-ananas-pour-bebe-768x191.jpg 768w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/enlever-les-yeux-de-l-ananas-pour-bebe-585x146.jpg 585w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" data-pin-title=\"Vanilla Pineapple with Ladyfingers for Baby\" data-pin-description=\"This roasted vanilla pineapple tartare over ladyfinger crumble baby recipe should delight baby\u2019s little taste buds! From 12 months, baby is going to love it!\">Your pineapple should now look something like this:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2746\" src=\"https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/ananas-epluche-pour-mon-bebe.jpg\" alt=\"Peeled pineapple for baby\" width=\"1000\" height=\"466\" title=\"\" srcset=\"https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/ananas-epluche-pour-mon-bebe.jpg 1000w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/ananas-epluche-pour-mon-bebe-500x233.jpg 500w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/ananas-epluche-pour-mon-bebe-300x140.jpg 300w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/ananas-epluche-pour-mon-bebe-768x358.jpg 768w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/ananas-epluche-pour-mon-bebe-585x273.jpg 585w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" data-pin-title=\"Vanilla Pineapple with Ladyfingers for Baby\" data-pin-description=\"This roasted vanilla pineapple tartare over ladyfinger crumble baby recipe should delight baby\u2019s little taste buds! From 12 months, baby is going to love it!\">Now slice the pineapple into pieces no thicker than about 1\/4 inch (5 mm).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2757\" src=\"https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/rondelles-d-ananas-pour-bebe.jpg\" alt=\"Pineapple slices for baby\" width=\"1000\" height=\"369\" title=\"\" srcset=\"https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/rondelles-d-ananas-pour-bebe.jpg 1000w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/rondelles-d-ananas-pour-bebe-500x185.jpg 500w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/rondelles-d-ananas-pour-bebe-300x111.jpg 300w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/rondelles-d-ananas-pour-bebe-768x283.jpg 768w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/rondelles-d-ananas-pour-bebe-585x216.jpg 585w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" data-pin-title=\"Vanilla Pineapple with Ladyfingers for Baby\" data-pin-description=\"This roasted vanilla pineapple tartare over ladyfinger crumble baby recipe should delight baby\u2019s little taste buds! From 12 months, baby is going to love it!\">Next, cut the slices in a grid pattern to make very small cubes. For this recipe, you need about 3 pineapple slices for one serving, or about 1 cup diced pineapple (130 g). If the pineapple core is too hard, remove it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Cut the slices into a grid, spacing each cut about 1\/4 inch (5 mm) apart.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2751\" src=\"https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/carre-ananas-pour-bebe.jpg\" alt=\"Small pineapple cubes for baby\" width=\"1000\" height=\"537\" title=\"\" srcset=\"https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/carre-ananas-pour-bebe.jpg 1000w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/carre-ananas-pour-bebe-500x269.jpg 500w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/carre-ananas-pour-bebe-300x161.jpg 300w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/carre-ananas-pour-bebe-768x412.jpg 768w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/carre-ananas-pour-bebe-585x314.jpg 585w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" data-pin-title=\"Vanilla Pineapple with Ladyfingers for Baby\" data-pin-description=\"This roasted vanilla pineapple tartare over ladyfinger crumble baby recipe should delight baby\u2019s little taste buds! From 12 months, baby is going to love it!\">Our pineapple tartare is now ready. Place it in a small container. We are going to add vanilla to make a little marinade.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Slice the vanilla bean lengthwise and scrape out the seeds from about 1\/2 inch (1.5 cm) of the bean.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2759\" src=\"https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/vanille-pour-bebe.jpg\" alt=\"Vanilla bean for baby\" width=\"1000\" height=\"402\" title=\"\" srcset=\"https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/vanille-pour-bebe.jpg 1000w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/vanille-pour-bebe-500x201.jpg 500w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/vanille-pour-bebe-300x121.jpg 300w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/vanille-pour-bebe-768x309.jpg 768w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/vanille-pour-bebe-585x235.jpg 585w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" data-pin-title=\"Vanilla Pineapple with Ladyfingers for Baby\" data-pin-description=\"This roasted vanilla pineapple tartare over ladyfinger crumble baby recipe should delight baby\u2019s little taste buds! From 12 months, baby is going to love it!\">Add the scraped seeds&nbsp;to the pineapple and mix. Let it marinate in the fridge for 30 minutes.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1000\" height=\"471\" src=\"https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/ananas-et-graines-de-vanille-pour-bebe.jpg\" alt=\"Pineapple and vanilla seeds for baby\" class=\"wp-image-2747\" title=\"\" srcset=\"https:\/\/www.cookingformybaby.com\/en\/wp-content\/uploads\/2017\/02\/ananas-et-graines-de-vanille-pour-bebe.jpg 1000w, https:\/\/www.cookingformybaby.com\/en\/wp-content\/uploads\/2017\/02\/ananas-et-graines-de-vanille-pour-bebe-300x141.jpg 300w, https:\/\/www.cookingformybaby.com\/en\/wp-content\/uploads\/2017\/02\/ananas-et-graines-de-vanille-pour-bebe-768x362.jpg 768w, https:\/\/www.cookingformybaby.com\/en\/wp-content\/uploads\/2017\/02\/ananas-et-graines-de-vanille-pour-bebe-585x276.jpg 585w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"277\" src=\"https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/marinade-ananas-vanille-pour-bebe.jpg\" alt=\"Pineapple vanilla marinade for baby\" class=\"wp-image-2755\" title=\"\" srcset=\"https:\/\/www.cookingformybaby.com\/en\/wp-content\/uploads\/2017\/02\/marinade-ananas-vanille-pour-bebe.jpg 1000w, https:\/\/www.cookingformybaby.com\/en\/wp-content\/uploads\/2017\/02\/marinade-ananas-vanille-pour-bebe-300x83.jpg 300w, https:\/\/www.cookingformybaby.com\/en\/wp-content\/uploads\/2017\/02\/marinade-ananas-vanille-pour-bebe-768x213.jpg 768w, https:\/\/www.cookingformybaby.com\/en\/wp-content\/uploads\/2017\/02\/marinade-ananas-vanille-pour-bebe-585x162.jpg 585w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Cooking<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Once the pineapple has marinated with the vanilla, melt&nbsp;the small knob of butter in a skillet over medium heat, then&nbsp;add the pineapple to roast it, still over medium heat. Let it roast for 4 to 5 minutes, stirring occasionally.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"302\" src=\"https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/ananas-roti-pour-bebe.jpg\" alt=\"Roasted pineapple for baby\" class=\"wp-image-2749\" title=\"\" srcset=\"https:\/\/www.cookingformybaby.com\/en\/wp-content\/uploads\/2017\/02\/ananas-roti-pour-bebe.jpg 1000w, https:\/\/www.cookingformybaby.com\/en\/wp-content\/uploads\/2017\/02\/ananas-roti-pour-bebe-300x91.jpg 300w, https:\/\/www.cookingformybaby.com\/en\/wp-content\/uploads\/2017\/02\/ananas-roti-pour-bebe-768x232.jpg 768w, https:\/\/www.cookingformybaby.com\/en\/wp-content\/uploads\/2017\/02\/ananas-roti-pour-bebe-585x177.jpg 585w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Now we can prepare the ladyfingers. Simply crush them into small pieces. You can use a small knife to make little cubes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"460\" class=\"alignnone size-full wp-image-2752\" src=\"https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/crumble-de-boudoir-pour-bebe.jpg\" alt=\"Ladyfinger crumble for baby\" title=\"\" srcset=\"https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/crumble-de-boudoir-pour-bebe.jpg 1000w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/crumble-de-boudoir-pour-bebe-500x230.jpg 500w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/crumble-de-boudoir-pour-bebe-300x138.jpg 300w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/crumble-de-boudoir-pour-bebe-768x353.jpg 768w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2017\/02\/crumble-de-boudoir-pour-bebe-585x269.jpg 585w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" data-pin-title=\"Vanilla Pineapple with Ladyfingers for Baby\" data-pin-description=\"This roasted vanilla pineapple tartare over ladyfinger crumble baby recipe should delight baby\u2019s little taste buds! From 12 months, baby is going to love it!\">Place these small cubes at the bottom of the container, then spoon the roasted vanilla pineapple on top. Let it cool in the fridge. The pineapple will release juice, softening the ladyfingers and making them easy for baby to eat.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Our baby recipe, roasted vanilla pineapple tartare over ladyfinger crumble (from 12 months), is now ready. Baby can enjoy it!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Enjoy your meal, baby!<\/p>\n\n\n\n<div class=\"custom-rating-container\">\n<div id=\"notation-2744-systeme1\" style=\"text-align: center; margin: 20px 0 60px 0;\">\n<h3 class=\"comment-reply-title\"><span>Did you like this recipe? &#x1f642;<\/span><\/h3>\n<div class=\"rating-container\" style=\"display: flex; justify-content: center; margin-bottom: 20px;\">\n<div class=\"crfp-rating-stars\" style=\"display: flex; gap: 4px; zoom: 1.5;\">\n                                    <a href=\"#\" class=\"crfp-rating-star\" data-rating=\"1\" style=\"display: inline-block; width: 20px; height: 20px; \n                       background-image: url(https:\/\/www.cookingformybaby.com\/wp-content\/plugins\/comment-rating-field-pro-plugin\/views\/global\/svg.php?svg=star&amp;color=FFD700&amp;size=20);\"><br>\n                    <\/a><br>\n                                    <a href=\"#\" class=\"crfp-rating-star\" data-rating=\"2\" style=\"display: inline-block; width: 20px; height: 20px; \n                       background-image: url(https:\/\/www.cookingformybaby.com\/wp-content\/plugins\/comment-rating-field-pro-plugin\/views\/global\/svg.php?svg=star&amp;color=FFD700&amp;size=20);\"><br>\n                    <\/a><br>\n                                    <a href=\"#\" class=\"crfp-rating-star\" data-rating=\"3\" style=\"display: inline-block; width: 20px; height: 20px; \n                       background-image: url(https:\/\/www.cookingformybaby.com\/wp-content\/plugins\/comment-rating-field-pro-plugin\/views\/global\/svg.php?svg=star&amp;color=FFD700&amp;size=20);\"><br>\n                    <\/a><br>\n                                    <a href=\"#\" class=\"crfp-rating-star\" data-rating=\"4\" style=\"display: inline-block; width: 20px; height: 20px; \n                       background-image: url(https:\/\/www.cookingformybaby.com\/wp-content\/plugins\/comment-rating-field-pro-plugin\/views\/global\/svg.php?svg=star&amp;color=FFD700&amp;size=20);\"><br>\n                    <\/a><br>\n                                    <a href=\"#\" class=\"crfp-rating-star\" data-rating=\"5\" style=\"display: inline-block; width: 20px; height: 20px; \n                       background-image: url(https:\/\/www.cookingformybaby.com\/wp-content\/plugins\/comment-rating-field-pro-plugin\/views\/global\/svg.php?svg=star&amp;color=FFD700&amp;size=20);\"><br>\n                    <\/a>\n                            <\/div>\n<p><\/p><\/div>\n<p><\/p><\/div>\n<p>        <script type=\"text\/javascript\"><br \/>\n    document.addEventListener(\"DOMContentLoaded\", function() {<br \/>\n        const container = document.querySelector(\"#notation-2744-systeme1\");<br \/>\n        const postID = 2744; \/\/ Inject the post ID<br \/>\n        const nonce = \"3063044a29\";<\/p>\n<p>        if (!container) return; \/\/ If the container does not exist<\/p>\n<p>        const stars = container.querySelectorAll(\".crfp-rating-star\");<br \/>\n        let selectedRating = 0;<br \/>\n        let isSubmitting = false;<\/p>\n<p>        function updateStars(rating) {<br \/>\n            stars.forEach((star, index) => {<br \/>\n                const color = index < rating \n                    ? \"FFD700\" \n                    : \"cccccc\";\n                star.style.backgroundImage = `url(https:\/\/www.cookingformybaby.com\/wp-content\/plugins\/comment-rating-field-pro-plugin\/views\/global\/svg.php?svg=star&#038;color=${color}&#038;size=20)`;\n            });\n        }\n\n        stars.forEach((star, index) => {<br \/>\n            star.addEventListener(\"mouseover\", function() {<br \/>\n                updateStars(index + 1);<br \/>\n            });<\/p>\n<p>            star.addEventListener(\"mouseout\", function() {<br \/>\n                updateStars(selectedRating);<br \/>\n            });<\/p>\n<p>            star.addEventListener(\"click\", function(e) {<br \/>\n                e.preventDefault();<br \/>\n                if (isSubmitting) return;<\/p>\n<p>                selectedRating = index + 1;<br \/>\n                updateStars(selectedRating);<\/p>\n<p>                isSubmitting = true;<\/p>\n<p>                console.log({<br \/>\n    action: \"enregistrer_vote\",<br \/>\n    rating: selectedRating,<br \/>\n    post_id: postID,<br \/>\n    nonce: nonce<br \/>\n});<\/p>\n<p>                fetch(\"https:\/\/www.cookingformybaby.com\/wp-admin\/admin-ajax.php\", {<br \/>\n                    method: \"POST\",<br \/>\n                    headers: { \"Content-Type\": \"application\/x-www-form-urlencoded\" },<br \/>\n                    body: new URLSearchParams({<br \/>\n        action: \"enregistrer_vote\",<br \/>\n        rating: selectedRating, \/\/ Use the clicked rating<br \/>\n        post_id: postID, \/\/ Use the correctly defined variable<br \/>\n        nonce: nonce<br \/>\n    })<br \/>\n})<\/p>\n<p>                .then(response => response.json())<br \/>\n                .then(data => {<br \/>\n                    isSubmitting = false;<br \/>\n                    if (data.success) {<br \/>\n                        alert(\"Thank you for your rating!\");<br \/>\n                    } else {<br \/>\n                        alert(data?.data?.message || \"An error occurred.\");<br \/>\n                    }<br \/>\n                })<br \/>\n                .catch(error => {<br \/>\n                    isSubmitting = false;<br \/>\n                    console.error(\"AJAX error:\", error);<br \/>\n                    alert(\"An error occurred while submitting. Please try again.\");<br \/>\n                });<br \/>\n            });<br \/>\n        });<br \/>\n    });<br \/>\n    <\/script>\n        <\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>From 12 months, baby can start enjoying many new fruits and vegetables, including pineapple! We know&hellip;<\/p>\n","protected":false},"author":1,"featured_media":10050,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_eb_attr":"","footnotes":""},"categories":[293,250,338,49,8,553,51,328,79,294,357,356,327,329,43],"tags":[],"class_list":["post-10048","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-baby-food-recipes","category-12-months","category-18-months","category-age","category-fruit-puree","category-diet","category-ingredient","category-meal-type","category-fruit","category-pineapple","category-spices","category-vanilla","category-snack","category-sweet","category-vegetarian"],"_links":{"self":[{"href":"https:\/\/www.cookingformybaby.com\/en\/wp-json\/wp\/v2\/posts\/10048","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cookingformybaby.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cookingformybaby.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cookingformybaby.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cookingformybaby.com\/en\/wp-json\/wp\/v2\/comments?post=10048"}],"version-history":[{"count":1,"href":"https:\/\/www.cookingformybaby.com\/en\/wp-json\/wp\/v2\/posts\/10048\/revisions"}],"predecessor-version":[{"id":10052,"href":"https:\/\/www.cookingformybaby.com\/en\/wp-json\/wp\/v2\/posts\/10048\/revisions\/10052"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.cookingformybaby.com\/en\/wp-json\/wp\/v2\/media\/10050"}],"wp:attachment":[{"href":"https:\/\/www.cookingformybaby.com\/en\/wp-json\/wp\/v2\/media?parent=10048"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cookingformybaby.com\/en\/wp-json\/wp\/v2\/categories?post=10048"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cookingformybaby.com\/en\/wp-json\/wp\/v2\/tags?post=10048"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}