POST-ID:23998 array(31) { [0]=> object(WP_Term)#12835 (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)#12836 (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(72) "Our selection of cheesecake recipes that will surely sate your appetite." ["parent"]=> int(0) ["count"]=> int(76) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [2]=> object(WP_Term)#12837 (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(37) "All our favourite bakes in one place." ["parent"]=> int(0) ["count"]=> int(136) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [3]=> object(WP_Term)#12838 (11) { ["term_id"]=> int(295) ["name"]=> string(7) "British" ["slug"]=> string(7) "british" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(295) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(61) "Classic British dishes such as toad in the hole and fish pie." ["parent"]=> int(0) ["count"]=> int(37) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [4]=> object(WP_Term)#12839 (11) { ["term_id"]=> int(902) ["name"]=> string(11) "Celebration" ["slug"]=> string(11) "celebration" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(902) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(48) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [5]=> object(WP_Term)#12840 (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(160) "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(56) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [6]=> object(WP_Term)#12841 (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(84) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [7]=> object(WP_Term)#12842 (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(162) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [8]=> object(WP_Term)#12843 (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(111) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [9]=> object(WP_Term)#12844 (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" } [10]=> object(WP_Term)#12845 (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(178) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [11]=> object(WP_Term)#12847 (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" } [12]=> object(WP_Term)#12848 (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(110) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [13]=> object(WP_Term)#12849 (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" } [14]=> object(WP_Term)#12850 (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" } [15]=> object(WP_Term)#12851 (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(61) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [16]=> object(WP_Term)#12852 (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(46) "Guilt-free options for the conscientious host." ["parent"]=> int(0) ["count"]=> int(111) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [17]=> object(WP_Term)#12853 (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(51) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [18]=> object(WP_Term)#12854 (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" } [19]=> object(WP_Term)#12855 (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" } [20]=> object(WP_Term)#12856 (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" } [21]=> object(WP_Term)#12857 (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" } [22]=> object(WP_Term)#12858 (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(87) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [23]=> object(WP_Term)#12859 (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(30) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [24]=> object(WP_Term)#12056 (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(19) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [25]=> object(WP_Term)#12055 (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(52) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [26]=> object(WP_Term)#12054 (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(12) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [27]=> object(WP_Term)#12076 (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(51) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [28]=> object(WP_Term)#12095 (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(114) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [29]=> object(WP_Term)#12012 (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(55) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [30]=> object(WP_Term)#12833 (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(97) ["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, 118371295902963458957535843684431611534199200111651113703341610932911592163144904896 ) 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