POST-ID:20870
array(10) {
[0]=>
object(WP_Term)#15798 (11) {
["term_id"]=>
int(168)
["name"]=>
string(7) "7-a-day"
["slug"]=>
string(5) "7-day"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(168)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(111) "Simple & delicious recipes with at least 3 portions of fruit & veg to get you to that lucky number 7..."
["parent"]=>
int(0)
["count"]=>
int(43)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[1]=>
object(WP_Term)#15802 (11) {
["term_id"]=>
int(76)
["name"]=>
string(15) "Alfresco dining"
["slug"]=>
string(12) "dine-alfesco"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(76)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(31)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[2]=>
object(WP_Term)#15803 (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"
}
[3]=>
object(WP_Term)#15807 (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"
}
[4]=>
object(WP_Term)#15724 (11) {
["term_id"]=>
int(199)
["name"]=>
string(20) "Healthy dinner party"
["slug"]=>
string(20) "healthy-dinner-party"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(199)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(46) "Guilt-free options for the conscientious host."
["parent"]=>
int(0)
["count"]=>
int(115)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[5]=>
object(WP_Term)#16594 (11) {
["term_id"]=>
int(8)
["name"]=>
string(13) "Healthy roast"
["slug"]=>
string(13) "healthy-roast"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(8)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(22) "Better-for-you roasts."
["parent"]=>
int(0)
["count"]=>
int(23)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[6]=>
object(WP_Term)#15822 (11) {
["term_id"]=>
int(210)
["name"]=>
string(18) "Healthy vegetarian"
["slug"]=>
string(18) "healthy-vegetarian"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(210)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(31) "Diet-friendly meat-free feasts."
["parent"]=>
int(0)
["count"]=>
int(184)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[7]=>
object(WP_Term)#15830 (11) {
["term_id"]=>
int(120)
["name"]=>
string(17) "Modern vegetarian"
["slug"]=>
string(17) "modern-vegetarian"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(120)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(35) "Veggie recipes for the whole family"
["parent"]=>
int(0)
["count"]=>
int(151)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[8]=>
object(WP_Term)#15725 (11) {
["term_id"]=>
int(46)
["name"]=>
string(10) "Vegetables"
["slug"]=>
string(10) "vegetables"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(46)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(112)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[9]=>
object(WP_Term)#15799 (11) {
["term_id"]=>
int(84)
["name"]=>
string(18) "Vegetarian starter"
["slug"]=>
string(18) "vegetarian-starter"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(84)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(57) "Meat-free starters such as halloumi and watermelon salad."
["parent"]=>
int(0)
["count"]=>
int(98)
["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 ( 168, 76519719982101204684 ) OR rd.ingredients LIKE '%Almonds%' OR rd.ingredients LIKE '% baked cauliflower%' OR rd.ingredients LIKE '% Cauliflower%' OR rd.ingredients LIKE '% Veggie main course%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 20870 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16