POST-ID:28660 array(12) { [0]=> object(WP_Term)#16266 (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(80) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [1]=> object(WP_Term)#16268 (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(90) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [2]=> object(WP_Term)#16263 (11) { ["term_id"]=> int(280) ["name"]=> string(27) "Christmas leftovers recipes" ["slug"]=> string(19) "christmas-leftovers" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(280) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(151) "Use up your Christmas dinner leftovers, including turkey and all the trimmings. From stir-fries to pies, these recipes are packed with festive flavour." ["parent"]=> int(0) ["count"]=> int(84) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [3]=> object(WP_Term)#16272 (11) { ["term_id"]=> int(269) ["name"]=> string(25) "Christmas sprouts recipes" ["slug"]=> string(16) "christmas-sprout" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(269) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(42) "Spruce up your Brussels sprouts this year." ["parent"]=> int(0) ["count"]=> int(41) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [4]=> object(WP_Term)#16265 (11) { ["term_id"]=> int(900) ["name"]=> string(8) "Everyday" ["slug"]=> string(8) "everyday" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(900) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(144) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [5]=> object(WP_Term)#16267 (11) { ["term_id"]=> int(7) ["name"]=> string(13) "Healthy lunch" ["slug"]=> string(13) "healthy-lunch" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(7) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(51) "Keep your healthy eating regime on the right track." ["parent"]=> int(0) ["count"]=> int(159) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [6]=> object(WP_Term)#16205 (11) { ["term_id"]=> int(143) ["name"]=> string(14) "Hearty lunches" ["slug"]=> string(21) "healthy-lunch-recipes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(143) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(51) "Keep your healthy eating regime on the right track." ["parent"]=> int(0) ["count"]=> int(88) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [7]=> object(WP_Term)#16170 (11) { ["term_id"]=> int(71) ["name"]=> string(18) "Love your lunchbox" ["slug"]=> string(18) "love-your-lunchbox" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(71) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(47) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [8]=> object(WP_Term)#16287 (11) { ["term_id"]=> int(215) ["name"]=> string(17) "Low-calorie lunch" ["slug"]=> string(17) "low-calorie-lunch" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(215) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(63) "Lunchbox favourites and weekend treats, all under 400 calories." ["parent"]=> int(0) ["count"]=> int(70) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [9]=> object(WP_Term)#16248 (11) { ["term_id"]=> int(25) ["name"]=> string(16) "Lunchbox recipes" ["slug"]=> string(8) "lunchbox" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(25) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(144) "Pack yourself a lunch box to look forward to - use up leftovers from the night before, simmer up some soup, or whip up a quick salad before work" ["parent"]=> int(0) ["count"]=> int(72) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [10]=> object(WP_Term)#16008 (11) { ["term_id"]=> int(135) ["name"]=> string(18) "Make-ahead lunches" ["slug"]=> string(18) "make-ahead-lunches" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(135) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(190) "If you’re guilty of last-minute lunch buys that leave your wallet flatter than a soggy pre-packed sandwich, make-ahead some tempting treats to take you through the day in style…" ["parent"]=> int(0) ["count"]=> int(22) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [11]=> object(WP_Term)#16269 (11) { ["term_id"]=> int(12983) ["name"]=> string(14) "One bowl meals" ["slug"]=> string(14) "one-bowl-meals" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(12983) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(43) "Delectable and easy one-bowl meals" ["parent"]=> int(900) ["count"]=> int(60) ["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 ( 238, 922802699007143712152513512983 ) OR rd.ingredients LIKE '%Brussels sprouts%' OR rd.ingredients LIKE '% Butternut squash%' OR rd.ingredients LIKE '% Christmas leftovers%' OR rd.ingredients LIKE '% grain bowl%' OR rd.ingredients LIKE '% Hummus%' OR rd.ingredients LIKE '% leftover sprouts%' OR rd.ingredients LIKE '% Tahini%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 28660 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16