POST-ID:21106 array(14) { [0]=> object(WP_Term)#15439 (11) { ["term_id"]=> int(118) ["name"]=> string(16) "All-time classic" ["slug"]=> string(16) "all-time-classic" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(118) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(61) "Our selection of recipes that will surely sate your appetite." ["parent"]=> int(0) ["count"]=> int(77) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [1]=> object(WP_Term)#15451 (11) { ["term_id"]=> int(91) ["name"]=> string(16) "Christmas baking" ["slug"]=> string(16) "christmas-baking" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(91) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(152) "Crumbly mince pies, iced cakes and traditional festive breads like stollen and panettone – find all your favourite Christmas cakes and bakes here." ["parent"]=> int(0) ["count"]=> int(132) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [2]=> object(WP_Term)#15445 (11) { ["term_id"]=> int(248) ["name"]=> string(26) "Christmas for kids recipes" ["slug"]=> string(14) "christmas-kids" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(248) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(110) "Have some festive fun with the kids, with this selection of recipes that can be made by the smallest of hands." ["parent"]=> int(0) ["count"]=> int(79) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [3]=> object(WP_Term)#15443 (11) { ["term_id"]=> int(153) ["name"]=> string(20) "Cooking for the kids" ["slug"]=> string(20) "cooking-for-the-kids" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(153) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(58) "Whip up these quick and simple recipes for the little ones" ["parent"]=> int(0) ["count"]=> int(53) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [4]=> object(WP_Term)#15441 (11) { ["term_id"]=> int(263) ["name"]=> string(18) "Decoration recipes" ["slug"]=> string(10) "decoration" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(263) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(46) "Treats for the tree and the rest of your home." ["parent"]=> int(0) ["count"]=> int(21) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [5]=> object(WP_Term)#15442 (11) { ["term_id"]=> int(409) ["name"]=> string(4) "Easy" ["slug"]=> string(4) "easy" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(409) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(55) "Keep it easy with these simple but super-tasty recipes." ["parent"]=> int(0) ["count"]=> int(514) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [6]=> object(WP_Term)#15444 (11) { ["term_id"]=> int(386) ["name"]=> string(11) "Easy baking" ["slug"]=> string(11) "easy-baking" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(386) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(47) "Simple cakes, cupcakes, traybakes and biscuits." ["parent"]=> int(0) ["count"]=> int(149) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [7]=> object(WP_Term)#15448 (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(36) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [8]=> object(WP_Term)#15355 (11) { ["term_id"]=> int(23) ["name"]=> string(11) "Kids baking" ["slug"]=> string(11) "kids-baking" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(23) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(60) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [9]=> object(WP_Term)#16224 (11) { ["term_id"]=> int(130) ["name"]=> string(13) "Little bakers" ["slug"]=> string(13) "little-bakers" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(130) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(221) "There’s endless fun to be had when kids hit the kitchen. We have lots of family-friendly baking projects for little sous chefs to get stuck into, so tie on a pint-sized apron and let the creative juices flow…" ["parent"]=> int(0) ["count"]=> int(17) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [10]=> object(WP_Term)#15462 (11) { ["term_id"]=> int(253) ["name"]=> string(28) "Make-ahead Christmas recipes" ["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(69) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [11]=> object(WP_Term)#15423 (11) { ["term_id"]=> int(256) ["name"]=> string(26) "Nut-free Christmas recipes" ["slug"]=> string(18) "nut-free-christmas" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(256) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(52) "Brilliant alternatives to traditional festive foods." ["parent"]=> int(0) ["count"]=> int(32) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [12]=> object(WP_Term)#15360 (11) { ["term_id"]=> int(178) ["name"]=> string(6) "Snacks" ["slug"]=> string(6) "snacks" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(178) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(68) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [13]=> object(WP_Term)#15437 (11) { ["term_id"]=> int(412) ["name"]=> string(16) "under-20-minutes" ["slug"]=> string(16) "under-20-minutes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(412) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(41) "Speedy recipes perfect for midweek meals." ["parent"]=> int(0) ["count"]=> int(34) ["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 ( 118, 9124815326340938643423130253256178412 ) OR rd.ingredients LIKE '%christmas tree decorations%' OR rd.ingredients LIKE '% Easy%' OR rd.ingredients LIKE '% Festive baking%' OR rd.ingredients LIKE '% Gingerbread%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 21106 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16