POST-ID:2073
array(6) {
[0]=>
object(WP_Term)#16073 (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"
}
[1]=>
object(WP_Term)#16087 (11) {
["term_id"]=>
int(41)
["name"]=>
string(8) "Egg-free"
["slug"]=>
string(8) "egg-free"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(41)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(32)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[2]=>
object(WP_Term)#16184 (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(160)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[3]=>
object(WP_Term)#16145 (11) {
["term_id"]=>
int(200)
["name"]=>
string(12) "Healthy fish"
["slug"]=>
string(12) "healthy-fish"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(200)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(109) "From lighter pies to makeover fish & chips, nothing's off the menu with our healthier fish dishes..."
["parent"]=>
int(0)
["count"]=>
int(52)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[4]=>
object(WP_Term)#16082 (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)#16162 (11) {
["term_id"]=>
int(228)
["name"]=>
string(5) "Paleo"
["slug"]=>
string(5) "paleo"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(228)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(77) "These Paleo-friendly recipes will work for many versions of the caveman diet."
["parent"]=>
int(0)
["count"]=>
int(3)
["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 ( 410, 41197200221228 )) AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 2073 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16