POST-ID:2780
array(6) {
[0]=>
object(WP_Term)#16493 (11) {
["term_id"]=>
int(36)
["name"]=>
string(20) "Cholesterol-friendly"
["slug"]=>
string(20) "cholesterol-friendly"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(36)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(52) "Dishes to help promote a healthy cholesterol balance"
["parent"]=>
int(0)
["count"]=>
int(30)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[1]=>
object(WP_Term)#16380 (11) {
["term_id"]=>
int(9)
["name"]=>
string(19) "Cholestrol friendly"
["slug"]=>
string(19) "cholestrol-friendly"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(9)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(53) "Dishes to help promote a healthy cholesterol balance."
["parent"]=>
int(0)
["count"]=>
int(19)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[2]=>
object(WP_Term)#16486 (11) {
["term_id"]=>
int(191)
["name"]=>
string(19) "Eat like an athlete"
["slug"]=>
string(11) "eat-athlete"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(191)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(40) "What the sporting elite choose to eat..."
["parent"]=>
int(0)
["count"]=>
int(30)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[3]=>
object(WP_Term)#16457 (11) {
["term_id"]=>
int(78)
["name"]=>
string(22) "Low-cal and delicious!"
["slug"]=>
string(15) "200-400-clories"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(78)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(78) "Try these light, healthy dishes all counted to notch up to under 400 calories."
["parent"]=>
int(0)
["count"]=>
int(60)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[4]=>
object(WP_Term)#16390 (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"
}
[5]=>
object(WP_Term)#16476 (11) {
["term_id"]=>
int(338)
["name"]=>
string(6) "Tagine"
["slug"]=>
string(6) "tagine"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(338)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(23)
["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 ( 36, 91917830338 )) AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 2780 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16