POST-ID:24248 array(29) { [0]=> object(WP_Term)#16511 (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" } [1]=> object(WP_Term)#16512 (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" } [2]=> object(WP_Term)#15606 (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" } [3]=> object(WP_Term)#15607 (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" } [4]=> object(WP_Term)#15608 (11) { ["term_id"]=> int(174) ["name"]=> string(16) "Dairy-free lunch" ["slug"]=> string(16) "dairy-free-lunch" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(174) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(43) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [5]=> object(WP_Term)#15609 (11) { ["term_id"]=> int(72) ["name"]=> string(9) "Easy eggs" ["slug"]=> string(9) "easy-eggs" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(72) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(29) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [6]=> object(WP_Term)#15610 (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(96) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [7]=> object(WP_Term)#15611 (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" } [8]=> object(WP_Term)#15612 (11) { ["term_id"]=> int(7) ["name"]=> string(13) "Healthy lunch" ["slug"]=> string(13) "healthy-lunch" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(7) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(51) "Keep your healthy eating regime on the right track." ["parent"]=> int(0) ["count"]=> int(159) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [9]=> object(WP_Term)#15613 (11) { ["term_id"]=> int(206) ["name"]=> string(13) "Healthy snack" ["slug"]=> string(13) "healthy-snack" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(206) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(28) "Dips, muffins and much more." ["parent"]=> int(0) ["count"]=> int(56) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [10]=> object(WP_Term)#15614 (11) { ["term_id"]=> int(202) ["name"]=> string(14) "Healthy spring" ["slug"]=> string(14) "healthy-spring" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(202) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(33) "Celebrate the turn of the season." ["parent"]=> int(0) ["count"]=> int(53) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [11]=> object(WP_Term)#15615 (11) { ["term_id"]=> int(208) ["name"]=> string(14) "Healthy summer" ["slug"]=> string(14) "healthy-summer" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(208) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(35) "BBQ, picnic and al fresco feasting." ["parent"]=> int(0) ["count"]=> int(100) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [12]=> object(WP_Term)#15616 (11) { ["term_id"]=> int(210) ["name"]=> string(18) "Healthy vegetarian" ["slug"]=> string(18) "healthy-vegetarian" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(210) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(31) "Diet-friendly meat-free feasts." ["parent"]=> int(0) ["count"]=> int(184) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [13]=> object(WP_Term)#15617 (11) { ["term_id"]=> int(211) ["name"]=> string(14) "Healthy winter" ["slug"]=> string(14) "healthy-winter" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(211) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(54) "Healthy and hearty winter warmers for colder nights..." ["parent"]=> int(0) ["count"]=> int(70) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [14]=> object(WP_Term)#15618 (11) { ["term_id"]=> int(121) ["name"]=> string(21) "Heart-healthy recipes" ["slug"]=> string(21) "heart-healthy-recipes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(121) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(133) "We’ve created a collection of ultimate heart-friendly recipes. Discover which ingredients you should be packing into your diet." ["parent"]=> int(0) ["count"]=> int(52) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [15]=> object(WP_Term)#15621 (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" } [16]=> object(WP_Term)#15624 (11) { ["term_id"]=> int(57) ["name"]=> string(11) "Kids health" ["slug"]=> string(11) "kids-health" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(57) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(16) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [17]=> object(WP_Term)#15620 (11) { ["term_id"]=> int(215) ["name"]=> string(17) "Low-calorie lunch" ["slug"]=> string(17) "low-calorie-lunch" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(215) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(63) "Lunchbox favourites and weekend treats, all under 400 calories." ["parent"]=> int(0) ["count"]=> int(70) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [18]=> object(WP_Term)#15631 (11) { ["term_id"]=> int(224) ["name"]=> string(14) "Low-salt lunch" ["slug"]=> string(14) "low-salt-lunch" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(224) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(54) "Avoid the bloat with some light but delicious options." ["parent"]=> int(0) ["count"]=> int(32) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [19]=> object(WP_Term)#15619 (11) { ["term_id"]=> int(135) ["name"]=> string(18) "Make-ahead lunches" ["slug"]=> string(18) "make-ahead-lunches" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(135) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(190) "If you’re guilty of last-minute lunch buys that leave your wallet flatter than a soggy pre-packed sandwich, make-ahead some tempting treats to take you through the day in style…" ["parent"]=> int(0) ["count"]=> int(22) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [20]=> object(WP_Term)#15628 (11) { ["term_id"]=> int(120) ["name"]=> string(17) "Modern vegetarian" ["slug"]=> string(17) "modern-vegetarian" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(120) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(35) "Veggie recipes for the whole family" ["parent"]=> int(0) ["count"]=> int(151) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [21]=> object(WP_Term)#15623 (11) { ["term_id"]=> int(30) ["name"]=> string(17) "Quick and healthy" ["slug"]=> string(17) "quick-and-healthy" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(30) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(98) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [22]=> object(WP_Term)#15622 (11) { ["term_id"]=> int(154) ["name"]=> string(13) "Summer salads" ["slug"]=> string(13) "summer-salads" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(154) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(99) "These light, refreshing and nutritious salads are perfect for tucking into during the hotter months" ["parent"]=> int(0) ["count"]=> int(113) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [23]=> object(WP_Term)#15541 (11) { ["term_id"]=> int(46) ["name"]=> string(10) "Vegetables" ["slug"]=> string(10) "vegetables" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(46) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(114) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [24]=> object(WP_Term)#15576 (11) { ["term_id"]=> int(413) ["name"]=> string(10) "Vegetarian" ["slug"]=> string(10) "vegetarian" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(413) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(43) "Meat-free recipes for entertaining and more" ["parent"]=> int(0) ["count"]=> int(555) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [25]=> object(WP_Term)#15641 (11) { ["term_id"]=> int(13) ["name"]=> string(19) "Vegetarian barbecue" ["slug"]=> string(19) "vegetarian-barbecue" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(13) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(58) "Simple yet delicious recipes perfect for summer barbecues." ["parent"]=> int(0) ["count"]=> int(44) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [26]=> object(WP_Term)#15603 (11) { ["term_id"]=> int(12) ["name"]=> string(16) "Vegetarian party" ["slug"]=> string(16) "vegetarian-party" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(12) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(35) "Impress with an imaginative spread." ["parent"]=> int(0) ["count"]=> int(119) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [27]=> object(WP_Term)#15400 (11) { ["term_id"]=> int(14) ["name"]=> string(16) "Vegetarian salad" ["slug"]=> string(16) "vegetarian-salad" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(14) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(43) "Stylish and substantial main course salads." ["parent"]=> int(0) ["count"]=> int(95) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [28]=> object(WP_Term)#15602 (11) { ["term_id"]=> int(84) ["name"]=> string(18) "Vegetarian starter" ["slug"]=> string(18) "vegetarian-starter" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(84) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(57) "Meat-free starters such as halloumi and watermelon salad." ["parent"]=> int(0) ["count"]=> int(98) ["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 ( 5, 344651771747234199720620220821021112114357215224135120301544641313121484 ) OR rd.ingredients LIKE '%Almonds%' OR rd.ingredients LIKE '% Diana Henry%' OR rd.ingredients LIKE '% Eggs%' OR rd.ingredients LIKE '% Quick lunch%' OR rd.ingredients LIKE '% Roast peppers%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 24248 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16