POST-ID:32758 array(13) { [0]=> object(WP_Term)#15591 (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(297) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [1]=> object(WP_Term)#15587 (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(270) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [2]=> object(WP_Term)#15598 (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" } [3]=> object(WP_Term)#15586 (11) { ["term_id"]=> int(288) ["name"]=> string(27) "Christmas chocolate recipes" ["slug"]=> string(19) "christmas-chocolate" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(288) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(62) "Treat yourself to something sweet – it's Christmas!" ["parent"]=> int(0) ["count"]=> int(73) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [4]=> object(WP_Term)#15595 (11) { ["term_id"]=> int(286) ["name"]=> string(37) "Christmas cracker and biscuit recipes" ["slug"]=> string(29) "christmas-cracker-and-biscuit" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(286) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(40) "Stack a hamper high with crunchy treats." ["parent"]=> int(0) ["count"]=> int(34) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [5]=> object(WP_Term)#15590 (11) { ["term_id"]=> int(248) ["name"]=> string(26) "Christmas for kids recipes" ["slug"]=> string(14) "christmas-kids" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(248) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(110) "Have some festive fun with the kids, with this selection of recipes that can be made by the smallest of hands." ["parent"]=> int(0) ["count"]=> int(79) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [6]=> object(WP_Term)#15589 (11) { ["term_id"]=> int(284) ["name"]=> string(23) "Christmas gifts recipes" ["slug"]=> string(15) "christmas-gifts" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(284) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(137) "Why go shopping when you can make Christmas presents at home? We have lots of ideas for gourmet gifts that your foodie friends will love." ["parent"]=> int(0) ["count"]=> int(99) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [7]=> object(WP_Term)#15526 (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" } [8]=> object(WP_Term)#15491 (11) { ["term_id"]=> int(386) ["name"]=> string(11) "Easy baking" ["slug"]=> string(11) "easy-baking" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(386) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(47) "Simple cakes, cupcakes, traybakes and biscuits." ["parent"]=> int(0) ["count"]=> int(149) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [9]=> object(WP_Term)#15608 (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" } [10]=> object(WP_Term)#15570 (11) { ["term_id"]=> int(69) ["name"]=> string(19) "Edible gift recipes" ["slug"]=> string(11) "edible-gift" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(69) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(40) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [11]=> object(WP_Term)#15318 (11) { ["term_id"]=> int(23) ["name"]=> string(11) "Kids baking" ["slug"]=> string(11) "kids-baking" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(23) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(60) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [12]=> object(WP_Term)#15585 (11) { ["term_id"]=> int(231) ["name"]=> string(12) "Kids cookies" ["slug"]=> string(12) "kids-cookies" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(231) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(50) "Child-friendly recipes for little cookie monsters." ["parent"]=> int(0) ["count"]=> int(25) ["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, 4063802882862482844093864106923231 ) OR rd.ingredients LIKE '%Baking%' OR rd.ingredients LIKE '% Biscuits%' OR rd.ingredients LIKE '% Christmas%' OR rd.ingredients LIKE '% Cookies%' OR rd.ingredients LIKE '% Family%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 32758 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16