POST-ID:24232 array(20) { [0]=> object(WP_Term)#16274 (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(124) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [1]=> object(WP_Term)#16275 (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(108) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [2]=> object(WP_Term)#16276 (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(177) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [3]=> object(WP_Term)#16277 (11) { ["term_id"]=> int(374) ["name"]=> string(5) "Bread" ["slug"]=> string(13) "bread-recipes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(374) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(165) "Fill the house with the aroma of freshly baked bread. From an easy white loaf to sourdough, focaccia and brioche, we have a range of sweet and savoury bread recipes." ["parent"]=> int(0) ["count"]=> int(75) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [4]=> object(WP_Term)#16278 (11) { ["term_id"]=> int(427) ["name"]=> string(18) "Breakfast delights" ["slug"]=> string(18) "breakfast-delights" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(427) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(92) "Start your day right with breakfast delight recipes that make mornings deliciously memorable" ["parent"]=> int(0) ["count"]=> int(117) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [5]=> object(WP_Term)#16279 (11) { ["term_id"]=> int(161) ["name"]=> string(21) "Breakfast inspiration" ["slug"]=> string(21) "breakfast-inspiration" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(161) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(86) "These simple breakfast ideas are quick to make and will have you set for the day ahead" ["parent"]=> int(0) ["count"]=> int(86) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [6]=> object(WP_Term)#16280 (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(67) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [7]=> object(WP_Term)#16288 (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" } [8]=> object(WP_Term)#16292 (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" } [9]=> object(WP_Term)#16282 (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" } [10]=> object(WP_Term)#16286 (11) { ["term_id"]=> int(75) ["name"]=> string(9) "Eid feast" ["slug"]=> string(11) "eid-cooking" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(75) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(84) "Traditional Arabic delicacies to enjoy cooking and serving up over the long weekend!" ["parent"]=> int(0) ["count"]=> int(125) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [11]=> object(WP_Term)#16285 (11) { ["term_id"]=> int(173) ["name"]=> string(25) "Healthy breakfast recipes" ["slug"]=> string(17) "healthy-breakfast" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(173) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(65) "Start your day right with these nutritious yet delicious choices." ["parent"]=> int(0) ["count"]=> int(76) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [12]=> object(WP_Term)#16284 (11) { ["term_id"]=> int(12532) ["name"]=> string(5) "Iftar" ["slug"]=> string(5) "iftar" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(12532) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(28) "A selection of Iftar recipes" ["parent"]=> int(0) ["count"]=> int(79) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [13]=> object(WP_Term)#16289 (11) { ["term_id"]=> int(214) ["name"]=> string(21) "Low-calorie breakfast" ["slug"]=> string(21) "low-calorie-breakfast" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(214) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(35) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [14]=> object(WP_Term)#16202 (11) { ["term_id"]=> int(223) ["name"]=> string(18) "Low-salt breakfast" ["slug"]=> string(18) "low-salt-breakfast" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(223) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(40) "Light cereals and sodium-free savouries." ["parent"]=> int(0) ["count"]=> int(26) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [15]=> object(WP_Term)#16237 (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(117) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [16]=> object(WP_Term)#16302 (11) { ["term_id"]=> int(12531) ["name"]=> string(7) "Ramadan" ["slug"]=> string(7) "ramadan" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(12531) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(159) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [17]=> object(WP_Term)#16265 (11) { ["term_id"]=> int(42) ["name"]=> string(15) "Ramadan cooking" ["slug"]=> string(15) "ramadan-recipes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(42) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(115) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [18]=> object(WP_Term)#15995 (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" } [19]=> object(WP_Term)#16272 (11) { ["term_id"]=> int(421) ["name"]=> string(18) "Weekend breakfasts" ["slug"]=> string(18) "weekend-breakfasts" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(421) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(35) "Big breakfasts for weekend feasting" ["parent"]=> int(0) ["count"]=> int(63) ["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 ( 1103, 353713744271619691386697517312532214223331253142902421 ) OR rd.ingredients LIKE '%Baking%' OR rd.ingredients LIKE '% Bread%' OR rd.ingredients LIKE '% Feta%' OR rd.ingredients LIKE '% Olives%' OR rd.ingredients LIKE '% Simit poğaça%' OR rd.ingredients LIKE '% Turkish bread%' OR rd.ingredients LIKE '% Turkish food%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 24232 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16