POST-ID:23354
array(18) {
[0]=>
object(WP_Term)#16271 (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)#16272 (11) {
["term_id"]=>
int(1103)
["name"]=>
string(13) "Afternoon Tea"
["slug"]=>
string(13) "afternoon-tea"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(1103)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(148) "Throw your own afternoon tea party with our selection of teatime treats, from delicate scones, cakes and patisserie to savoury pies and scotch eggs."
["parent"]=>
int(0)
["count"]=>
int(124)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[2]=>
object(WP_Term)#16273 (11) {
["term_id"]=>
int(35)
["name"]=>
string(21) "Afternoon tea recipes"
["slug"]=>
string(21) "afternoon-tea-recipes"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(35)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(148) "Throw your own afternoon tea party with our selection of teatime treats, from delicate scones, cakes and patisserie to savoury pies and scotch eggs."
["parent"]=>
int(0)
["count"]=>
int(108)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[3]=>
object(WP_Term)#16274 (11) {
["term_id"]=>
int(372)
["name"]=>
string(13) "Birthday cake"
["slug"]=>
string(13) "birthday-cake"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(372)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(59) "Celebrate a birthday by baking one of our stunning cakes..."
["parent"]=>
int(0)
["count"]=>
int(47)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[4]=>
object(WP_Term)#16281 (11) {
["term_id"]=>
int(378)
["name"]=>
string(24) "Celebration cake recipes"
["slug"]=>
string(24) "celebration-cake-recipes"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(378)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(153) "Enjoy one of our exquisite celebration cakes. These cakes make an ideal centrepiece, from sophisticated wedding showstoppers to colourful birthday cakes."
["parent"]=>
int(0)
["count"]=>
int(71)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[5]=>
object(WP_Term)#16276 (11) {
["term_id"]=>
int(96)
["name"]=>
string(27) "Celebration cakes and bakes"
["slug"]=>
string(17) "celebration-cakes"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(96)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(152) "The festive season is still in full swing! If you’re just starting to think about your New Year’s Eve menu, add a show-stopping dessert to the list."
["parent"]=>
int(0)
["count"]=>
int(67)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[6]=>
object(WP_Term)#16278 (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"
}
[7]=>
object(WP_Term)#16280 (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"
}
[8]=>
object(WP_Term)#16275 (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"
}
[9]=>
object(WP_Term)#16284 (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"
}
[10]=>
object(WP_Term)#16277 (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"
}
[11]=>
object(WP_Term)#16279 (11) {
["term_id"]=>
int(285)
["name"]=>
string(26) "Christmas cupcakes recipes"
["slug"]=>
string(17) "christmas-cupcake"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(285)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(42) "Young and old will love our cute cupcakes."
["parent"]=>
int(0)
["count"]=>
int(20)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[12]=>
object(WP_Term)#16199 (11) {
["term_id"]=>
int(385)
["name"]=>
string(7) "Cupcake"
["slug"]=>
string(7) "cupcake"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(385)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(44) "Go cupcake crazy with our favourite recipes."
["parent"]=>
int(0)
["count"]=>
int(33)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[13]=>
object(WP_Term)#16234 (11) {
["term_id"]=>
int(241)
["name"]=>
string(20) "Festive cake recipes"
["slug"]=>
string(12) "festive-cake"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(241)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(25) "Festive and fruity cakes."
["parent"]=>
int(0)
["count"]=>
int(60)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[14]=>
object(WP_Term)#16299 (11) {
["term_id"]=>
int(242)
["name"]=>
string(23) "Festive dessert recipes"
["slug"]=>
string(15) "festive-dessert"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(242)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(160) "Try our selection of traditional and alternative sweet treats for the festive season. We've got Christmas pudding, mince pies, trifle, cheesecake and more."
["parent"]=>
int(0)
["count"]=>
int(105)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[15]=>
object(WP_Term)#16260 (11) {
["term_id"]=>
int(176)
["name"]=>
string(11) "Kids' cakes"
["slug"]=>
string(9) "kids-cake"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(176)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(44)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[16]=>
object(WP_Term)#15995 (11) {
["term_id"]=>
int(399)
["name"]=>
string(11) "Quick cakes"
["slug"]=>
string(10) "quick-cake"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(399)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(31) "Simple and speedy bakes to try."
["parent"]=>
int(0)
["count"]=>
int(26)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[17]=>
object(WP_Term)#16269 (11) {
["term_id"]=>
int(402)
["name"]=>
string(11) "Summer cake"
["slug"]=>
string(11) "summer-cake"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(402)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(55)
["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, 11033537237896406380381357288285385241242176399402 ) OR rd.ingredients LIKE '%Baking%' OR rd.ingredients LIKE '% Chocolate%' OR rd.ingredients LIKE '% Chocolate icing%' OR rd.ingredients LIKE '% Chocolate sponge%' OR rd.ingredients LIKE '% Fairy cakes%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 23354 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16