POST-ID:22165 array(12) { [0]=> object(WP_Term)#17181 (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(307) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [1]=> object(WP_Term)#17184 (11) { ["term_id"]=> int(14075) ["name"]=> string(17) "Air fryer recipes" ["slug"]=> string(17) "air-fryer-recipes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(14075) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(160) "Put your kitchen kit to work with our top air-fryer recipes, from crispy chips to fluffy roast potatoes and juicy chicken wings—all with less time and energy!" ["parent"]=> int(0) ["count"]=> int(75) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [2]=> object(WP_Term)#17178 (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)#17176 (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" } [4]=> object(WP_Term)#17179 (11) { ["term_id"]=> int(346) ["name"]=> string(24) "Five ingredients or less" ["slug"]=> string(24) "five-ingredients-or-less" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(346) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(45) "Quick fix recipes with minimal shopping fuss." ["parent"]=> int(0) ["count"]=> int(64) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [5]=> object(WP_Term)#17180 (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)#17078 (11) { ["term_id"]=> int(78) ["name"]=> string(22) "Low-cal and delicious!" ["slug"]=> string(15) "200-400-clories" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(78) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(78) "Try these light, healthy dishes all counted to notch up to under 400 calories." ["parent"]=> int(0) ["count"]=> int(60) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [7]=> object(WP_Term)#18013 (11) { ["term_id"]=> int(217) ["name"]=> string(16) "Low-carb recipes" ["slug"]=> string(16) "low-carbohydrate" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(217) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(76) "Delicious low-carb recipes, with less than 10g of carbohydrates per serving." ["parent"]=> int(0) ["count"]=> int(40) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [8]=> object(WP_Term)#17199 (11) { ["term_id"]=> int(384) ["name"]=> string(38) "Mouthwatering fried chicken recipes…" ["slug"]=> string(21) "fried-chicken-recipes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(384) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(49) "We’ve got the perfect poultry dishes to try" ["parent"]=> int(0) ["count"]=> int(18) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [9]=> object(WP_Term)#17160 (11) { ["term_id"]=> int(128) ["name"]=> string(23) "The thigh’s the limit" ["slug"]=> string(21) "the-thigh-s-the-limit" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(128) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(16) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [10]=> object(WP_Term)#17095 (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)#17175 (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, 14075415434619878217384128145192 ) OR rd.ingredients LIKE '%air fryer%' OR rd.ingredients LIKE '% Chicken%' OR rd.ingredients LIKE '% Fried chicken%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 22165 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16