POST-ID:26860
array(14) {
[0]=>
object(WP_Term)#15930 (11) {
["term_id"]=>
int(133)
["name"]=>
string(11) "A cut above"
["slug"]=>
string(11) "a-cut-above"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(133)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(145) "Take some care and attention when cooking with meat- whether slow-roasting a joint or flash frying a steak. Check out our favourite meat recipes."
["parent"]=>
int(0)
["count"]=>
int(78)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[1]=>
object(WP_Term)#15933 (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)#15929 (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)#15940 (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(177)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[4]=>
object(WP_Term)#15928 (11) {
["term_id"]=>
int(351)
["name"]=>
string(12) "Bank Holiday"
["slug"]=>
string(12) "bank-holiday"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(351)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(155) "Put on a Bank Holiday weekend spread with recipes for seasonal quiches, vibrant salads, lazy barbecues, easy roasts and sweet treats."
["parent"]=>
int(0)
["count"]=>
int(40)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[5]=>
object(WP_Term)#15937 (11) {
["term_id"]=>
int(295)
["name"]=>
string(7) "British"
["slug"]=>
string(15) "british-recipes"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(295)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(147) "Dig into the best of British cuisine by enjoying classics including roasts, stews and fish and chips – or dabble in delicious desserts"
["parent"]=>
int(0)
["count"]=>
int(42)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[6]=>
object(WP_Term)#15932 (11) {
["term_id"]=>
int(376)
["name"]=>
string(9) "Cake sale"
["slug"]=>
string(9) "cake-sale"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(376)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(88) "Tempting treats to get the donations rolling in for summer fêtes and charity bake sales"
["parent"]=>
int(0)
["count"]=>
int(52)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[7]=>
object(WP_Term)#15931 (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"
}
[8]=>
object(WP_Term)#15868 (11) {
["term_id"]=>
int(895)
["name"]=>
string(12) "Dinner party"
["slug"]=>
string(12) "dinner-party"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(895)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(211)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[9]=>
object(WP_Term)#15833 (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(531)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[10]=>
object(WP_Term)#15950 (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"
}
[11]=>
object(WP_Term)#15912 (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(304)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[12]=>
object(WP_Term)#15667 (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"
}
[13]=>
object(WP_Term)#15926 (11) {
["term_id"]=>
int(896)
["name"]=>
string(7) "Weekend"
["slug"]=>
string(7) "weekend"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(896)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(99)
["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 ( 133, 1103353713512953769689540938641032896 ) OR rd.ingredients LIKE '%Almonds%' OR rd.ingredients LIKE '% Apple cake%' OR rd.ingredients LIKE '% Apples%' OR rd.ingredients LIKE '% CAKE%' OR rd.ingredients LIKE '% vegan baking%' OR rd.ingredients LIKE '% Vegan cake%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 26860 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16