POST-ID:21114 array(7) { [0]=> object(WP_Term)#16263 (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(298) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [1]=> object(WP_Term)#16157 (11) { ["term_id"]=> int(61) ["name"]=> string(15) "60 minute bakes" ["slug"]=> string(15) "60-minute-bakes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(61) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(41) "These quick bakes are fuss-free yet fancy" ["parent"]=> int(0) ["count"]=> int(52) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [2]=> object(WP_Term)#17041 (11) { ["term_id"]=> int(406) ["name"]=> string(9) "Chocolate" ["slug"]=> string(9) "chocolate" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(406) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(271) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [3]=> object(WP_Term)#16276 (11) { ["term_id"]=> int(380) ["name"]=> string(16) "Chocolate baking" ["slug"]=> string(16) "chocolate-baking" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(380) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(37) "Biscuits, brownies, fondants and pies" ["parent"]=> int(0) ["count"]=> int(85) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [4]=> object(WP_Term)#16239 (11) { ["term_id"]=> int(357) ["name"]=> string(17) "Chocolate dessert" ["slug"]=> string(17) "chocolate-dessert" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(357) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(72) "Celebrate all things cocoa with our tart, cake, pudding and pie recipes." ["parent"]=> int(0) ["count"]=> int(84) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [5]=> object(WP_Term)#16174 (11) { ["term_id"]=> int(298) ["name"]=> string(6) "French" ["slug"]=> string(6) "french" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(298) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(60) "Gallic-style recipes from pâtés to ratatouille." ["parent"]=> int(0) ["count"]=> int(35) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [6]=> object(WP_Term)#16259 (11) { ["term_id"]=> int(77) ["name"]=> string(14) "French recipes" ["slug"]=> string(14) "french-recipes" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(77) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(27) ["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, 6140638035729877 ) OR rd.ingredients LIKE '%Baking%' OR rd.ingredients LIKE '% Breakfast%' OR rd.ingredients LIKE '% Brunch%' OR rd.ingredients LIKE '% Pain au chocolate%' OR rd.ingredients LIKE '% Sharing food%' OR rd.ingredients LIKE '% tear and share loaf%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 21114 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16