POST-ID:25321
array(14) {
[0]=>
object(WP_Term)#15826 (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)#15817 (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(0) ""
["parent"]=>
int(0)
["count"]=>
int(121)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[2]=>
object(WP_Term)#15815 (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(61) "Host a fabulous afternoon tea with family or friends"
["parent"]=>
int(0)
["count"]=>
int(105)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[3]=>
object(WP_Term)#15816 (11) {
["term_id"]=>
int(345)
["name"]=>
string(12) "Comfort food"
["slug"]=>
string(12) "comfort-food"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(345)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(34) "Warming recipes for winter nights."
["parent"]=>
int(0)
["count"]=>
int(87)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[4]=>
object(WP_Term)#15814 (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"
}
[5]=>
object(WP_Term)#15818 (11) {
["term_id"]=>
int(37)
["name"]=>
string(10) "Dairy free"
["slug"]=>
string(10) "dairy-free"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(37)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(52) "Easy recipes for when you’re cutting out dairy"
["parent"]=>
int(0)
["count"]=>
int(55)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[6]=>
object(WP_Term)#15819 (11) {
["term_id"]=>
int(79)
["name"]=>
string(17) "Dairy-free snacks"
["slug"]=>
string(16) "dairy-free-snack"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(79)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(32)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[7]=>
object(WP_Term)#15823 (11) {
["term_id"]=>
int(300)
["name"]=>
string(6) "Indian"
["slug"]=>
string(6) "indian"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(300)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(45) "Spicy Eastern recipes such as masala chicken."
["parent"]=>
int(0)
["count"]=>
int(137)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[8]=>
object(WP_Term)#15741 (11) {
["term_id"]=>
int(12531)
["name"]=>
string(7) "Ramadan"
["slug"]=>
string(7) "ramadan"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(12531)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(159)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[9]=>
object(WP_Term)#15742 (11) {
["term_id"]=>
int(12534)
["name"]=>
string(16) "Ramadan desserts"
["slug"]=>
string(16) "ramadan-desserts"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(12534)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(38) "Break your fast with these specialties"
["parent"]=>
int(0)
["count"]=>
int(34)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[10]=>
object(WP_Term)#15838 (11) {
["term_id"]=>
int(11589)
["name"]=>
string(5) "Vegan"
["slug"]=>
string(7) "vegan-2"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(11589)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(82)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[11]=>
object(WP_Term)#15846 (11) {
["term_id"]=>
int(259)
["name"]=>
string(23) "Vegan Christmas recipes"
["slug"]=>
string(15) "vegan-christmas"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(259)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(158) "Serve up a festive, plant-based feast with our vegan Christmas starters, mains, sides and desserts. Choose from nut roasts, Christmas puddings, pies and more."
["parent"]=>
int(0)
["count"]=>
int(82)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[12]=>
object(WP_Term)#15731 (11) {
["term_id"]=>
int(413)
["name"]=>
string(10) "Vegetarian"
["slug"]=>
string(10) "vegetarian"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(413)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(43) "Meat-free recipes for entertaining and more"
["parent"]=>
int(0)
["count"]=>
int(554)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[13]=>
object(WP_Term)#15812 (11) {
["term_id"]=>
int(260)
["name"]=>
string(28) "Vegetarian Christmas recipes"
["slug"]=>
string(20) "vegetarian-christmas"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(260)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(95) "Enticing meat-free recipes for the festive season, including main courses, starters and snacks."
["parent"]=>
int(0)
["count"]=>
int(93)
["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, 1103353451533779300125311253411589259413260 ) OR rd.ingredients LIKE '%date molasses%' OR rd.ingredients LIKE '% Handesh%' OR rd.ingredients LIKE '% Indian desserts%' OR rd.ingredients LIKE '% Vegan%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 25321 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16