POST-ID:182
array(8) {
[0]=>
object(WP_Term)#16479 (11) {
["term_id"]=>
int(296)
["name"]=>
string(17) "Caribbean recipes"
["slug"]=>
string(17) "caribbean-recipes"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(296)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(102) "Explore a variety of Caribbean recipes that bring the vibrant flavours of the islands to your kitchen."
["parent"]=>
int(0)
["count"]=>
int(24)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[1]=>
object(WP_Term)#16483 (11) {
["term_id"]=>
int(197)
["name"]=>
string(7) "Healthy"
["slug"]=>
string(7) "healthy"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(197)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(52) "Packed with the good stuff to get you feeling great."
["parent"]=>
int(0)
["count"]=>
int(161)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[2]=>
object(WP_Term)#16497 (11) {
["term_id"]=>
int(14055)
["name"]=>
string(13) "Healthy vegan"
["slug"]=>
string(13) "healthy-vegan"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(14055)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(151) "Nutritious, plant-based vegan recipes that are packed with goodness - from breakfasts and snacks to dinner dishes such as curries, soups and stir-fries"
["parent"]=>
int(0)
["count"]=>
int(23)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[3]=>
object(WP_Term)#16376 (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)#16490 (11) {
["term_id"]=>
int(221)
["name"]=>
string(13) "Low-GI dinner"
["slug"]=>
string(13) "low-gi-dinner"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(221)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(53) "Serve up a balanced meal that's easy on the tum."
["parent"]=>
int(0)
["count"]=>
int(24)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[5]=>
object(WP_Term)#16459 (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(558)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[6]=>
object(WP_Term)#16394 (11) {
["term_id"]=>
int(82)
["name"]=>
string(16) "Vegetarian curry"
["slug"]=>
string(16) "vegetarian-curry"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(82)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(21) "From dhal to dopiaza."
["parent"]=>
int(0)
["count"]=>
int(34)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[7]=>
object(WP_Term)#16474 (11) {
["term_id"]=>
int(125)
["name"]=>
string(14) "Veggie curries"
["slug"]=>
string(14) "veggie-curries"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(125)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(117) "Indian cuisine is delicious and vegetarian-friendly, so ditch the pack of chicken and try one of our authentic ideas."
["parent"]=>
int(0)
["count"]=>
int(15)
["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 ( 296, 197140557822141382125 )) AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 182 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16