POST-ID:1082
array(7) {
[0]=>
object(WP_Term)#15916 (11) {
["term_id"]=>
int(295)
["name"]=>
string(7) "British"
["slug"]=>
string(15) "british-recipes"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(295)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(147) "Dig into the best of British cuisine by enjoying classics including roasts, stews and fish and chips – or dabble in delicious desserts"
["parent"]=>
int(0)
["count"]=>
int(42)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[1]=>
object(WP_Term)#15824 (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)#16702 (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"
}
[3]=>
object(WP_Term)#15935 (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"
}
[4]=>
object(WP_Term)#15897 (11) {
["term_id"]=>
int(361)
["name"]=>
string(8) "Romantic"
["slug"]=>
string(8) "romantic"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(361)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(49) "Food of love - romantic recipes for you to share."
["parent"]=>
int(0)
["count"]=>
int(31)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[5]=>
object(WP_Term)#15833 (11) {
["term_id"]=>
int(401)
["name"]=>
string(5) "Scone"
["slug"]=>
string(5) "scone"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(401)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(67) "Best served warm and buttered- try out new sweet and savoury ideas."
["parent"]=>
int(0)
["count"]=>
int(29)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[6]=>
object(WP_Term)#15922 (11) {
["term_id"]=>
int(3)
["name"]=>
string(6) "Scones"
["slug"]=>
string(6) "scones"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(3)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(74) "Scones
Best served warm and buttered- try out new sweet and savoury ideas."
["parent"]=>
int(0)
["count"]=>
int(20)
["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 ( 295, 153233703614013 )) AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 1082 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16