POST-ID:28661
array(8) {
[0]=>
object(WP_Term)#15802 (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)#15806 (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(129)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[2]=>
object(WP_Term)#15746 (11) {
["term_id"]=>
int(432)
["name"]=>
string(32) "Healthy Christmas buffet recipes"
["slug"]=>
string(24) "healthy-christmas-buffet"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(432)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(152) "Who says Christmas can't be healthy? Get inspired with our healthy festive buffet ideas that will prove a big hit at any party or family gathering."
["parent"]=>
int(0)
["count"]=>
int(20)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[3]=>
object(WP_Term)#15745 (11) {
["term_id"]=>
int(436)
["name"]=>
string(35) "Healthy Christmas leftovers recipes"
["slug"]=>
string(27) "healthy-christmas-leftovers"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(436)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(60) "Nutritious and delicious ways to use up your festive fare..."
["parent"]=>
int(0)
["count"]=>
int(36)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[4]=>
object(WP_Term)#15821 (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(144)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[5]=>
object(WP_Term)#15829 (11) {
["term_id"]=>
int(250)
["name"]=>
string(33) "Leftover Christmas turkey recipes"
["slug"]=>
string(25) "leftover-christmas-turkey"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(250)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(122) "The big bird yields lots of extra meat. Waste not, want not with our economical meals for post-Christmas turkey leftovers."
["parent"]=>
int(0)
["count"]=>
int(39)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[6]=>
object(WP_Term)#15756 (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"
}
[7]=>
object(WP_Term)#15797 (11) {
["term_id"]=>
int(258)
["name"]=>
string(14) "Turkey recipes"
["slug"]=>
string(6) "turkey"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(258)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(101) "From the traditional roast to more modern versions, we've got the perfect turkey recipe for you."
["parent"]=>
int(0)
["count"]=>
int(41)
["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, 197432436725030258 ) OR rd.ingredients LIKE '%Christmas leftovers%' OR rd.ingredients LIKE '% Clementine%' OR rd.ingredients LIKE '% Edamame beans%' OR rd.ingredients LIKE '% Leftover turkey%' OR rd.ingredients LIKE '% Peanut%' OR rd.ingredients LIKE '% Salad%' OR rd.ingredients LIKE '% Turkey%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 28661 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16