POST-ID:29482 array(17) { [0]=> object(WP_Term)#16270 (11) { ["term_id"]=> int(158) ["name"]=> string(15) "20-minute meals" ["slug"]=> string(15) "20-minute-meals" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(158) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(90) "Super-quick and easy to make, these meals are great for preparing after a long day at work" ["parent"]=> int(0) ["count"]=> int(164) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [1]=> object(WP_Term)#16271 (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" } [2]=> object(WP_Term)#16272 (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)#16279 (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(531) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [4]=> object(WP_Term)#16274 (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(304) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [5]=> object(WP_Term)#16276 (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" } [6]=> object(WP_Term)#16278 (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" } [7]=> object(WP_Term)#16273 (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" } [8]=> object(WP_Term)#16282 (11) { ["term_id"]=> int(436) ["name"]=> string(35) "Healthy Christmas leftovers recipes" ["slug"]=> string(27) "healthy-christmas-leftovers" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(436) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(60) "Nutritious and delicious ways to use up your festive fare..." ["parent"]=> int(0) ["count"]=> int(36) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [9]=> object(WP_Term)#16275 (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" } [10]=> object(WP_Term)#16277 (11) { ["term_id"]=> int(207) ["name"]=> string(12) "Healthy soup" ["slug"]=> string(12) "healthy-soup" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(207) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(33) "Comfort food without the calories" ["parent"]=> int(0) ["count"]=> int(42) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [11]=> object(WP_Term)#16215 (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" } [12]=> object(WP_Term)#16180 (11) { ["term_id"]=> int(348) ["name"]=> string(9) "Leftovers" ["slug"]=> string(9) "leftovers" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(348) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(40) "How to use up those leftover ingredients" ["parent"]=> int(0) ["count"]=> int(69) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [13]=> object(WP_Term)#16297 (11) { ["term_id"]=> int(110) ["name"]=> string(19) "Love your leftovers" ["slug"]=> string(19) "love-your-leftovers" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(110) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(25) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [14]=> object(WP_Term)#16258 (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(16) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [15]=> object(WP_Term)#16002 (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" } [16]=> object(WP_Term)#16268 (11) { ["term_id"]=> int(335) ["name"]=> string(4) "Soup" ["slug"]=> string(4) "soup" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(335) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(39) "Be bowled over by our nourishing soups." ["parent"]=> int(0) ["count"]=> int(106) ["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 ( 158, 133295409410323584443620020721134811011592163335 ) OR rd.ingredients LIKE '%Chowder%' OR rd.ingredients LIKE '% Dinner for one%' OR rd.ingredients LIKE '% Prawns%' OR rd.ingredients LIKE '% Seafood%' OR rd.ingredients LIKE '% Smoked fish%' OR rd.ingredients LIKE '% Soup%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 29482 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16