POST-ID:3070
array(5) {
[0]=>
object(WP_Term)#15719 (11) {
["term_id"]=>
int(62)
["name"]=>
string(13) "Big baguettes"
["slug"]=>
string(13) "big-baguettes"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(62)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(66) "Pack your bread full of meaty cuts and crisp summer salads…"
["parent"]=>
int(0)
["count"]=>
int(5)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[1]=>
object(WP_Term)#15812 (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"
}
[2]=>
object(WP_Term)#15820 (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"
}
[3]=>
object(WP_Term)#15715 (11) {
["term_id"]=>
int(24)
["name"]=>
string(14) "Speedy suppers"
["slug"]=>
string(14) "speedy-suppers"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(24)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(34) "Easy suppers for the week"
["parent"]=>
int(0)
["count"]=>
int(106)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[4]=>
object(WP_Term)#15797 (11) {
["term_id"]=>
int(126)
["name"]=>
string(15) "That’s amore!"
["slug"]=>
string(12) "that-s-amore"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(126)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(51) "Put down the takeaway menu and make your own pizza."
["parent"]=>
int(0)
["count"]=>
int(14)
["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 ( 62, 15333024126 )) AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 3070 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16