POST-ID:28663 array(11) { [0]=> object(WP_Term)#17108 (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" } [1]=> object(WP_Term)#17105 (11) { ["term_id"]=> int(197) ["name"]=> string(7) "Healthy" ["slug"]=> string(7) "healthy" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(197) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(52) "Packed with the good stuff to get you feeling great." ["parent"]=> int(0) ["count"]=> int(173) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [2]=> object(WP_Term)#17114 (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" } [3]=> object(WP_Term)#17109 (11) { ["term_id"]=> int(14053) ["name"]=> string(14) "Healthy dinner" ["slug"]=> string(14) "healthy-dinner" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(14053) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(44) "Discover our best ever healthy dinner ideas." ["parent"]=> int(0) ["count"]=> int(33) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [4]=> object(WP_Term)#17110 (11) { ["term_id"]=> int(203) ["name"]=> string(13) "Healthy pasta" ["slug"]=> string(13) "healthy-pasta" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(203) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(27) "Light pasta dishes to enjoy" ["parent"]=> int(0) ["count"]=> int(55) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [5]=> object(WP_Term)#17039 (11) { ["term_id"]=> int(303) ["name"]=> string(13) "Mediterranean" ["slug"]=> string(13) "mediterranean" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(303) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(45) "Warm flavours to conjure up holiday memories." ["parent"]=> int(0) ["count"]=> int(35) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [6]=> object(WP_Term)#17004 (11) { ["term_id"]=> int(326) ["name"]=> string(5) "Pasta" ["slug"]=> string(5) "pasta" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(326) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(47) "Delicious pasta dishes from spaghetti to soups." ["parent"]=> int(0) ["count"]=> int(120) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [7]=> object(WP_Term)#17123 (11) { ["term_id"]=> int(327) ["name"]=> string(10) "Pasta bake" ["slug"]=> string(10) "pasta-bake" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(327) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(39) "Serve up a hearty bake to feed a crowd." ["parent"]=> int(0) ["count"]=> int(55) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [8]=> object(WP_Term)#17090 (11) { ["term_id"]=> int(156) ["name"]=> string(13) "Perfect pasta" ["slug"]=> string(13) "perfect-pasta" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(156) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(88) "From lasagne to spaghetti, these scrumptious pasta dishes are perfect for all the family" ["parent"]=> int(0) ["count"]=> int(90) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [9]=> object(WP_Term)#16847 (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" } [10]=> object(WP_Term)#17106 (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 ( 415, 19719814053203303326327156145192 ) OR rd.ingredients LIKE '%5-a-day%' OR rd.ingredients LIKE '% Chicken%' OR rd.ingredients LIKE '% healthy diet plan%' OR rd.ingredients LIKE '% healthy pasta dish%' OR rd.ingredients LIKE '% Pasta bake%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 28663 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16