POST-ID:23998 array(31) { [0]=> object(WP_Term)#15612 (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" } [1]=> object(WP_Term)#15611 (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" } [2]=> object(WP_Term)#16521 (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)#16522 (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" } [4]=> object(WP_Term)#15616 (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" } [5]=> object(WP_Term)#15617 (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" } [6]=> object(WP_Term)#15618 (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" } [7]=> object(WP_Term)#15619 (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(121) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [8]=> object(WP_Term)#15620 (11) { ["term_id"]=> int(358) ["name"]=> string(13) "Fabulous fish" ["slug"]=> string(13) "fabulous-fish" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(358) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(65) "Tantalise your tastebuds with spicy seafood and flavoursome fish." ["parent"]=> int(0) ["count"]=> int(74) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [9]=> object(WP_Term)#15621 (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" } [10]=> object(WP_Term)#15622 (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" } [11]=> object(WP_Term)#15623 (11) { ["term_id"]=> int(44) ["name"]=> string(4) "Fish" ["slug"]=> string(4) "fish" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(44) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(111) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [12]=> object(WP_Term)#15624 (11) { ["term_id"]=> int(316) ["name"]=> string(8) "Fish pie" ["slug"]=> string(8) "fish-pie" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(316) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(43) "Inspiration for a mash-topped seafood bake." ["parent"]=> int(0) ["count"]=> int(13) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [13]=> object(WP_Term)#15625 (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" } [14]=> object(WP_Term)#15626 (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" } [15]=> object(WP_Term)#15627 (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)#15628 (11) { ["term_id"]=> int(200) ["name"]=> string(12) "Healthy fish" ["slug"]=> string(12) "healthy-fish" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(200) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(109) "From lighter pies to makeover fish & chips, nothing's off the menu with our healthier fish dishes..." ["parent"]=> int(0) ["count"]=> int(52) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [17]=> object(WP_Term)#15631 (11) { ["term_id"]=> int(11) ["name"]=> string(9) "Meat free" ["slug"]=> string(5) "vegan" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(11) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(54) "Mouthwatering dishes made without any animal products." ["parent"]=> int(0) ["count"]=> int(55) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [18]=> object(WP_Term)#15634 (11) { ["term_id"]=> int(165) ["name"]=> string(14) "Meat-free fare" ["slug"]=> string(14) "meat-free-fare" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(165) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(79) "From vegan to vegetarian dishes, we've got some delicious meat-free dishes" ["parent"]=> int(0) ["count"]=> int(44) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [19]=> object(WP_Term)#15630 (11) { ["term_id"]=> int(111) ["name"]=> string(16) "Meat-free feasts" ["slug"]=> string(16) "meat-free-feasts" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(111) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(32) "Mouthwatering vegetarian recipes" ["parent"]=> int(0) ["count"]=> int(50) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [20]=> object(WP_Term)#15641 (11) { ["term_id"]=> int(370) ["name"]=> string(12) "Mother's Day" ["slug"]=> string(11) "mothers-day" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(370) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(26) "Recipes to treat your mum." ["parent"]=> int(0) ["count"]=> int(54) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [21]=> object(WP_Term)#15629 (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(114) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [22]=> object(WP_Term)#15638 (11) { ["term_id"]=> int(416) ["name"]=> string(6) "Pastry" ["slug"]=> string(6) "pastry" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(416) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(32) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [23]=> object(WP_Term)#15633 (11) { ["term_id"]=> int(109) ["name"]=> string(14) "Perfect pastry" ["slug"]=> string(14) "perfect-pastry" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(109) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(20) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [24]=> object(WP_Term)#15632 (11) { ["term_id"]=> int(329) ["name"]=> string(3) "Pie" ["slug"]=> string(3) "pie" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(329) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(86) "Perfect pastry and delicious fillings, both sweet and savoury. Cut a slice and dig in." ["parent"]=> int(0) ["count"]=> int(53) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [25]=> object(WP_Term)#15551 (11) { ["term_id"]=> int(11592) ["name"]=> string(5) "prawn" ["slug"]=> string(5) "prawn" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(11592) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(44) ["count"]=> int(15) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [26]=> object(WP_Term)#15586 (11) { ["term_id"]=> int(163) ["name"]=> string(19) "Scrumptious seafood" ["slug"]=> string(18) "let-s-have-lobster" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(163) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(71) "From crustaceans to cod, we've compiled some tasty recipes for you" ["parent"]=> int(0) ["count"]=> int(70) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [27]=> object(WP_Term)#15651 (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(137) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [28]=> object(WP_Term)#15613 (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" } [29]=> object(WP_Term)#15410 (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(67) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [30]=> object(WP_Term)#16523 (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" } }
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 ( 133, 118371295963458957535843684431611534199200111651113703341610932911592163144902904896 ) OR rd.ingredients LIKE '%Calcium%' OR rd.ingredients LIKE '% Comfort Food%' OR rd.ingredients LIKE '% Fish pie%' OR rd.ingredients LIKE '% Haddock%' OR rd.ingredients LIKE '% King prawns%' OR rd.ingredients LIKE '% Leeks%' OR rd.ingredients LIKE '% PASTRY%' OR rd.ingredients LIKE '% Salmon%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 23998 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16