POST-ID:27373
array(13) {
[0]=>
object(WP_Term)#15808 (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)#15806 (11) {
["term_id"]=>
int(76)
["name"]=>
string(15) "Alfresco dining"
["slug"]=>
string(12) "dine-alfesco"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(76)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(31)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[2]=>
object(WP_Term)#15807 (11) {
["term_id"]=>
int(118)
["name"]=>
string(16) "All-time classic"
["slug"]=>
string(16) "all-time-classic"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(118)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(72) "Our selection of cheesecake recipes that will surely sate your appetite."
["parent"]=>
int(0)
["count"]=>
int(77)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[3]=>
object(WP_Term)#15805 (11) {
["term_id"]=>
int(406)
["name"]=>
string(9) "Chocolate"
["slug"]=>
string(9) "chocolate"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(406)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(270)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[4]=>
object(WP_Term)#15809 (11) {
["term_id"]=>
int(288)
["name"]=>
string(27) "Christmas chocolate recipes"
["slug"]=>
string(19) "christmas-chocolate"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(288)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(62) "Treat yourself to something sweet – it's Christmas!"
["parent"]=>
int(0)
["count"]=>
int(73)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[5]=>
object(WP_Term)#15810 (11) {
["term_id"]=>
int(409)
["name"]=>
string(4) "Easy"
["slug"]=>
string(4) "easy"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(409)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(55) "Keep it easy with these simple but super-tasty recipes."
["parent"]=>
int(0)
["count"]=>
int(484)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[6]=>
object(WP_Term)#15814 (11) {
["term_id"]=>
int(410)
["name"]=>
string(19) "Easy but impressive"
["slug"]=>
string(15) "easy-impressive"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(410)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(30) "Less stress, more seduction..."
["parent"]=>
int(0)
["count"]=>
int(298)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[7]=>
object(WP_Term)#15754 (11) {
["term_id"]=>
int(240)
["name"]=>
string(22) "Easy Christmas recipes"
["slug"]=>
string(14) "easy-christmas"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(240)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(169) "Take the stress out of Christmas prep with these simple yet scrumptious recipes. We've got all the essentials covered, from easy roast turkey to no-fuss mince pies."
["parent"]=>
int(0)
["count"]=>
int(129)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[8]=>
object(WP_Term)#15753 (11) {
["term_id"]=>
int(32)
["name"]=>
string(17) "Easy entertaining"
["slug"]=>
string(17) "easy-entertaining"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(32)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(245)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[9]=>
object(WP_Term)#15829 (11) {
["term_id"]=>
int(426)
["name"]=>
string(22) "Festive drinks recipes"
["slug"]=>
string(14) "festive-drinks"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(426)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(46) "Cocktails to celebrate Christmas and New Year."
["parent"]=>
int(0)
["count"]=>
int(50)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[10]=>
object(WP_Term)#15837 (11) {
["term_id"]=>
int(211)
["name"]=>
string(14) "Healthy winter"
["slug"]=>
string(14) "healthy-winter"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(211)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(54) "Healthy and hearty winter warmers for colder nights..."
["parent"]=>
int(0)
["count"]=>
int(70)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[11]=>
object(WP_Term)#15764 (11) {
["term_id"]=>
int(304)
["name"]=>
string(7) "Mexican"
["slug"]=>
string(7) "mexican"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(304)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(57) "Typical Mexican food from quesadillas to salsa and beans."
["parent"]=>
int(0)
["count"]=>
int(66)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[12]=>
object(WP_Term)#15804 (11) {
["term_id"]=>
int(30)
["name"]=>
string(17) "Quick and healthy"
["slug"]=>
string(17) "quick-and-healthy"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(30)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(98)
["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, 761184062884094102403242621130430 ) OR rd.ingredients LIKE '%Chilli%' OR rd.ingredients LIKE '% Cinnamon%' OR rd.ingredients LIKE '% Hot chocolate%' OR rd.ingredients LIKE '% hot drinks%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 27373 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16