POST-ID:23359
array(15) {
[0]=>
object(WP_Term)#16177 (11) {
["term_id"]=>
int(158)
["name"]=>
string(15) "20-minute meals"
["slug"]=>
string(15) "20-minute-meals"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(158)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(90) "Super-quick and easy to make, these meals are great for preparing after a long day at work"
["parent"]=>
int(0)
["count"]=>
int(164)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[1]=>
object(WP_Term)#16184 (11) {
["term_id"]=>
int(169)
["name"]=>
string(16) "200-400 calories"
["slug"]=>
string(16) "200-400-calories"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(169)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(147) "Low in calories yet super-satisfying – these lighter recipes make the most of delicious ingredients. Discover salads, stir-fries, stews and more."
["parent"]=>
int(0)
["count"]=>
int(298)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[2]=>
object(WP_Term)#16179 (11) {
["term_id"]=>
int(49)
["name"]=>
string(11) "Easy summer"
["slug"]=>
string(11) "easy-summer"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(49)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(39) "Discover the best summer meals"
["parent"]=>
int(0)
["count"]=>
int(182)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[3]=>
object(WP_Term)#16181 (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"
}
[4]=>
object(WP_Term)#16183 (11) {
["term_id"]=>
int(208)
["name"]=>
string(14) "Healthy summer"
["slug"]=>
string(14) "healthy-summer"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(208)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(35) "BBQ, picnic and al fresco feasting."
["parent"]=>
int(0)
["count"]=>
int(100)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[5]=>
object(WP_Term)#16178 (11) {
["term_id"]=>
int(209)
["name"]=>
string(13) "Healthy treat"
["slug"]=>
string(13) "healthy-treat"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(209)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(35) "Lighter choices for naughty treats."
["parent"]=>
int(0)
["count"]=>
int(35)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[6]=>
object(WP_Term)#16187 (11) {
["term_id"]=>
int(97)
["name"]=>
string(14) "Healthy treats"
["slug"]=>
string(14) "healthy-treats"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(97)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(102) "You don't have to go without - just opt for these lighter choices for your favourite indulgences!"
["parent"]=>
int(0)
["count"]=>
int(25)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[7]=>
object(WP_Term)#16180 (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)#16182 (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"
}
[9]=>
object(WP_Term)#16102 (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"
}
[10]=>
object(WP_Term)#16137 (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"
}
[11]=>
object(WP_Term)#16202 (11) {
["term_id"]=>
int(50)
["name"]=>
string(12) "Summer drink"
["slug"]=>
string(12) "summer-drink"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(50)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(108) "Quench your thirst with these refreshing summer drinks including fruity punch and gin cocktails, cordials..."
["parent"]=>
int(0)
["count"]=>
int(57)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[12]=>
object(WP_Term)#16163 (11) {
["term_id"]=>
int(11589)
["name"]=>
string(5) "Vegan"
["slug"]=>
string(7) "vegan-2"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(11589)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(85)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[13]=>
object(WP_Term)#15924 (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"
}
[14]=>
object(WP_Term)#16175 (11) {
["term_id"]=>
int(413)
["name"]=>
string(10) "Vegetarian"
["slug"]=>
string(10) "vegetarian"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(413)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(43) "Meat-free recipes for entertaining and more"
["parent"]=>
int(0)
["count"]=>
int(556)
["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 ( 158, 169491972082099721012112030501158946413 ) OR rd.ingredients LIKE '%Apple%' OR rd.ingredients LIKE '% Celery%' OR rd.ingredients LIKE '% celery juice%' OR rd.ingredients LIKE '% Ginger%' OR rd.ingredients LIKE '% juices%' OR rd.ingredients LIKE '% Lemon%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 23359 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16