POST-ID:32097 array(16) { [0]=> object(WP_Term)#15439 (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(102) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [1]=> object(WP_Term)#15440 (11) { ["term_id"]=> int(313) ["name"]=> string(13) "Chicken salad" ["slug"]=> string(13) "chicken-salad" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(313) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(43) "Serve up a bright, light plate of goodness." ["parent"]=> int(0) ["count"]=> int(41) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [2]=> object(WP_Term)#15441 (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(514) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [3]=> object(WP_Term)#15453 (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(301) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [4]=> object(WP_Term)#15447 (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" } [5]=> object(WP_Term)#15445 (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(182) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [6]=> object(WP_Term)#15443 (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" } [7]=> object(WP_Term)#15444 (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(40) "Light pasta dishes that are all low cal." ["parent"]=> int(0) ["count"]=> int(55) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [8]=> object(WP_Term)#15446 (11) { ["term_id"]=> int(202) ["name"]=> string(14) "Healthy spring" ["slug"]=> string(14) "healthy-spring" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(202) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(33) "Celebrate the turn of the season." ["parent"]=> int(0) ["count"]=> int(53) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [9]=> object(WP_Term)#15450 (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(100) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [10]=> object(WP_Term)#15381 (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(111) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [11]=> object(WP_Term)#15388 (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(85) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [12]=> object(WP_Term)#15464 (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(20) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [13]=> object(WP_Term)#15425 (11) { ["term_id"]=> int(30) ["name"]=> string(17) "Quick and healthy" ["slug"]=> string(17) "quick-and-healthy" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(30) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(98) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [14]=> object(WP_Term)#15180 (11) { ["term_id"]=> int(154) ["name"]=> string(13) "Summer salads" ["slug"]=> string(13) "summer-salads" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(154) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(99) "These light, refreshing and nutritious salads are perfect for tucking into during the hotter months" ["parent"]=> int(0) ["count"]=> int(113) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [15]=> object(WP_Term)#15437 (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(55) ["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, 313409410324919820320220832615610930154192 ) OR rd.ingredients LIKE '%Almonds%' OR rd.ingredients LIKE '% Asparagus%' OR rd.ingredients LIKE '% Chicken%' OR rd.ingredients LIKE '% Orzo%' OR rd.ingredients LIKE '% Pasta salad%' OR rd.ingredients LIKE '% Pesto%' OR rd.ingredients LIKE '% Salad%' OR rd.ingredients LIKE '% Spring recipes%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 32097 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16