POST-ID:30426 array(14) { [0]=> object(WP_Term)#16267 (11) { ["term_id"]=> int(169) ["name"]=> string(16) "200-400 calories" ["slug"]=> string(16) "200-400-calories" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(169) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(147) "Low in calories yet super-satisfying – these lighter recipes make the most of delicious ingredients. Discover salads, stir-fries, stews and more." ["parent"]=> int(0) ["count"]=> int(298) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [1]=> object(WP_Term)#16275 (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" } [2]=> object(WP_Term)#16279 (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" } [3]=> object(WP_Term)#16269 (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" } [4]=> object(WP_Term)#16273 (11) { ["term_id"]=> int(58) ["name"]=> string(31) "Delicious desserts for hot days" ["slug"]=> string(11) "hot-weather" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(58) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(51) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [5]=> object(WP_Term)#16272 (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(211) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [6]=> object(WP_Term)#16271 (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(531) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [7]=> object(WP_Term)#16276 (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" } [8]=> object(WP_Term)#16207 (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(304) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [9]=> object(WP_Term)#16172 (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(245) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [10]=> object(WP_Term)#16289 (11) { ["term_id"]=> int(49) ["name"]=> string(11) "Easy summer" ["slug"]=> string(11) "easy-summer" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(49) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(39) "Discover the best summer meals" ["parent"]=> int(0) ["count"]=> int(182) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [11]=> object(WP_Term)#16252 (11) { ["term_id"]=> int(399) ["name"]=> string(11) "Quick cakes" ["slug"]=> string(10) "quick-cake" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(399) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(31) "Simple and speedy bakes to try." ["parent"]=> int(0) ["count"]=> int(26) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [12]=> object(WP_Term)#16006 (11) { ["term_id"]=> int(51) ["name"]=> string(14) "Summer dessert" ["slug"]=> string(14) "summer-dessert" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(51) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(24) "Recipes to beat the heat" ["parent"]=> int(0) ["count"]=> int(99) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [13]=> object(WP_Term)#16265 (11) { ["term_id"]=> int(218) ["name"]=> string(18) "Vegetarian dessert" ["slug"]=> string(18) "vegetarian-dessert" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(218) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(57) "Decadent desserts such as Pavlova and Chocolate marquise." ["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 ( 169, 13311033558895409386410324939951218 ) OR rd.ingredients LIKE '%Blueberry%' OR rd.ingredients LIKE '% Cheesecake%' OR rd.ingredients LIKE '% Lemon%' OR rd.ingredients LIKE '% Puff pastry%' OR rd.ingredients LIKE '% Quick dessert%' OR rd.ingredients LIKE '% Tart%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 30426 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16