POST-ID:22175
array(9) {
[0]=>
object(WP_Term)#16175 (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)#16168 (11) {
["term_id"]=>
int(374)
["name"]=>
string(5) "Bread"
["slug"]=>
string(13) "bread-recipes"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(374)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(165) "Fill the house with the aroma of freshly baked bread. From an easy white loaf to sourdough, focaccia and brioche, we have a range of sweet and savoury bread recipes."
["parent"]=>
int(0)
["count"]=>
int(75)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[2]=>
object(WP_Term)#16170 (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"
}
[3]=>
object(WP_Term)#16071 (11) {
["term_id"]=>
int(11)
["name"]=>
string(9) "Meat free"
["slug"]=>
string(5) "vegan"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(11)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(54) "Mouthwatering dishes made without any animal products."
["parent"]=>
int(0)
["count"]=>
int(55)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[4]=>
object(WP_Term)#16955 (11) {
["term_id"]=>
int(327)
["name"]=>
string(10) "Pasta bake"
["slug"]=>
string(10) "pasta-bake"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(327)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(39) "Serve up a hearty bake to feed a crowd."
["parent"]=>
int(0)
["count"]=>
int(54)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[5]=>
object(WP_Term)#16190 (11) {
["term_id"]=>
int(30)
["name"]=>
string(17) "Quick and healthy"
["slug"]=>
string(17) "quick-and-healthy"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(30)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(98)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[6]=>
object(WP_Term)#16151 (11) {
["term_id"]=>
int(340)
["name"]=>
string(4) "Tart"
["slug"]=>
string(4) "tart"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(340)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(59) "A crisp golden base is the foundation for many a good meal."
["parent"]=>
int(0)
["count"]=>
int(50)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[7]=>
object(WP_Term)#16088 (11) {
["term_id"]=>
int(412)
["name"]=>
string(16) "under-20-minutes"
["slug"]=>
string(16) "under-20-minutes"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(412)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(41) "Speedy recipes perfect for midweek meals."
["parent"]=>
int(0)
["count"]=>
int(34)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[8]=>
object(WP_Term)#16171 (11) {
["term_id"]=>
int(413)
["name"]=>
string(10) "Vegetarian"
["slug"]=>
string(10) "vegetarian"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(413)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(43) "Meat-free recipes for entertaining and more"
["parent"]=>
int(0)
["count"]=>
int(556)
["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, 3744091132730340412413 ) OR rd.ingredients LIKE '%Breadcrumbs%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 22175 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16