POST-ID:21503
array(10) {
[0]=>
object(WP_Term)#16775 (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(127)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[1]=>
object(WP_Term)#16784 (11) {
["term_id"]=>
int(347)
["name"]=>
string(9) "Freezable"
["slug"]=>
string(9) "freezable"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(347)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(40) "Get ahead with freezer-friendly recipes."
["parent"]=>
int(0)
["count"]=>
int(56)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[2]=>
object(WP_Term)#16779 (11) {
["term_id"]=>
int(121)
["name"]=>
string(21) "Heart-healthy recipes"
["slug"]=>
string(21) "heart-healthy-recipes"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(121)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(133) "We’ve created a collection of ultimate heart-friendly recipes. Discover which ingredients you should be packing into your diet."
["parent"]=>
int(0)
["count"]=>
int(52)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[3]=>
object(WP_Term)#16780 (11) {
["term_id"]=>
int(143)
["name"]=>
string(14) "Hearty lunches"
["slug"]=>
string(21) "healthy-lunch-recipes"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(143)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(51) "Keep your healthy eating regime on the right track."
["parent"]=>
int(0)
["count"]=>
int(88)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[4]=>
object(WP_Term)#16672 (11) {
["term_id"]=>
int(12532)
["name"]=>
string(5) "Iftar"
["slug"]=>
string(5) "iftar"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(12532)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(28) "A selection of Iftar recipes"
["parent"]=>
int(0)
["count"]=>
int(81)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[5]=>
object(WP_Term)#17609 (11) {
["term_id"]=>
int(14079)
["name"]=>
string(12) "Lamb recipes"
["slug"]=>
string(12) "lamb-recipes"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(14079)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(107) "From Easter centrepieces to midweek meals, explore lamb recipes such as roast leg, curry, chops, and kofta."
["parent"]=>
int(0)
["count"]=>
int(27)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[6]=>
object(WP_Term)#16793 (11) {
["term_id"]=>
int(135)
["name"]=>
string(18) "Make-ahead lunches"
["slug"]=>
string(18) "make-ahead-lunches"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(135)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(190) "If you’re guilty of last-minute lunch buys that leave your wallet flatter than a soggy pre-packed sandwich, make-ahead some tempting treats to take you through the day in style…"
["parent"]=>
int(0)
["count"]=>
int(22)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[7]=>
object(WP_Term)#16760 (11) {
["term_id"]=>
int(43)
["name"]=>
string(4) "Meat"
["slug"]=>
string(4) "meat"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(43)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(71)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[8]=>
object(WP_Term)#16689 (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"
}
[9]=>
object(WP_Term)#16782 (11) {
["term_id"]=>
int(42)
["name"]=>
string(15) "Ramadan cooking"
["slug"]=>
string(15) "ramadan-recipes"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(42)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(124)
["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 ( 75, 3471211431253214079135431253142 ) OR rd.ingredients LIKE '%Apricots%' OR rd.ingredients LIKE '% Chestnuts%' OR rd.ingredients LIKE '% Diana Henry%' OR rd.ingredients LIKE '% entertaining meals%' OR rd.ingredients LIKE '% Lamb%' OR rd.ingredients LIKE '% make ahead dinners%' OR rd.ingredients LIKE '% Stew%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 21503 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16