POST-ID:19969
array(9) {
[0]=>
object(WP_Term)#15801 (11) {
["term_id"]=>
int(169)
["name"]=>
string(16) "200-400 calories"
["slug"]=>
string(16) "200-400-calories"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(169)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(35) "Our favourite low calorie dishes..."
["parent"]=>
int(0)
["count"]=>
int(292)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[1]=>
object(WP_Term)#15802 (11) {
["term_id"]=>
int(61)
["name"]=>
string(15) "60 minute bakes"
["slug"]=>
string(15) "60-minute-bakes"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(61)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(41) "These quick bakes are fuss-free yet fancy"
["parent"]=>
int(0)
["count"]=>
int(52)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[2]=>
object(WP_Term)#15806 (11) {
["term_id"]=>
int(153)
["name"]=>
string(20) "Cooking for the kids"
["slug"]=>
string(20) "cooking-for-the-kids"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(153)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(58) "Whip up these quick and simple recipes for the little ones"
["parent"]=>
int(0)
["count"]=>
int(53)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[3]=>
object(WP_Term)#15723 (11) {
["term_id"]=>
int(23)
["name"]=>
string(11) "Kids baking"
["slug"]=>
string(11) "kids-baking"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(23)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(60)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[4]=>
object(WP_Term)#16594 (11) {
["term_id"]=>
int(293)
["name"]=>
string(12) "Kids cooking"
["slug"]=>
string(12) "kids-cooking"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(293)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(55) "Get those budding Jamies and Nigellas into the kitchen."
["parent"]=>
int(0)
["count"]=>
int(74)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[5]=>
object(WP_Term)#15821 (11) {
["term_id"]=>
int(179)
["name"]=>
string(11) "Kids' party"
["slug"]=>
string(10) "kids-party"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(179)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(65)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[6]=>
object(WP_Term)#15829 (11) {
["term_id"]=>
int(330)
["name"]=>
string(5) "Pizza"
["slug"]=>
string(5) "pizza"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(330)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(45) "Put down the takeaway menu and make your own."
["parent"]=>
int(0)
["count"]=>
int(46)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[7]=>
object(WP_Term)#15724 (11) {
["term_id"]=>
int(178)
["name"]=>
string(6) "Snacks"
["slug"]=>
string(6) "snacks"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(178)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(68)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[8]=>
object(WP_Term)#15799 (11) {
["term_id"]=>
int(26)
["name"]=>
string(15) "Vegetarian kids"
["slug"]=>
string(15) "vegetarian-kids"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(26)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(78)
["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 ( 169, 611532329317933017826 )) AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 19969 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16