POST-ID:24236
array(15) {
[0]=>
object(WP_Term)#16490 (11) {
["term_id"]=>
int(345)
["name"]=>
string(12) "Comfort food"
["slug"]=>
string(12) "comfort-food"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(345)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(34) "Warming recipes for winter nights."
["parent"]=>
int(0)
["count"]=>
int(88)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[1]=>
object(WP_Term)#16503 (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(126)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[2]=>
object(WP_Term)#16494 (11) {
["term_id"]=>
int(358)
["name"]=>
string(13) "Fabulous fish"
["slug"]=>
string(13) "fabulous-fish"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(358)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(65) "Tantalise your tastebuds with spicy seafood and flavoursome fish."
["parent"]=>
int(0)
["count"]=>
int(74)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[3]=>
object(WP_Term)#16492 (11) {
["term_id"]=>
int(368)
["name"]=>
string(12) "Father's Day"
["slug"]=>
string(11) "fathers-day"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(368)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(60) "Brilliant ideas for treating Dad to something extra special."
["parent"]=>
int(0)
["count"]=>
int(64)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[4]=>
object(WP_Term)#16493 (11) {
["term_id"]=>
int(44)
["name"]=>
string(4) "Fish"
["slug"]=>
string(4) "fish"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(44)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(112)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[5]=>
object(WP_Term)#16491 (11) {
["term_id"]=>
int(316)
["name"]=>
string(8) "Fish pie"
["slug"]=>
string(8) "fish-pie"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(316)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(43) "Inspiration for a mash-topped seafood bake."
["parent"]=>
int(0)
["count"]=>
int(14)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[6]=>
object(WP_Term)#16495 (11) {
["term_id"]=>
int(200)
["name"]=>
string(12) "Healthy fish"
["slug"]=>
string(12) "healthy-fish"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(200)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(109) "From lighter pies to makeover fish & chips, nothing's off the menu with our healthier fish dishes..."
["parent"]=>
int(0)
["count"]=>
int(52)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[7]=>
object(WP_Term)#16496 (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"
}
[8]=>
object(WP_Term)#16500 (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(80)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[9]=>
object(WP_Term)#16411 (11) {
["term_id"]=>
int(329)
["name"]=>
string(3) "Pie"
["slug"]=>
string(3) "pie"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(329)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(86) "Perfect pastry and delicious fillings, both sweet and savoury. Cut a slice and dig in."
["parent"]=>
int(0)
["count"]=>
int(55)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[10]=>
object(WP_Term)#16446 (11) {
["term_id"]=>
int(11592)
["name"]=>
string(5) "prawn"
["slug"]=>
string(5) "prawn"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(11592)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(44)
["count"]=>
int(16)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[11]=>
object(WP_Term)#16511 (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"
}
[12]=>
object(WP_Term)#16476 (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(118)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[13]=>
object(WP_Term)#16220 (11) {
["term_id"]=>
int(163)
["name"]=>
string(19) "Scrumptious seafood"
["slug"]=>
string(18) "let-s-have-lobster"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(163)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(71) "From crustaceans to cod, we've compiled some tasty recipes for you"
["parent"]=>
int(0)
["count"]=>
int(73)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[14]=>
object(WP_Term)#16488 (11) {
["term_id"]=>
int(902)
["name"]=>
string(24) "Special occasion recipes"
["slug"]=>
string(24) "special-occasion-recipes"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(902)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(175) "Mark special celebrations with something cooked from the heart – from birthday and wedding cakes, to seasonal favourites, and calendar events, create the perfect party menu."
["parent"]=>
int(0)
["count"]=>
int(51)
["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 ( 345, 753583684431620014312532329115921253142163902 ) OR rd.ingredients LIKE '%balanced meals%' OR rd.ingredients LIKE '% Calcium%' OR rd.ingredients LIKE '% Fish pie%' OR rd.ingredients LIKE '% Folate%' OR rd.ingredients LIKE '% Harissa%' OR rd.ingredients LIKE '% Sweet potato%' OR rd.ingredients LIKE '% Vitamin c%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 24236 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16