POST-ID:28026
array(11) {
[0]=>
object(WP_Term)#16484 (11) {
["term_id"]=>
int(47)
["name"]=>
string(5) "Dairy"
["slug"]=>
string(5) "dairy"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(47)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(48)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[1]=>
object(WP_Term)#16482 (11) {
["term_id"]=>
int(58)
["name"]=>
string(31) "Delicious desserts for hot days"
["slug"]=>
string(11) "hot-weather"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(58)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(51)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[2]=>
object(WP_Term)#16486 (11) {
["term_id"]=>
int(14071)
["name"]=>
string(14) "Diwali recipes"
["slug"]=>
string(14) "diwali-recipes"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(14071)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(82) "Discover delicious Diwali treats, from kheer and gulab jamun to cardamom biscuits."
["parent"]=>
int(0)
["count"]=>
int(19)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[3]=>
object(WP_Term)#16487 (11) {
["term_id"]=>
int(75)
["name"]=>
string(9) "Eid feast"
["slug"]=>
string(11) "eid-cooking"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(75)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(84) "Traditional Arabic delicacies to enjoy cooking and serving up over the long weekend!"
["parent"]=>
int(0)
["count"]=>
int(126)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[4]=>
object(WP_Term)#16491 (11) {
["term_id"]=>
int(242)
["name"]=>
string(23) "Festive dessert recipes"
["slug"]=>
string(15) "festive-dessert"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(242)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(160) "Try our selection of traditional and alternative sweet treats for the festive season. We've got Christmas pudding, mince pies, trifle, cheesecake and more."
["parent"]=>
int(0)
["count"]=>
int(107)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[5]=>
object(WP_Term)#16420 (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(139)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[6]=>
object(WP_Term)#16385 (11) {
["term_id"]=>
int(414)
["name"]=>
string(14) "Middle Eastern"
["slug"]=>
string(14) "middle-eastern"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(414)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(71)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[7]=>
object(WP_Term)#16502 (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(160)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[8]=>
object(WP_Term)#16467 (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"
}
[9]=>
object(WP_Term)#16230 (11) {
["term_id"]=>
int(51)
["name"]=>
string(14) "Summer dessert"
["slug"]=>
string(14) "summer-dessert"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(51)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(24) "Recipes to beat the heat"
["parent"]=>
int(0)
["count"]=>
int(99)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[10]=>
object(WP_Term)#16485 (11) {
["term_id"]=>
int(218)
["name"]=>
string(18) "Vegetarian dessert"
["slug"]=>
string(18) "vegetarian-dessert"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(218)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(57) "Decadent desserts such as Pavlova and Chocolate marquise."
["parent"]=>
int(0)
["count"]=>
int(34)
["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 ( 47, 581407175242300414125311253451218 ) OR rd.ingredients LIKE '%Cardamom%' OR rd.ingredients LIKE '% Diwali foods%' OR rd.ingredients LIKE '% Indian dessert%' OR rd.ingredients LIKE '% jaggery%' OR rd.ingredients LIKE '% Raisins%' OR rd.ingredients LIKE '% Vermicelli%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 28026 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16