POST-ID:20870
array(11) {
[0]=>
object(WP_Term)#16267 (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)#16262 (11) {
["term_id"]=>
int(76)
["name"]=>
string(15) "Alfresco dining"
["slug"]=>
string(15) "alfresco-dining"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(76)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(142) "Celebrate the sunshine and treat yourself to an al fresco feast with picnic staples like pies and quiche, barbecue mains or sharing mocktails."
["parent"]=>
int(0)
["count"]=>
int(31)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[2]=>
object(WP_Term)#16271 (11) {
["term_id"]=>
int(14065)
["name"]=>
string(19) "Cauliflower recipes"
["slug"]=>
string(19) "cauliflower-recipes"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(14065)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(178) "A head of cauliflower goes a long way. This versatile brassica adds smoothness in sauces and texture in dishes such as cauliflower cheese, roast cauliflower and cauliflower rice."
["parent"]=>
int(0)
["count"]=>
int(28)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[3]=>
object(WP_Term)#16264 (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"
}
[4]=>
object(WP_Term)#16266 (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"
}
[5]=>
object(WP_Term)#16167 (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(45) "Guilt-free options for the conscientious host"
["parent"]=>
int(0)
["count"]=>
int(120)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[6]=>
object(WP_Term)#17047 (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"
}
[7]=>
object(WP_Term)#16286 (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"
}
[8]=>
object(WP_Term)#16247 (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(152)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[9]=>
object(WP_Term)#16184 (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(114)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[10]=>
object(WP_Term)#16263 (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, 7614065519719982101204684 ) 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