POST-ID:6964
array(5) {
[0]=>
object(WP_Term)#19653 (11) {
["term_id"]=>
int(1103)
["name"]=>
string(13) "Afternoon Tea"
["slug"]=>
string(13) "afternoon-tea"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(1103)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(148) "Throw your own afternoon tea party with our selection of teatime treats, from delicate scones, cakes and patisserie to savoury pies and scotch eggs."
["parent"]=>
int(0)
["count"]=>
int(138)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[1]=>
object(WP_Term)#19650 (11) {
["term_id"]=>
int(14142)
["name"]=>
string(22) "Afternoon tea for kids"
["slug"]=>
string(22) "afternoon-tea-for-kids"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(14142)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(128) "Discover easy afternoon tea ideas for kids, featuring simple sandwiches, scones, cakes and fun homemade treats to enjoy at home."
["parent"]=>
int(0)
["count"]=>
int(12)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[2]=>
object(WP_Term)#19618 (11) {
["term_id"]=>
int(35)
["name"]=>
string(21) "Afternoon tea recipes"
["slug"]=>
string(21) "afternoon-tea-recipes"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(35)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(148) "Throw your own afternoon tea party with our selection of teatime treats, from delicate scones, cakes and patisserie to savoury pies and scotch eggs."
["parent"]=>
int(0)
["count"]=>
int(114)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[3]=>
object(WP_Term)#19518 (11) {
["term_id"]=>
int(407)
["name"]=>
string(25) "Club sandwiches in Dishes"
["slug"]=>
string(15) "club-sandwiches"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(407)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(28)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[4]=>
object(WP_Term)#20881 (11) {
["term_id"]=>
int(370)
["name"]=>
string(12) "Mother's Day"
["slug"]=>
string(11) "mothers-day"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(370)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(26) "Recipes to treat your mum."
["parent"]=>
int(0)
["count"]=>
int(54)
["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 ( 1103, 1414235407370 )) AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 6964 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16