POST-ID:27391 array(24) { [0]=> object(WP_Term)#16794 (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(301) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [1]=> object(WP_Term)#16795 (11) { ["term_id"]=> int(429) ["name"]=> string(12) "Best of beef" ["slug"]=> string(12) "best-of-beef" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(429) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(211) "Whether it’s your go-to cut of meat for a British Sunday roast, or if you prefer your beef in a burger bun, the wide range of cuts available mean it really is one of the most versatile meats on the market." ["parent"]=> int(0) ["count"]=> int(46) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [2]=> object(WP_Term)#16796 (11) { ["term_id"]=> int(295) ["name"]=> string(7) "British" ["slug"]=> string(15) "british-recipes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(295) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(147) "Dig into the best of British cuisine by enjoying classics including roasts, stews and fish and chips – or dabble in delicious desserts" ["parent"]=> int(0) ["count"]=> int(42) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [3]=> object(WP_Term)#16797 (11) { ["term_id"]=> int(5) ["name"]=> string(17) "Cheap and healthy" ["slug"]=> string(17) "cheap-and-healthy" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(5) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(55) "Trying to be healthy on a budget has never been easier." ["parent"]=> int(0) ["count"]=> int(81) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [4]=> object(WP_Term)#16798 (11) { ["term_id"]=> int(64) ["name"]=> string(17) "Cheap cut recipes" ["slug"]=> string(9) "cheap-cut" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(64) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(99) "Discover a variety of recipes using cheap cuts of meat that are both budget-friendly and delicious." ["parent"]=> int(0) ["count"]=> int(21) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [5]=> object(WP_Term)#16799 (11) { ["term_id"]=> int(344) ["name"]=> string(9) "Cheap eat" ["slug"]=> string(9) "cheap-eat" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(344) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(48) "Cheap eat meals that are packed full of flavour." ["parent"]=> int(0) ["count"]=> int(83) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [6]=> object(WP_Term)#16800 (11) { ["term_id"]=> int(65) ["name"]=> string(17) "Cheap eat recipes" ["slug"]=> string(17) "cheap-eat-recipes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(65) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(47) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [7]=> object(WP_Term)#16801 (11) { ["term_id"]=> int(177) ["name"]=> string(18) "Cheap family meals" ["slug"]=> string(20) "cheap-family-suppers" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(177) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(47) "Wholesome, budget suppers for the whole family." ["parent"]=> int(0) ["count"]=> int(114) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [8]=> object(WP_Term)#16802 (11) { ["term_id"]=> int(92) ["name"]=> string(16) "Christmas dinner" ["slug"]=> string(16) "christmas-dinner" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(92) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(96) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [9]=> object(WP_Term)#16803 (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(216) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [10]=> object(WP_Term)#16806 (11) { ["term_id"]=> int(4) ["name"]=> string(11) "Family meal" ["slug"]=> string(11) "family-meal" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(4) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(58) "Something for all the family from tuna balls to spaghetti." ["parent"]=> int(0) ["count"]=> int(334) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [11]=> object(WP_Term)#16805 (11) { ["term_id"]=> int(34) ["name"]=> string(12) "Friday lunch" ["slug"]=> string(12) "friday-lunch" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(34) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(98) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [12]=> object(WP_Term)#16811 (11) { ["term_id"]=> int(196) ["name"]=> string(15) "Healthier roast" ["slug"]=> string(15) "healthier-roast" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(196) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(22) "Better-for-you roasts." ["parent"]=> int(0) ["count"]=> int(27) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [13]=> object(WP_Term)#16807 (11) { ["term_id"]=> int(197) ["name"]=> string(7) "Healthy" ["slug"]=> string(7) "healthy" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(197) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(52) "Packed with the good stuff to get you feeling great." ["parent"]=> int(0) ["count"]=> int(173) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [14]=> object(WP_Term)#16804 (11) { ["term_id"]=> int(14053) ["name"]=> string(14) "Healthy dinner" ["slug"]=> string(14) "healthy-dinner" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(14053) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(44) "Discover our best ever healthy dinner ideas." ["parent"]=> int(0) ["count"]=> int(25) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [15]=> object(WP_Term)#16813 (11) { ["term_id"]=> int(199) ["name"]=> string(20) "Healthy dinner party" ["slug"]=> string(20) "healthy-dinner-party" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(199) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(45) "Guilt-free options for the conscientious host" ["parent"]=> int(0) ["count"]=> int(120) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [16]=> object(WP_Term)#16808 (11) { ["term_id"]=> int(8) ["name"]=> string(13) "Healthy roast" ["slug"]=> string(13) "healthy-roast" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(8) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(22) "Better-for-you roasts." ["parent"]=> int(0) ["count"]=> int(23) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [17]=> object(WP_Term)#16809 (11) { ["term_id"]=> int(216) ["name"]=> string(18) "Low-calorie dinner" ["slug"]=> string(18) "low-calorie-dinner" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(216) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(41) "Delicious dinners all under 400 calories." ["parent"]=> int(0) ["count"]=> int(85) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [18]=> object(WP_Term)#16738 (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(120) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [19]=> object(WP_Term)#16703 (11) { ["term_id"]=> int(100) ["name"]=> string(6) "Roasts" ["slug"]=> string(6) "roasts" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(100) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(63) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [20]=> object(WP_Term)#16822 (11) { ["term_id"]=> int(144) ["name"]=> string(26) "Sharing-style dinner party" ["slug"]=> string(26) "sharing-style-dinner-party" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(144) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(105) "Spend less time at the stove-top and more time entertaining, with these easy-to-make dinner party dishes." ["parent"]=> int(0) ["count"]=> int(138) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [21]=> object(WP_Term)#16789 (11) { ["term_id"]=> int(904) ["name"]=> string(12) "Sunday lunch" ["slug"]=> string(12) "sunday-lunch" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(904) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(72) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [22]=> object(WP_Term)#16576 (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" } [23]=> object(WP_Term)#16792 (11) { ["term_id"]=> int(54) ["name"]=> string(13) "Winter Roasts" ["slug"]=> string(13) "winter-roasts" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(54) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(32) ["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, 42929556434465177928954341961971405319982163310014490489654 ) OR rd.ingredients LIKE '%Fillet steak%' OR rd.ingredients LIKE '% healthy roast dinner%' OR rd.ingredients LIKE '% healthy steak%' OR rd.ingredients LIKE '% Sunday lunch%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 27391 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16