POST-ID:28029 array(21) { [0]=> object(WP_Term)#16791 (11) { ["term_id"]=> int(237) ["name"]=> string(16) "Christmas brunch" ["slug"]=> string(16) "christmas-brunch" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(237) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(162) "Discover Christmas breakfast and brunch ideas to start your day in style. Celebrate Christmas morning with festive breads, pancakes, eggs, smoked salmon and more." ["parent"]=> int(0) ["count"]=> int(99) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [1]=> object(WP_Term)#16792 (11) { ["term_id"]=> int(238) ["name"]=> string(16) "Christmas buffet" ["slug"]=> string(16) "christmas-buffet" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(238) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(152) "Entertaining a crowd this Christmas? We have all the buffet dishes you need for a festive party, including canapés, dips and easy sharing plates." ["parent"]=> int(0) ["count"]=> int(91) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [2]=> object(WP_Term)#16793 (11) { ["term_id"]=> int(92) ["name"]=> string(16) "Christmas dinner" ["slug"]=> string(16) "christmas-dinner" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(92) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(95) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [3]=> object(WP_Term)#16794 (11) { ["term_id"]=> int(272) ["name"]=> string(27) "Christmas side dish recipes" ["slug"]=> string(19) "christmas-side-dish" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(272) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(158) "Accompany your festive feast with a selection of sides and sauces. Our tasty trimmings include roast potatoes, sprouts, stuffing pigs-in-blankets and cabbage." ["parent"]=> int(0) ["count"]=> int(112) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [4]=> object(WP_Term)#16795 (11) { ["term_id"]=> int(265) ["name"]=> string(19) "Christmas trimmings" ["slug"]=> string(19) "christmas-trimmings" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(265) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(37) "Essential sides for Christmas dinner." ["parent"]=> int(0) ["count"]=> int(71) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [5]=> object(WP_Term)#16796 (11) { ["term_id"]=> int(240) ["name"]=> string(22) "Easy Christmas recipes" ["slug"]=> string(14) "easy-christmas" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(240) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(169) "Take the stress out of Christmas prep with these simple yet scrumptious recipes. We've got all the essentials covered, from easy roast turkey to no-fuss mince pies." ["parent"]=> int(0) ["count"]=> int(130) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [6]=> object(WP_Term)#16797 (11) { ["term_id"]=> int(246) ["name"]=> string(36) "Good Food magazine Christmas recipes" ["slug"]=> string(28) "good-food-magazine-christmas" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(246) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(33) "Recipes from the seasonal issues." ["parent"]=> int(0) ["count"]=> int(59) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [7]=> object(WP_Term)#16800 (11) { ["term_id"]=> int(432) ["name"]=> string(32) "Healthy Christmas buffet recipes" ["slug"]=> string(24) "healthy-christmas-buffet" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(432) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(152) "Who says Christmas can't be healthy? Get inspired with our healthy festive buffet ideas that will prove a big hit at any party or family gathering." ["parent"]=> int(0) ["count"]=> int(27) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [8]=> object(WP_Term)#16799 (11) { ["term_id"]=> int(434) ["name"]=> string(31) "Healthy Christmas party recipes" ["slug"]=> string(23) "healthy-christmas-party" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(434) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(124) "Entertaining over the holidays? Get inspired with our healthy Christmas party food – they're perfect for a crowd." ["parent"]=> int(0) ["count"]=> int(43) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [9]=> object(WP_Term)#16805 (11) { ["term_id"]=> int(431) ["name"]=> string(25) "Healthy Christmas recipes" ["slug"]=> string(17) "healthy-christmas" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(431) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(142) "Our best ever healthy festive dishes make a wholesome addition to your Christmas Day spread, including roast centrepieces, starters and sides." ["parent"]=> int(0) ["count"]=> int(58) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [10]=> object(WP_Term)#16801 (11) { ["term_id"]=> int(435) ["name"]=> string(35) "Healthy Christmas side dish recipes" ["slug"]=> string(23) "healthy-christmas-sides" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(435) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(145) "Pick healthy sides this Christmas with our best rated selection of recipes. They make the perfect accompaniments for a thoroughly festive dinner." ["parent"]=> int(0) ["count"]=> int(68) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [11]=> object(WP_Term)#16798 (11) { ["term_id"]=> int(210) ["name"]=> string(18) "Healthy vegetarian" ["slug"]=> string(18) "healthy-vegetarian" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(210) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(31) "Diet-friendly meat-free feasts." ["parent"]=> int(0) ["count"]=> int(184) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [12]=> object(WP_Term)#16807 (11) { ["term_id"]=> int(253) ["name"]=> string(20) "Make-ahead Christmas" ["slug"]=> string(20) "make-ahead-christmas" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(253) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(173) "Save time and stress on Christmas Day with our make-ahead dishes. These stuffings, sauces, sides and desserts can be prepared in advance, then kept in the fridge or freezer." ["parent"]=> int(0) ["count"]=> int(70) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [13]=> object(WP_Term)#16802 (11) { ["term_id"]=> int(120) ["name"]=> string(17) "Modern vegetarian" ["slug"]=> string(17) "modern-vegetarian" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(120) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(35) "Veggie recipes for the whole family" ["parent"]=> int(0) ["count"]=> int(153) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [14]=> object(WP_Term)#16803 (11) { ["term_id"]=> int(430) ["name"]=> string(12) "Thanksgiving" ["slug"]=> string(12) "thanksgiving" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(430) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(36) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [15]=> object(WP_Term)#16732 (11) { ["term_id"]=> int(229) ["name"]=> string(16) "Thanksgiving Day" ["slug"]=> string(16) "thanksgiving-day" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(229) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(41) "Celebrate with a traditional turkey feast" ["parent"]=> int(0) ["count"]=> int(42) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [16]=> object(WP_Term)#16697 (11) { ["term_id"]=> int(413) ["name"]=> string(10) "Vegetarian" ["slug"]=> string(10) "vegetarian" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(413) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(43) "Meat-free recipes for entertaining and more" ["parent"]=> int(0) ["count"]=> int(566) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [17]=> object(WP_Term)#16816 (11) { ["term_id"]=> int(260) ["name"]=> string(28) "Vegetarian Christmas recipes" ["slug"]=> string(20) "vegetarian-christmas" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(260) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(95) "Enticing meat-free recipes for the festive season, including main courses, starters and snacks." ["parent"]=> int(0) ["count"]=> int(93) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [18]=> object(WP_Term)#16783 (11) { ["term_id"]=> int(262) ["name"]=> string(36) "Vegetarian Christmas starter recipes" ["slug"]=> string(28) "vegetarian-christmas-starter" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(262) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(157) "Kick off your Christmas dinner menu with one of our impressive and tasty meat-free starters. Get creative with soups, salads, tarts and other veggies dishes." ["parent"]=> int(0) ["count"]=> int(52) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [19]=> object(WP_Term)#16571 (11) { ["term_id"]=> int(12) ["name"]=> string(16) "Vegetarian party" ["slug"]=> string(16) "vegetarian-party" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(12) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(35) "Impress with an imaginative spread." ["parent"]=> int(0) ["count"]=> int(120) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [20]=> object(WP_Term)#16789 (11) { ["term_id"]=> int(84) ["name"]=> string(18) "Vegetarian starter" ["slug"]=> string(18) "vegetarian-starter" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(84) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(57) "Meat-free starters such as halloumi and watermelon salad." ["parent"]=> int(0) ["count"]=> int(99) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } }
SELECT p.ID, p.post_title, rd.recipe_data_ref_id, rd.photo_file_name, rd.photo_src, rd.skill_level FROM bbc20may18_posts p LEFT JOIN bbc20may18_term_relationships tr ON (p.ID = tr.object_id) LEFT JOIN bbc20may18_recipes_data rd ON (p.ID = rd.recipe_post_id) WHERE (tr.term_taxonomy_id IN ( 237, 238922722652402464324344314352102531204302294132602621284 ) OR rd.ingredients LIKE '%Carrots%' OR rd.ingredients LIKE '% Dinner party%' OR rd.ingredients LIKE '% Nuts%' OR rd.ingredients LIKE '% Side dish%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 28029 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16