POST-ID:979
array(8) {
[0]=>
object(WP_Term)#16480 (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"
}
[1]=>
object(WP_Term)#16484 (11) {
["term_id"]=>
int(63)
["name"]=>
string(23) "All-time top 20 recipes"
["slug"]=>
string(23) "all-time-top-20-recipes"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(63)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(24)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[2]=>
object(WP_Term)#16384 (11) {
["term_id"]=>
int(2)
["name"]=>
string(12) "Classic cake"
["slug"]=>
string(12) "classic-cake"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(2)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(82) "Old favourites and traditional bakes- take your pick from our timeless collection."
["parent"]=>
int(0)
["count"]=>
int(78)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[3]=>
object(WP_Term)#17259 (11) {
["term_id"]=>
int(389)
["name"]=>
string(11) "Fruity cake"
["slug"]=>
string(11) "fruity-cake"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(389)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(36) "Cakes bursting with fruity flavours."
["parent"]=>
int(0)
["count"]=>
int(51)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[4]=>
object(WP_Term)#16495 (11) {
["term_id"]=>
int(399)
["name"]=>
string(11) "Quick cakes"
["slug"]=>
string(10) "quick-cake"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(399)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(31) "Simple and speedy bakes to try."
["parent"]=>
int(0)
["count"]=>
int(26)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[5]=>
object(WP_Term)#16460 (11) {
["term_id"]=>
int(400)
["name"]=>
string(10) "Retro cake"
["slug"]=>
string(10) "retro-cake"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(400)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(33) "Freshly baked traditional treats."
["parent"]=>
int(0)
["count"]=>
int(37)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[6]=>
object(WP_Term)#16393 (11) {
["term_id"]=>
int(29)
["name"]=>
string(19) "Royal wedding party"
["slug"]=>
string(19) "royal-wedding-party"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(29)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(20)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[7]=>
object(WP_Term)#16475 (11) {
["term_id"]=>
int(402)
["name"]=>
string(11) "Summer cake"
["slug"]=>
string(11) "summer-cake"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(402)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(56)
["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 ( 61, 63238939940029402 )) AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 979 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16