POST-ID:18868 array(10) { [0]=> object(WP_Term)#16843 (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" } [1]=> object(WP_Term)#16852 (11) { ["term_id"]=> int(371) ["name"]=> string(14) "Baking recipes" ["slug"]=> string(6) "baking" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(371) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(138) "Discover a selection of our favourite bakes. Whether you're making bread, brownies, cookies, cakes or tarts, we've got the perfect recipes" ["parent"]=> int(0) ["count"]=> int(182) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [2]=> object(WP_Term)#16847 (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(290) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [3]=> object(WP_Term)#16848 (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)#16740 (11) { ["term_id"]=> int(381) ["name"]=> string(14) "Chocolate cake" ["slug"]=> string(14) "chocolate-cake" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(381) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(31) "Irresistibly chocolatey treats." ["parent"]=> int(0) ["count"]=> int(65) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [5]=> object(WP_Term)#17677 (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(151) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [6]=> object(WP_Term)#16861 (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" } [7]=> object(WP_Term)#16828 (11) { ["term_id"]=> int(293) ["name"]=> string(12) "Kids cooking" ["slug"]=> string(12) "kids-cooking" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(293) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(55) "Get those budding Jamies and Nigellas into the kitchen." ["parent"]=> int(0) ["count"]=> int(74) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [8]=> object(WP_Term)#16757 (11) { ["term_id"]=> int(130) ["name"]=> string(13) "Little bakers" ["slug"]=> string(13) "little-bakers" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(130) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(221) "There’s endless fun to be had when kids hit the kitchen. We have lots of family-friendly baking projects for little sous chefs to get stuck into, so tie on a pint-sized apron and let the creative juices flow…" ["parent"]=> int(0) ["count"]=> int(17) ["filter"]=> string(3) "raw" ["term_order"]=> string(1) "0" } [9]=> object(WP_Term)#16850 (11) { ["term_id"]=> int(403) ["name"]=> string(8) "Traybake" ["slug"]=> string(8) "traybake" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(403) ["taxonomy"]=> string(15) "bbc_collections" ["description"]=> string(61) "Simple, no-fuss cakes to be cut into squares to feed a crowd." ["parent"]=> int(0) ["count"]=> int(68) ["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 ( 61, 37140638038138623293130403 )) AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 18868 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16