POST-ID:26858 array(27) { [0]=> object(WP_Term)#17892 (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)#18947 (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(127) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [2]=> object(WP_Term)#18948 (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(111) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [3]=> object(WP_Term)#17900 (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)#17901 (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)#17902 (11) { ["term_id"]=> int(351) ["name"]=> string(12) "Bank Holiday" ["slug"]=> string(12) "bank-holiday" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(351) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(155) "Put on a Bank Holiday weekend spread with recipes for seasonal quiches, vibrant salads, lazy barbecues, easy roasts and sweet treats." ["parent"]=> int(0) ["count"]=> int(40) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [6]=> object(WP_Term)#17903 (11) { ["term_id"]=> int(55) ["name"]=> string(16) "Berry brilliant!" ["slug"]=> string(20) "blackcurrant-recipes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(55) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(11) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [7]=> object(WP_Term)#17904 (11) { ["term_id"]=> int(901) ["name"]=> string(8) "Birthday" ["slug"]=> string(16) "birthday-recipes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(901) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(96) "Celebrate in style with delicious birthday recipes that turn every party into a memorable feast!" ["parent"]=> int(0) ["count"]=> int(9) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [8]=> object(WP_Term)#17905 (11) { ["term_id"]=> int(372) ["name"]=> string(13) "Birthday cake" ["slug"]=> string(13) "birthday-cake" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(372) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(59) "Celebrate a birthday by baking one of our stunning cakes..." ["parent"]=> int(0) ["count"]=> int(47) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [9]=> object(WP_Term)#17906 (11) { ["term_id"]=> int(376) ["name"]=> string(9) "Cake sale" ["slug"]=> string(9) "cake-sale" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(376) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(88) "Tempting treats to get the donations rolling in for summer fêtes and charity bake sales" ["parent"]=> int(0) ["count"]=> int(53) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [10]=> object(WP_Term)#17907 (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(74) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [11]=> object(WP_Term)#17908 (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(70) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [12]=> object(WP_Term)#17910 (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" } [13]=> object(WP_Term)#17911 (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" } [14]=> object(WP_Term)#17909 (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(67) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [15]=> object(WP_Term)#17916 (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" } [16]=> object(WP_Term)#17917 (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(135) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [17]=> object(WP_Term)#17915 (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" } [18]=> object(WP_Term)#17913 (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(223) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [19]=> object(WP_Term)#17914 (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(70) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [20]=> object(WP_Term)#17919 (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(247) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [21]=> object(WP_Term)#17812 (11) { ["term_id"]=> int(241) ["name"]=> string(20) "Festive cake recipes" ["slug"]=> string(12) "festive-cake" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(241) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(25) "Festive and fruity cakes." ["parent"]=> int(0) ["count"]=> int(60) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [22]=> object(WP_Term)#17848 (11) { ["term_id"]=> int(242) ["name"]=> string(23) "Festive dessert recipes" ["slug"]=> string(15) "festive-dessert" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(242) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(160) "Try our selection of traditional and alternative sweet treats for the festive season. We've got Christmas pudding, mince pies, trifle, cheesecake and more." ["parent"]=> int(0) ["count"]=> int(108) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [23]=> object(WP_Term)#17932 (11) { ["term_id"]=> int(45) ["name"]=> string(5) "Fruit" ["slug"]=> string(5) "fruit" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(45) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(82) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [24]=> object(WP_Term)#17896 (11) { ["term_id"]=> int(389) ["name"]=> string(11) "Fruity cake" ["slug"]=> string(11) "fruity-cake" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(389) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(36) "Cakes bursting with fruity flavours." ["parent"]=> int(0) ["count"]=> int(51) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [25]=> object(WP_Term)#17682 (11) { ["term_id"]=> int(12534) ["name"]=> string(16) "Ramadan desserts" ["slug"]=> string(16) "ramadan-desserts" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(12534) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(38) "Break your fast with these specialties" ["parent"]=> int(0) ["count"]=> int(34) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [26]=> object(WP_Term)#17895 (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" } }
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, 1103351183713515590137237637896406380381357912895367322412424538912534902 ) OR rd.ingredients LIKE '%Baking%' OR rd.ingredients LIKE '% CAKE%' OR rd.ingredients LIKE '% Raspberries%' OR rd.ingredients LIKE '% White chocolate%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 26858 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16