POST-ID:40260 array(5) { [0]=> object(WP_Term)#21211 (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(103) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [1]=> object(WP_Term)#21293 (11) { ["term_id"]=> int(31) ["name"]=> string(9) "Big match" ["slug"]=> string(17) "big-match-recipes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(31) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(123) "Finger lickin’ food to munch in front of the match and sharing platters that’ll keep you going strong during the Games." ["parent"]=> int(0) ["count"]=> int(51) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [2]=> object(WP_Term)#22617 (11) { ["term_id"]=> int(14065) ["name"]=> string(19) "Cauliflower recipes" ["slug"]=> string(19) "cauliflower-recipes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(14065) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(178) "A head of cauliflower goes a long way. This versatile brassica adds smoothness in sauces and texture in dishes such as cauliflower cheese, roast cauliflower and cauliflower rice." ["parent"]=> int(0) ["count"]=> int(28) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [3]=> object(WP_Term)#21297 (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(603) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [4]=> object(WP_Term)#21284 (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(251) ["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 ( 14075, 311406540932 ) OR rd.ingredients LIKE '%air fryer%' OR rd.ingredients LIKE '% buffalo wings%' OR rd.ingredients LIKE '% Cauliflower%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 40260 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16