POST-ID:27374
array(11) {
[0]=>
object(WP_Term)#15803 (11) {
["term_id"]=>
int(158)
["name"]=>
string(15) "20-minute meals"
["slug"]=>
string(15) "20-minute-meals"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(158)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(90) "Super-quick and easy to make, these meals are great for preparing after a long day at work"
["parent"]=>
int(0)
["count"]=>
int(159)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[1]=>
object(WP_Term)#15801 (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"
}
[2]=>
object(WP_Term)#15805 (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"
}
[3]=>
object(WP_Term)#15806 (11) {
["term_id"]=>
int(13304)
["name"]=>
string(6) "Coffee"
["slug"]=>
string(6) "coffee"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(13304)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(76)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[4]=>
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"
}
[5]=>
object(WP_Term)#15750 (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"
}
[6]=>
object(WP_Term)#15749 (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"
}
[7]=>
object(WP_Term)#15825 (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"
}
[8]=>
object(WP_Term)#15833 (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"
}
[9]=>
object(WP_Term)#15760 (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"
}
[10]=>
object(WP_Term)#15804 (11) {
["term_id"]=>
int(53)
["name"]=>
string(21) "Top 20 Autumn recipes"
["slug"]=>
string(21) "top-20-autumn-recipes"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(53)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(39)
["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 ( 158, 406288133044094102403242621153 ) OR rd.ingredients LIKE '%Bicerin%' OR rd.ingredients LIKE '% Hot chocolate%' OR rd.ingredients LIKE '% hot drinks%' OR rd.ingredients LIKE '% Italian hot chocolate%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 27374 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16