POST-ID:2261
array(6) {
[0]=>
object(WP_Term)#15820 (11) {
["term_id"]=>
int(358)
["name"]=>
string(13) "Fabulous fish"
["slug"]=>
string(13) "fabulous-fish"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(358)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(65) "Tantalise your tastebuds with spicy seafood and flavoursome fish."
["parent"]=>
int(0)
["count"]=>
int(74)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[1]=>
object(WP_Term)#15716 (11) {
["term_id"]=>
int(44)
["name"]=>
string(4) "Fish"
["slug"]=>
string(4) "fish"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(44)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(111)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[2]=>
object(WP_Term)#15813 (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(129)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[3]=>
object(WP_Term)#16692 (11) {
["term_id"]=>
int(383)
["name"]=>
string(22) "Healthy steamed dishes"
["slug"]=>
string(22) "healthy-steamed-dishes"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(383)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(16)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[4]=>
object(WP_Term)#15821 (11) {
["term_id"]=>
int(213)
["name"]=>
string(12) "Light supper"
["slug"]=>
string(12) "light-supper"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(213)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(44) "Light on the stomach, light on the calories."
["parent"]=>
int(0)
["count"]=>
int(64)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[5]=>
object(WP_Term)#15794 (11) {
["term_id"]=>
int(307)
["name"]=>
string(4) "Thai"
["slug"]=>
string(4) "thai"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(307)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(46) "Sweet and sour Thai curries, noodles and rice."
["parent"]=>
int(0)
["count"]=>
int(47)
["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 ( 358, 44197383213307 )) AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 2261 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16