POST-ID:22114
array(6) {
[0]=>
object(WP_Term)#16372 (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(161)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[1]=>
object(WP_Term)#16394 (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"
}
[2]=>
object(WP_Term)#16491 (11) {
["term_id"]=>
int(322)
["name"]=>
string(8) "Meatball"
["slug"]=>
string(8) "meatball"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(322)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(65) "Most cuisines have their very own version of these meaty patties."
["parent"]=>
int(0)
["count"]=>
int(37)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[3]=>
object(WP_Term)#16456 (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"
}
[4]=>
object(WP_Term)#16389 (11) {
["term_id"]=>
int(24)
["name"]=>
string(14) "Speedy suppers"
["slug"]=>
string(14) "speedy-suppers"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(24)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(34) "Easy suppers for the week"
["parent"]=>
int(0)
["count"]=>
int(106)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[5]=>
object(WP_Term)#16476 (11) {
["term_id"]=>
int(73)
["name"]=>
string(17) "We love beetroot!"
["slug"]=>
string(20) "why-we-love-beetroot"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(73)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(125) "Hardy beetroot is a reliable and delicious star of many a dish. Try our favourite recipes and discover this bright beauty..."
["parent"]=>
int(0)
["count"]=>
int(9)
["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 ( 197, 143322302473 ) OR rd.ingredients LIKE '%Easy%' OR rd.ingredients LIKE '% Lamb meatballs%' OR rd.ingredients LIKE '% Midweek meal%' OR rd.ingredients LIKE '% mixed grains%' OR rd.ingredients LIKE '% Tabbouleh%' OR rd.ingredients LIKE '% Tahini%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 22114 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16