POST-ID:24982 array(12) { [0]=> object(WP_Term)#16863 (11) { ["term_id"]=> int(169) ["name"]=> string(16) "200-400 calories" ["slug"]=> string(16) "200-400-calories" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(169) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(147) "Low in calories yet super-satisfying – these lighter recipes make the most of delicious ingredients. Discover salads, stir-fries, stews and more." ["parent"]=> int(0) ["count"]=> int(306) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [1]=> object(WP_Term)#16859 (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" } [2]=> object(WP_Term)#16856 (11) { ["term_id"]=> int(415) ["name"]=> string(7) "Chicken" ["slug"]=> string(7) "chicken" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(415) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(134) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [3]=> object(WP_Term)#16865 (11) { ["term_id"]=> int(49) ["name"]=> string(11) "Easy summer" ["slug"]=> string(11) "easy-summer" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(49) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(39) "Discover the best summer meals" ["parent"]=> int(0) ["count"]=> int(203) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [4]=> object(WP_Term)#16860 (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(338) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [5]=> object(WP_Term)#16861 (11) { ["term_id"]=> int(198) ["name"]=> string(15) "Healthy chicken" ["slug"]=> string(15) "healthy-chicken" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(198) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(35) "Diet-friendly ways to cook chicken." ["parent"]=> int(0) ["count"]=> int(54) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [6]=> object(WP_Term)#16772 (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(101) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [7]=> object(WP_Term)#16807 (11) { ["term_id"]=> int(905) ["name"]=> string(6) "Picnic" ["slug"]=> string(6) "picnic" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(905) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(49) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [8]=> object(WP_Term)#16874 (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(21) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [9]=> object(WP_Term)#16841 (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(50) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [10]=> object(WP_Term)#16596 (11) { ["term_id"]=> int(145) ["name"]=> string(31) "Winner, winner, chicken dinner!" ["slug"]=> string(28) "winner-winner-chicken-dinner" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(145) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(108) "Tired of the same old chicken dishes? Try something different with your chicken - we have plenty of options!" ["parent"]=> int(0) ["count"]=> int(64) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [11]=> object(WP_Term)#16858 (11) { ["term_id"]=> int(192) ["name"]=> string(17) "World Chicken Day" ["slug"]=> string(17) "world-chicken-day" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(192) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(56) ["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 ( 169, 177415494198208905105307145192 ) OR rd.ingredients LIKE '%Chicken%' OR rd.ingredients LIKE '% Coconut%' OR rd.ingredients LIKE '% Drumsticks%' OR rd.ingredients LIKE '% Family%' OR rd.ingredients LIKE '% Lime%' OR rd.ingredients LIKE '% Picnic%' OR rd.ingredients LIKE '% Thai green curry paste%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 24982 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16