POST-ID:31176
array(13) {
[0]=>
object(WP_Term)#16747 (11) {
["term_id"]=>
int(315)
["name"]=>
string(5) "Curry"
["slug"]=>
string(5) "curry"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(315)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(85) "Rustle up a spicy supper using fish, vegetables or meat and a blend of rich flavours."
["parent"]=>
int(0)
["count"]=>
int(78)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[1]=>
object(WP_Term)#16753 (11) {
["term_id"]=>
int(157)
["name"]=>
string(15) "Curry creations"
["slug"]=>
string(15) "curry-creations"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(157)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(131) "Whether you're entertaining guests or simply looking to indulge in some flavoursome food, these curries will have you covered!"
["parent"]=>
int(0)
["count"]=>
int(53)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[2]=>
object(WP_Term)#16749 (11) {
["term_id"]=>
int(895)
["name"]=>
string(12) "Dinner party"
["slug"]=>
string(12) "dinner-party"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(895)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(216)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[3]=>
object(WP_Term)#16746 (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"
}
[4]=>
object(WP_Term)#16755 (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"
}
[5]=>
object(WP_Term)#16750 (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(77)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[6]=>
object(WP_Term)#16751 (11) {
["term_id"]=>
int(305)
["name"]=>
string(8) "Moroccan"
["slug"]=>
string(8) "moroccan"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(305)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(69) "Exotic North African dishes that are big on flavour, aroma and spice."
["parent"]=>
int(0)
["count"]=>
int(41)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[7]=>
object(WP_Term)#16680 (11) {
["term_id"]=>
int(405)
["name"]=>
string(20) "Moroccan in Cuisines"
["slug"]=>
string(20) "moroccan-in-cuisines"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(405)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(61)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[8]=>
object(WP_Term)#16645 (11) {
["term_id"]=>
int(33)
["name"]=>
string(5) "Party"
["slug"]=>
string(10) "party-food"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(33)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(120)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[9]=>
object(WP_Term)#16764 (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"
}
[10]=>
object(WP_Term)#16731 (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"
}
[11]=>
object(WP_Term)#16482 (11) {
["term_id"]=>
int(144)
["name"]=>
string(26) "Sharing-style dinner party"
["slug"]=>
string(26) "sharing-style-dinner-party"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(144)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(105) "Spend less time at the stove-top and more time entertaining, with these easy-to-make dinner party dishes."
["parent"]=>
int(0)
["count"]=>
int(138)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[12]=>
object(WP_Term)#16745 (11) {
["term_id"]=>
int(338)
["name"]=>
string(6) "Tagine"
["slug"]=>
string(6) "tagine"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(338)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(23)
["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 ( 315, 1578957514079414305405331253142144338 ) OR rd.ingredients LIKE '%Apricots%' OR rd.ingredients LIKE '% Chickpeas%' OR rd.ingredients LIKE '% Couscous%' OR rd.ingredients LIKE '% Lamb tagine%' OR rd.ingredients LIKE '% One pan dishes%' OR rd.ingredients LIKE '% rose harissa%' OR rd.ingredients LIKE '% Tom Kerridge%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 31176 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16