POST-ID:24251 array(34) { [0]=> object(WP_Term)#16874 (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(78) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [1]=> object(WP_Term)#16873 (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(148) "Throw your own afternoon tea party with our selection of teatime treats, from delicate scones, cakes and patisserie to savoury pies and scotch eggs." ["parent"]=> int(0) ["count"]=> int(126) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [2]=> object(WP_Term)#16872 (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(148) "Throw your own afternoon tea party with our selection of teatime treats, from delicate scones, cakes and patisserie to savoury pies and scotch eggs." ["parent"]=> int(0) ["count"]=> int(110) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [3]=> object(WP_Term)#16913 (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" } [4]=> object(WP_Term)#16877 (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(138) "Discover a selection of our favourite bakes. Whether you're making bread, brownies, cookies, cakes or tarts, we've got the perfect recipes" ["parent"]=> int(0) ["count"]=> int(182) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [5]=> object(WP_Term)#16876 (11) { ["term_id"]=> int(378) ["name"]=> string(24) "Celebration cake recipes" ["slug"]=> string(24) "celebration-cake-recipes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(378) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(153) "Enjoy one of our exquisite celebration cakes. These cakes make an ideal centrepiece, from sophisticated wedding showstoppers to colourful birthday cakes." ["parent"]=> int(0) ["count"]=> int(73) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [6]=> object(WP_Term)#16870 (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(152) "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(69) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [7]=> object(WP_Term)#16871 (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(290) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [8]=> object(WP_Term)#16881 (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(85) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [9]=> object(WP_Term)#16882 (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(65) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [10]=> object(WP_Term)#16883 (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(86) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [11]=> object(WP_Term)#16884 (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(74) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [12]=> object(WP_Term)#16885 (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(99) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [13]=> object(WP_Term)#16886 (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(35) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [14]=> object(WP_Term)#16887 (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(78) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [15]=> object(WP_Term)#16888 (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" } [16]=> object(WP_Term)#16889 (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(221) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [17]=> object(WP_Term)#16890 (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(66) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [18]=> object(WP_Term)#16891 (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(67) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [19]=> object(WP_Term)#16892 (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" } [20]=> object(WP_Term)#16895 (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(570) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [21]=> object(WP_Term)#16894 (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(151) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [22]=> object(WP_Term)#16900 (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(327) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [23]=> object(WP_Term)#16896 (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(246) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [24]=> object(WP_Term)#16893 (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(40) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [25]=> object(WP_Term)#16902 (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(58) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [26]=> object(WP_Term)#16897 (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" } [27]=> object(WP_Term)#16898 (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(44) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [28]=> object(WP_Term)#16809 (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(65) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [29]=> object(WP_Term)#16844 (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(124) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [30]=> object(WP_Term)#16911 (11) { ["term_id"]=> int(902) ["name"]=> string(24) "Special occasion recipes" ["slug"]=> string(24) "special-occasion-recipes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(902) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(175) "Mark special celebrations with something cooked from the heart – from birthday and wedding cakes, to seasonal favourites, and calendar events, create the perfect party menu." ["parent"]=> int(0) ["count"]=> int(51) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [31]=> object(WP_Term)#16878 (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(105) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [32]=> object(WP_Term)#16660 (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)#16868 (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(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 ( 133, 110335118371378964063803813572882842772153895366367294409386410326922231761793390227364896 ) 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