POST-ID:23356
array(11) {
[0]=>
object(WP_Term)#15802 (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)#15800 (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)#15804 (11) {
["term_id"]=>
int(98)
["name"]=>
string(15) "Camping recipes"
["slug"]=>
string(7) "camping"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(98)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(26)
["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(248)
["name"]=>
string(26) "Christmas for kids recipes"
["slug"]=>
string(14) "christmas-kids"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(248)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(110) "Have some festive fun with the kids, with this selection of recipes that can be made by the smallest of hands."
["parent"]=>
int(0)
["count"]=>
int(79)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[5]=>
object(WP_Term)#15727 (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"
}
[6]=>
object(WP_Term)#15728 (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(47)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[7]=>
object(WP_Term)#15824 (11) {
["term_id"]=>
int(366)
["name"]=>
string(6) "Easter"
["slug"]=>
string(6) "easter"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(366)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(49) "Roasts and special meals for Easter entertaining."
["parent"]=>
int(0)
["count"]=>
int(66)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[8]=>
object(WP_Term)#15832 (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"
}
[9]=>
object(WP_Term)#15717 (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"
}
[10]=>
object(WP_Term)#15803 (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"
}
}
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, 11039840624815347366409410426 ) OR rd.ingredients LIKE '%Calcium%' OR rd.ingredients LIKE '% Cream%' OR rd.ingredients LIKE '% Hot chocolate%' OR rd.ingredients LIKE '% White chocolate%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 23356 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16