POST-ID:21109
array(13) {
[0]=>
object(WP_Term)#15807 (11) {
["term_id"]=>
int(375)
["name"]=>
string(15) "Brownie Recipes"
["slug"]=>
string(7) "brownie"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(375)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(51) "Plain or embellished, moist and chocolatey recipes."
["parent"]=>
int(0)
["count"]=>
int(26)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[1]=>
object(WP_Term)#15805 (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(160) "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"
}
[2]=>
object(WP_Term)#15806 (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"
}
[3]=>
object(WP_Term)#15804 (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)#15808 (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)#15809 (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(83)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[6]=>
object(WP_Term)#15813 (11) {
["term_id"]=>
int(291)
["name"]=>
string(22) "Christmas Cake recipes"
["slug"]=>
string(14) "christmas-cake"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(291)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(162) "Celebrate Christmas with a rich, moist fruitcake, or perhaps a modern sponge-based creation. We've got all the recipes you need and tips for decorating, too."
["parent"]=>
int(0)
["count"]=>
int(51)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[7]=>
object(WP_Term)#15730 (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"
}
[8]=>
object(WP_Term)#16597 (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"
}
[9]=>
object(WP_Term)#15828 (11) {
["term_id"]=>
int(146)
["name"]=>
string(14) "Cookie recipes"
["slug"]=>
string(14) "cookie-recipes"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(146)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(150) "Fill your cookie jar with a stack of freshly-baked beauties. Whether it's fun, themed cookies or healthy nibbles, we have something for everyone!"
["parent"]=>
int(0)
["count"]=>
int(19)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[10]=>
object(WP_Term)#15836 (11) {
["term_id"]=>
int(382)
["name"]=>
string(15) "Cookies recipes"
["slug"]=>
string(7) "cookies"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(382)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(42) "Sweet treats perfect for rainy afternoons."
["parent"]=>
int(0)
["count"]=>
int(49)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[11]=>
object(WP_Term)#15731 (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"
}
[12]=>
object(WP_Term)#15803 (11) {
["term_id"]=>
int(209)
["name"]=>
string(13) "Healthy treat"
["slug"]=>
string(13) "healthy-treat"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(209)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(35) "Lighter choices for naughty treats."
["parent"]=>
int(0)
["count"]=>
int(35)
["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 ( 375, 9640638038135729128828414638269209 ) OR rd.ingredients LIKE '%Baking%' OR rd.ingredients LIKE '% brookies%' OR rd.ingredients LIKE '% Brownies%' OR rd.ingredients LIKE '% Choc chip cookies%' OR rd.ingredients LIKE '% Christmas%' OR rd.ingredients LIKE '% Festive baking%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 21109 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16