POST-ID:31158 array(21) { [0]=> object(WP_Term)#16791 (11) { ["term_id"]=> int(117) ["name"]=> string(22) "Cook with coconut milk" ["slug"]=> string(22) "cook-with-coconut-milk" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(117) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(239) "When consumed in moderation, coconut milk can benefit your health and help fight infection, plus it’s a great substitute if you’re trying to cut back on dairy. We like the mellow creaminess it imparts when used in spicy dishes." ["parent"]=> int(0) ["count"]=> int(15) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [1]=> object(WP_Term)#16792 (11) { ["term_id"]=> int(315) ["name"]=> string(5) "Curry" ["slug"]=> string(5) "curry" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(315) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(85) "Rustle up a spicy supper using fish, vegetables or meat and a blend of rich flavours." ["parent"]=> int(0) ["count"]=> int(78) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [2]=> object(WP_Term)#16793 (11) { ["term_id"]=> int(88) ["name"]=> string(10) "Curry club" ["slug"]=> string(10) "curry-club" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(88) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(108) "Now the weather is chillier, we’re all about root vegetables, slow-cooked meats and heady marinades..." ["parent"]=> int(0) ["count"]=> int(49) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [3]=> object(WP_Term)#16794 (11) { ["term_id"]=> int(157) ["name"]=> string(15) "Curry creations" ["slug"]=> string(15) "curry-creations" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(157) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(131) "Whether you're entertaining guests or simply looking to indulge in some flavoursome food, these curries will have you covered!" ["parent"]=> int(0) ["count"]=> int(53) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [4]=> object(WP_Term)#16795 (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(546) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [5]=> object(WP_Term)#16796 (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(314) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [6]=> object(WP_Term)#16797 (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(246) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [7]=> object(WP_Term)#16800 (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" } [8]=> object(WP_Term)#16799 (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(118) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [9]=> object(WP_Term)#16805 (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)#16801 (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" } [11]=> object(WP_Term)#16798 (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(153) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [12]=> object(WP_Term)#16807 (11) { ["term_id"]=> int(20) ["name"]=> string(13) "Quick curries" ["slug"]=> string(13) "quick-curries" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(20) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(12) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [13]=> object(WP_Term)#16802 (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(75) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [14]=> object(WP_Term)#16803 (11) { ["term_id"]=> int(105) ["name"]=> string(22) "Tempting Thai flavours" ["slug"]=> string(13) "thai-flavours" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(105) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(20) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [15]=> object(WP_Term)#16732 (11) { ["term_id"]=> int(307) ["name"]=> string(4) "Thai" ["slug"]=> string(4) "thai" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(307) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(46) "Sweet and sour Thai curries, noodles and rice." ["parent"]=> int(0) ["count"]=> int(49) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [16]=> object(WP_Term)#16697 (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(566) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [17]=> object(WP_Term)#16816 (11) { ["term_id"]=> int(260) ["name"]=> string(28) "Vegetarian Christmas recipes" ["slug"]=> string(20) "vegetarian-christmas" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(260) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(95) "Enticing meat-free recipes for the festive season, including main courses, starters and snacks." ["parent"]=> int(0) ["count"]=> int(93) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [18]=> object(WP_Term)#16783 (11) { ["term_id"]=> int(82) ["name"]=> string(16) "Vegetarian curry" ["slug"]=> string(16) "vegetarian-curry" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(82) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(21) "From dhal to dopiaza." ["parent"]=> int(0) ["count"]=> int(35) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [19]=> object(WP_Term)#16571 (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(120) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [20]=> object(WP_Term)#16789 (11) { ["term_id"]=> int(125) ["name"]=> string(14) "Veggie curries" ["slug"]=> string(14) "veggie-curries" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(125) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(117) "Indian cuisine is delicious and vegetarian-friendly, so ditch the pack of chicken and try one of our authentic ideas." ["parent"]=> int(0) ["count"]=> int(15) ["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 ( 117, 315881574094103235844200210120201631053074132608212125 ) OR rd.ingredients LIKE '%Curry%' OR rd.ingredients LIKE '% galangal%' OR rd.ingredients LIKE '% Jasmine rice%' OR rd.ingredients LIKE '% Lemongrass%' OR rd.ingredients LIKE '% New potatoes%' OR rd.ingredients LIKE '% Peas%' OR rd.ingredients LIKE '% Thai curry%' OR rd.ingredients LIKE '% Thai red chillies%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 31158 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16