POST-ID:29478
array(9) {
[0]=>
object(WP_Term)#15801 (11) {
["term_id"]=>
int(379)
["name"]=>
string(10) "Cheesecake"
["slug"]=>
string(10) "cheesecake"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(379)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(80) "With a creamy top and buttery biscuit base, who can resist this classic dessert?"
["parent"]=>
int(0)
["count"]=>
int(55)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[1]=>
object(WP_Term)#15802 (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"
}
[2]=>
object(WP_Term)#15806 (11) {
["term_id"]=>
int(366)
["name"]=>
string(6) "Easter"
["slug"]=>
string(6) "easter"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(366)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(49) "Roasts and special meals for Easter entertaining."
["parent"]=>
int(0)
["count"]=>
int(66)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[3]=>
object(WP_Term)#15746 (11) {
["term_id"]=>
int(294)
["name"]=>
string(15) "Easter for kids"
["slug"]=>
string(11) "easter-kids"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(294)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(35) "Fun Easter projects for the family."
["parent"]=>
int(0)
["count"]=>
int(34)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[4]=>
object(WP_Term)#15745 (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(484)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[5]=>
object(WP_Term)#15821 (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(298)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[6]=>
object(WP_Term)#15829 (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"
}
[7]=>
object(WP_Term)#15756 (11) {
["term_id"]=>
int(179)
["name"]=>
string(11) "Kids' party"
["slug"]=>
string(10) "kids-party"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(179)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(65)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[8]=>
object(WP_Term)#15799 (11) {
["term_id"]=>
int(33)
["name"]=>
string(5) "Party"
["slug"]=>
string(10) "party-food"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(33)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(111)
["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 ( 379, 35736629440941024217933 ) OR rd.ingredients LIKE '%Cheesecake%' OR rd.ingredients LIKE '% Chocolate%' OR rd.ingredients LIKE '% Digestive biscuits%' OR rd.ingredients LIKE '% easter chocolate%' OR rd.ingredients LIKE '% easter eggs%' OR rd.ingredients LIKE '% Soft cheese%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 29478 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16