POST-ID:24240
array(15) {
[0]=>
object(WP_Term)#16490 (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"
}
[1]=>
object(WP_Term)#16503 (11) {
["term_id"]=>
int(58)
["name"]=>
string(31) "Delicious desserts for hot days"
["slug"]=>
string(11) "hot-weather"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(58)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(51)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[2]=>
object(WP_Term)#16494 (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(535)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[3]=>
object(WP_Term)#16492 (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"
}
[4]=>
object(WP_Term)#16493 (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(307)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[5]=>
object(WP_Term)#16491 (11) {
["term_id"]=>
int(32)
["name"]=>
string(17) "Easy entertaining"
["slug"]=>
string(17) "easy-entertaining"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(32)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(245)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[6]=>
object(WP_Term)#16495 (11) {
["term_id"]=>
int(411)
["name"]=>
string(12) "Easy pudding"
["slug"]=>
string(12) "easy-pudding"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(411)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(158) "Whip up one of our comforting desserts with minimum fuss for a dinner party or family meal. Choose from super simple sponge puddings, brownies, tarts and more"
["parent"]=>
int(0)
["count"]=>
int(54)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[7]=>
object(WP_Term)#16496 (11) {
["term_id"]=>
int(49)
["name"]=>
string(11) "Easy summer"
["slug"]=>
string(11) "easy-summer"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(49)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(39) "Discover the best summer meals"
["parent"]=>
int(0)
["count"]=>
int(184)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[8]=>
object(WP_Term)#16500 (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"
}
[9]=>
object(WP_Term)#16411 (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(107)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[10]=>
object(WP_Term)#16446 (11) {
["term_id"]=>
int(45)
["name"]=>
string(5) "Fruit"
["slug"]=>
string(5) "fruit"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(45)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(65)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[11]=>
object(WP_Term)#16511 (11) {
["term_id"]=>
int(12532)
["name"]=>
string(5) "Iftar"
["slug"]=>
string(5) "iftar"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(12532)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(28) "A selection of Iftar recipes"
["parent"]=>
int(0)
["count"]=>
int(80)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[12]=>
object(WP_Term)#16476 (11) {
["term_id"]=>
int(12531)
["name"]=>
string(7) "Ramadan"
["slug"]=>
string(7) "ramadan"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(12531)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(160)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[13]=>
object(WP_Term)#16220 (11) {
["term_id"]=>
int(42)
["name"]=>
string(15) "Ramadan cooking"
["slug"]=>
string(15) "ramadan-recipes"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(42)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(118)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[14]=>
object(WP_Term)#16488 (11) {
["term_id"]=>
int(12534)
["name"]=>
string(16) "Ramadan desserts"
["slug"]=>
string(16) "ramadan-desserts"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(12534)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(38) "Break your fast with these specialties"
["parent"]=>
int(0)
["count"]=>
int(34)
["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 ( 284, 584093864103241149692424512532125314212534 ) OR rd.ingredients LIKE '%Apple pie%' OR rd.ingredients LIKE '% apple turnover%' OR rd.ingredients LIKE '% Apples%' OR rd.ingredients LIKE '% Easy dessert%' OR rd.ingredients LIKE '% Puff pastry%' OR rd.ingredients LIKE '% Tom Kerridge%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 24240 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16