POST-ID:24251 array(34) { [0]=> object(WP_Term)#11829 (11) { ["term_id"]=> int(133) ["name"]=> string(11) "A cut above" ["slug"]=> string(11) "a-cut-above" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(133) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(145) "Take some care and attention when cooking with meat- whether slow-roasting a joint or flash frying a steak. Check out our favourite meat recipes." ["parent"]=> int(0) ["count"]=> int(76) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [1]=> object(WP_Term)#11822 (11) { ["term_id"]=> int(1103) ["name"]=> string(13) "Afternoon Tea" ["slug"]=> string(13) "afternoon-tea" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(1103) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(99) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [2]=> object(WP_Term)#11823 (11) { ["term_id"]=> int(35) ["name"]=> string(21) "Afternoon tea recipes" ["slug"]=> string(21) "afternoon-tea-recipes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(35) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(84) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [3]=> object(WP_Term)#11824 (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(72) "Our selection of cheesecake recipes that will surely sate your appetite." ["parent"]=> int(0) ["count"]=> int(76) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [4]=> object(WP_Term)#11825 (11) { ["term_id"]=> int(371) ["name"]=> string(14) "Baking recipes" ["slug"]=> string(6) "baking" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(371) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(37) "All our favourite bakes in one place." ["parent"]=> int(0) ["count"]=> int(132) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [5]=> object(WP_Term)#11826 (11) { ["term_id"]=> int(902) ["name"]=> string(11) "Celebration" ["slug"]=> string(11) "celebration" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(902) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(47) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [6]=> object(WP_Term)#11827 (11) { ["term_id"]=> int(378) ["name"]=> string(16) "Celebration cake" ["slug"]=> string(16) "celebration-cake" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(378) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(34) "Show-stopping cakes for occasions." ["parent"]=> int(0) ["count"]=> int(58) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [7]=> object(WP_Term)#11273 (11) { ["term_id"]=> int(96) ["name"]=> string(27) "Celebration cakes and bakes" ["slug"]=> string(17) "celebration-cakes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(96) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(160) "The festive season is still in full swing! If you’re just starting to think about your New Year’s Eve menu, add a show-stopping dessert to the list." ["parent"]=> int(0) ["count"]=> int(51) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [8]=> object(WP_Term)#11836 (11) { ["term_id"]=> int(406) ["name"]=> string(9) "Chocolate" ["slug"]=> string(9) "chocolate" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(406) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(258) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [9]=> object(WP_Term)#11717 (11) { ["term_id"]=> int(380) ["name"]=> string(16) "Chocolate baking" ["slug"]=> string(16) "chocolate-baking" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(380) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(37) "Biscuits, brownies, fondants and pies" ["parent"]=> int(0) ["count"]=> int(75) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [10]=> object(WP_Term)#11716 (11) { ["term_id"]=> int(381) ["name"]=> string(14) "Chocolate cake" ["slug"]=> string(14) "chocolate-cake" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(381) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(31) "Irresistibly chocolatey treats." ["parent"]=> int(0) ["count"]=> int(62) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [11]=> object(WP_Term)#11715 (11) { ["term_id"]=> int(357) ["name"]=> string(17) "Chocolate dessert" ["slug"]=> string(17) "chocolate-dessert" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(357) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(72) "Celebrate all things cocoa with our tart, cake, pudding and pie recipes." ["parent"]=> int(0) ["count"]=> int(73) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [12]=> object(WP_Term)#11714 (11) { ["term_id"]=> int(288) ["name"]=> string(27) "Christmas chocolate recipes" ["slug"]=> string(19) "christmas-chocolate" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(288) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(62) "Treat yourself to something sweet – it's Christmas!" ["parent"]=> int(0) ["count"]=> int(70) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [13]=> object(WP_Term)#11713 (11) { ["term_id"]=> int(284) ["name"]=> string(23) "Christmas gifts recipes" ["slug"]=> string(15) "christmas-gifts" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(284) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(137) "Why go shopping when you can make Christmas presents at home? We have lots of ideas for gourmet gifts that your foodie friends will love." ["parent"]=> int(0) ["count"]=> int(93) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [14]=> object(WP_Term)#11712 (11) { ["term_id"]=> int(277) ["name"]=> string(17) "Christmas pudding" ["slug"]=> string(17) "christmas-pudding" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(277) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(56) "Our favourite last minute & make-ahead festive puds." ["parent"]=> int(0) ["count"]=> int(32) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [15]=> object(WP_Term)#11711 (11) { ["term_id"]=> int(2) ["name"]=> string(12) "Classic cake" ["slug"]=> string(12) "classic-cake" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(2) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(82) "Old favourites and traditional bakes- take your pick from our timeless collection." ["parent"]=> int(0) ["count"]=> int(65) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [16]=> object(WP_Term)#11710 (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(46) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [17]=> object(WP_Term)#11709 (11) { ["term_id"]=> int(895) ["name"]=> string(12) "Dinner party" ["slug"]=> string(12) "dinner-party" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(895) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(161) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [18]=> object(WP_Term)#11708 (11) { ["term_id"]=> int(366) ["name"]=> string(6) "Easter" ["slug"]=> string(6) "easter" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(366) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(49) "Roasts and special meals for Easter entertaining." ["parent"]=> int(0) ["count"]=> int(61) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [19]=> object(WP_Term)#11707 (11) { ["term_id"]=> int(367) ["name"]=> string(13) "Easter baking" ["slug"]=> string(13) "easter-baking" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(367) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(33) "Sugar, spice and all things nice." ["parent"]=> int(0) ["count"]=> int(61) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [20]=> object(WP_Term)#11706 (11) { ["term_id"]=> int(294) ["name"]=> string(15) "Easter for kids" ["slug"]=> string(11) "easter-kids" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(294) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(35) "Fun Easter projects for the family." ["parent"]=> int(0) ["count"]=> int(34) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [21]=> object(WP_Term)#11705 (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(314) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [22]=> object(WP_Term)#11704 (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(102) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [23]=> object(WP_Term)#11703 (11) { ["term_id"]=> int(410) ["name"]=> string(19) "Easy but impressive" ["slug"]=> string(15) "easy-impressive" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(410) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(30) "Less stress, more seduction..." ["parent"]=> int(0) ["count"]=> int(258) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [24]=> object(WP_Term)#11702 (11) { ["term_id"]=> int(32) ["name"]=> string(17) "Easy entertaining" ["slug"]=> string(17) "easy-entertaining" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(32) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(208) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [25]=> object(WP_Term)#11701 (11) { ["term_id"]=> int(69) ["name"]=> string(19) "Edible gift recipes" ["slug"]=> string(11) "edible-gift" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(69) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(34) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [26]=> object(WP_Term)#11271 (11) { ["term_id"]=> int(22) ["name"]=> string(12) "Healthy kids" ["slug"]=> string(12) "healthy-kids" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(22) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(56) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [27]=> object(WP_Term)#11279 (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(58) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [28]=> object(WP_Term)#11275 (11) { ["term_id"]=> int(176) ["name"]=> string(11) "Kids' cakes" ["slug"]=> string(9) "kids-cake" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(176) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(42) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [29]=> object(WP_Term)#11274 (11) { ["term_id"]=> int(179) ["name"]=> string(11) "Kids' party" ["slug"]=> string(10) "kids-party" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(179) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(60) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [30]=> object(WP_Term)#11276 (11) { ["term_id"]=> int(33) ["name"]=> string(5) "Party" ["slug"]=> string(10) "party-food" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(33) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(86) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [31]=> object(WP_Term)#11233 (11) { ["term_id"]=> int(27) ["name"]=> string(15) "Valentine's Day" ["slug"]=> string(14) "valentines-day" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(27) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(51) "Food of love - romantic recipes for the special day" ["parent"]=> int(0) ["count"]=> int(103) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [32]=> object(WP_Term)#11230 (11) { ["term_id"]=> int(364) ["name"]=> string(16) "Valentine's gift" ["slug"]=> string(16) "valentine-s-gift" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(364) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(53) "Show you care with an edible gift for your loved one." ["parent"]=> int(0) ["count"]=> int(31) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [33]=> object(WP_Term)#11831 (11) { ["term_id"]=> int(896) ["name"]=> string(7) "Weekend" ["slug"]=> string(7) "weekend" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(896) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(96) ["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 ( 133, 110335118371902378964063803813572882842772153895366367294409386410326922231761793327364896 ) OR rd.ingredients LIKE '%Chocolate cake%' OR rd.ingredients LIKE '% Easter dessert%' OR rd.ingredients LIKE '% Ganache%' OR rd.ingredients LIKE '% Loaf cake%' OR rd.ingredients LIKE '% Marzipan%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 24251 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16