/home/ // IndexNow: Auto-notify Bing/Yandex when content is published add_action('save_post', function($post_id, $post, $update) { if (defined('DOING_AUTOSAVE') && DOING_AUTOSAVE) return; if ($post->post_status !== 'publish') return; if (!in_array($post->post_type, array('post', 'page'))) return; $url = get_permalink($post_id); $body = wp_json_encode(array( 'host' => 'delicesduboutdumonde.com', 'key' => 'dbdm2025seoindexnow', 'urlList' => array($url) )); wp_remote_post('https://api.indexnow.org/indexnow', array( 'headers' => array('Content-Type' => 'application/json; charset=utf-8'), 'body' => $body, 'timeout' => 5, 'blocking' => false )); wp_remote_post('https://www.bing.com/indexnow', array( 'headers' => array('Content-Type' => 'application/json; charset=utf-8'), 'body' => $body, 'timeout' => 5, 'blocking' => false )); }, 10, 3);// Serve IndexNow key file add_action('init', function() { if (!isset($_SERVER['REQUEST_URI'])) return; $uri = sanitize_text_field($_SERVER['REQUEST_URI']); if (strpos($uri, 'dbdm2025seoindexnow.txt') !== false) { status_header(200); header('Content-Type: text/plain'); echo 'dbdm2025seoindexnow'; exit; } });// Add "Related Recipes" section at bottom of posts for internal linking add_filter('the_content', function($content) { if (!is_single() || get_post_type() !== 'post') return $content;$cats = wp_get_post_categories(get_the_ID(), array('fields' => 'ids')); if (empty($cats)) return $content;$related = get_posts(array( 'category__in' => $cats, 'post__not_in' => array(get_the_ID()), 'posts_per_page' => 4, 'orderby' => 'rand' ));if (empty($related)) return $content;$output = '';return $content . $output; }, 20);

Christmas Gingerbread (Pain d’Épice de Noël)

This festive pain d’épice is a deeply aromatic Christmas spice cake — rich with honey, cinnamon, star anise, cardamom, and orange, it fills the kitchen with the most wonderful scent as it bakes. This version is wonderfully moist and keeps beautifully for weeks, making it perfect for gift-giving. Decorated with festive spices and dried citrus, it is as beautiful as it is delicious.

Ingredients

  • 300 g honey or dark honey
  • 250 ml warm milk
  • 300 g plain flour
  • 1 sachet baking powder
  • 2 tsp mixed spice (cinnamon, ginger, cloves, cardamom, star anise)
  • 1 tsp ground cinnamon
  • Zest of 1 orange
  • 2 eggs
  • 50 g butter, melted

For decoration

  • Dried orange slices
  • Cinnamon sticks
  • Walnuts
  • Star anise
  • Vanilla bean

Instructions

  1. Preheat oven to 160°C (320°F). Grease and flour a loaf tin.
  2. Warm the honey and milk together until the honey dissolves. Cool slightly.
  3. Beat the eggs into the honey milk. Add the melted butter and orange zest.
  4. Sift together the flour, baking powder, and all spices. Fold into the wet ingredients until smooth.
  5. Pour into the loaf tin. Arrange the decorations on top before baking.
  6. Bake for 50-60 minutes. Test with a skewer — it should come out clean.
  7. Cool in the tin for 15 minutes before turning out. The cake will firm up as it cools.

🎄 Joyeux Noël! Wrapped in cellophane, this makes a wonderful Christmas gift.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top