POST-ID:25316 array(27) { [0]=> object(WP_Term)#15456 (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" } [1]=> object(WP_Term)#15457 (11) { ["term_id"]=> int(63) ["name"]=> string(23) "All-time top 20 recipes" ["slug"]=> string(23) "all-time-top-20-recipes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(63) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(24) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [2]=> object(WP_Term)#15458 (11) { ["term_id"]=> int(190) ["name"]=> string(8) "American" ["slug"]=> string(8) "american" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(190) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(125) "Get inspired by Stateside favourites, from burgers and hotdogs to pancakes and pies. Read our collection of American recipes." ["parent"]=> int(0) ["count"]=> int(37) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [3]=> object(WP_Term)#15459 (11) { ["term_id"]=> int(343) ["name"]=> string(13) "Batch cooking" ["slug"]=> string(13) "batch-cooking" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(343) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(153) "Need to get ahead with food prep for the week? Try batch-cooking one of our easy dinners or bakes, then freezing the leftovers for a speedy midweek meal." ["parent"]=> int(0) ["count"]=> int(52) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [4]=> object(WP_Term)#15460 (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(30) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [5]=> object(WP_Term)#15461 (11) { ["term_id"]=> int(311) ["name"]=> string(6) "Burger" ["slug"]=> string(14) "burger-recipes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(311) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(158) "Discover our best burger recipes, with everything you'll ever need to put inside a bun, from juicy beef patties, to chicken, turkey, veggie and vegan burgers." ["parent"]=> int(0) ["count"]=> int(83) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [6]=> object(WP_Term)#15462 (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" } [7]=> object(WP_Term)#15463 (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" } [8]=> object(WP_Term)#15464 (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" } [9]=> object(WP_Term)#15465 (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" } [10]=> object(WP_Term)#15466 (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" } [11]=> object(WP_Term)#15467 (11) { ["term_id"]=> int(345) ["name"]=> string(12) "Comfort food" ["slug"]=> string(12) "comfort-food" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(345) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(34) "Warming recipes for winter nights." ["parent"]=> int(0) ["count"]=> int(87) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [12]=> object(WP_Term)#15468 (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(206) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [13]=> object(WP_Term)#15469 (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(514) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [14]=> object(WP_Term)#15481 (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(301) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [15]=> object(WP_Term)#15475 (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" } [16]=> object(WP_Term)#15473 (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" } [17]=> object(WP_Term)#15471 (11) { ["term_id"]=> int(900) ["name"]=> string(8) "Everyday" ["slug"]=> string(8) "everyday" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(900) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(144) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [18]=> object(WP_Term)#15472 (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(307) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [19]=> object(WP_Term)#15474 (11) { ["term_id"]=> int(368) ["name"]=> string(12) "Father's Day" ["slug"]=> string(11) "fathers-day" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(368) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(60) "Brilliant ideas for treating Dad to something extra special." ["parent"]=> int(0) ["count"]=> int(64) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [20]=> object(WP_Term)#15478 (11) { ["term_id"]=> int(115) ["name"]=> string(19) "Fresh from the oven" ["slug"]=> string(19) "fresh-from-the-oven" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(115) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(13) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [21]=> object(WP_Term)#15392 (11) { ["term_id"]=> int(143) ["name"]=> string(14) "Hearty lunches" ["slug"]=> string(21) "healthy-lunch-recipes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(143) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(51) "Keep your healthy eating regime on the right track." ["parent"]=> int(0) ["count"]=> int(88) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [22]=> object(WP_Term)#15385 (11) { ["term_id"]=> int(43) ["name"]=> string(4) "Meat" ["slug"]=> string(4) "meat" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(43) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(62) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [23]=> object(WP_Term)#15492 (11) { ["term_id"]=> int(419) ["name"]=> string(11) "Movie night" ["slug"]=> string(11) "movie-night" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(419) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(17) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [24]=> object(WP_Term)#15453 (11) { ["term_id"]=> int(905) ["name"]=> string(6) "Picnic" ["slug"]=> string(6) "picnic" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(905) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(46) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [25]=> object(WP_Term)#15240 (11) { ["term_id"]=> int(172) ["name"]=> string(15) "Sharing recipes" ["slug"]=> string(7) "sharing" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(172) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(53) "Platters and dig-in dinners for relaxed entertaining." ["parent"]=> int(0) ["count"]=> int(49) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [26]=> object(WP_Term)#16361 (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 ( 118, 63190343429311564344651773458954094103249900436811514343419905172902 ) OR rd.ingredients LIKE '%Beef%' OR rd.ingredients LIKE '% beef patties%' OR rd.ingredients LIKE '% Buns%' OR rd.ingredients LIKE '% Burgers%' OR rd.ingredients LIKE '% Folate%' OR rd.ingredients LIKE '% Iron%' OR rd.ingredients LIKE '% next level recipes%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 25316 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16