POST-ID:23381
array(11) {
[0]=>
object(WP_Term)#16175 (11) {
["term_id"]=>
int(5)
["name"]=>
string(17) "Cheap and healthy"
["slug"]=>
string(17) "cheap-and-healthy"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(5)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(55) "Trying to be healthy on a budget has never been easier."
["parent"]=>
int(0)
["count"]=>
int(81)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[1]=>
object(WP_Term)#16170 (11) {
["term_id"]=>
int(137)
["name"]=>
string(21) "Clever ways with Kale"
["slug"]=>
string(21) "clever-ways-with-kale"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(137)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(105) "This super-green leaf is packed with goodness. Serve it on the side or worked into a savoury main course."
["parent"]=>
int(0)
["count"]=>
int(11)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[2]=>
object(WP_Term)#16179 (11) {
["term_id"]=>
int(197)
["name"]=>
string(7) "Healthy"
["slug"]=>
string(7) "healthy"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(197)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(52) "Packed with the good stuff to get you feeling great."
["parent"]=>
int(0)
["count"]=>
int(160)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[3]=>
object(WP_Term)#16172 (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"
}
[4]=>
object(WP_Term)#16174 (11) {
["term_id"]=>
int(7)
["name"]=>
string(13) "Healthy lunch"
["slug"]=>
string(13) "healthy-lunch"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(7)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(51) "Keep your healthy eating regime on the right track."
["parent"]=>
int(0)
["count"]=>
int(159)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[5]=>
object(WP_Term)#16094 (11) {
["term_id"]=>
int(202)
["name"]=>
string(14) "Healthy spring"
["slug"]=>
string(14) "healthy-spring"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(202)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(33) "Celebrate the turn of the season."
["parent"]=>
int(0)
["count"]=>
int(53)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[6]=>
object(WP_Term)#16129 (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"
}
[7]=>
object(WP_Term)#16194 (11) {
["term_id"]=>
int(342)
["name"]=>
string(4) "kale"
["slug"]=>
string(4) "kale"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(342)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(38)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[8]=>
object(WP_Term)#16155 (11) {
["term_id"]=>
int(30)
["name"]=>
string(17) "Quick and healthy"
["slug"]=>
string(17) "quick-and-healthy"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(30)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(98)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[9]=>
object(WP_Term)#15903 (11) {
["term_id"]=>
int(11591)
["name"]=>
string(6) "salmon"
["slug"]=>
string(6) "salmon"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(11591)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(10)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[10]=>
object(WP_Term)#16171 (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(70)
["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 ( 5, 13719720072021213423011591163 ) OR rd.ingredients LIKE '%Chickpeas%' OR rd.ingredients LIKE '% Fibre%' OR rd.ingredients LIKE '% Folate%' OR rd.ingredients LIKE '% Healthy%' OR rd.ingredients LIKE '% Iron%' OR rd.ingredients LIKE '% Kale%' OR rd.ingredients LIKE '% Omega 3%' OR rd.ingredients LIKE '% Red peppers%' OR rd.ingredients LIKE '% Salmon%' OR rd.ingredients LIKE '% Salsa verde%' 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 <> 23381 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16