POST-ID:45494
array(7) {
[0]=>
object(WP_Term)#17021 (11) {
["term_id"]=>
int(14094)
["name"]=>
string(16) "Chickpea recipes"
["slug"]=>
string(16) "chickpea-recipes"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(14094)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(149) "Discover delicious and nutritious chickpea recipes, from hearty stews to vibrant salads and creamy hummus. Perfect for healthy, protein-packed meals."
["parent"]=>
int(0)
["count"]=>
int(27)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[1]=>
object(WP_Term)#16913 (11) {
["term_id"]=>
int(19)
["name"]=>
string(14) "Eat healthier!"
["slug"]=>
string(15) "healthy-cooking"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(19)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(47)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[2]=>
object(WP_Term)#17853 (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(173)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[3]=>
object(WP_Term)#17034 (11) {
["term_id"]=>
int(216)
["name"]=>
string(18) "Low-calorie dinner"
["slug"]=>
string(18) "low-calorie-dinner"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(216)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(41) "Delicious dinners all under 400 calories."
["parent"]=>
int(0)
["count"]=>
int(85)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[4]=>
object(WP_Term)#17001 (11) {
["term_id"]=>
int(215)
["name"]=>
string(17) "Low-calorie lunch"
["slug"]=>
string(17) "low-calorie-lunch"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(215)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(63) "Lunchbox favourites and weekend treats, all under 400 calories."
["parent"]=>
int(0)
["count"]=>
int(70)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[5]=>
object(WP_Term)#16952 (11) {
["term_id"]=>
int(39)
["name"]=>
string(7) "Low-fat"
["slug"]=>
string(7) "low-fat"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(39)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(48)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[6]=>
object(WP_Term)#17025 (11) {
["term_id"]=>
int(335)
["name"]=>
string(4) "Soup"
["slug"]=>
string(4) "soup"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(335)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(39) "Be bowled over by our nourishing soups."
["parent"]=>
int(0)
["count"]=>
int(113)
["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 ( 14094, 1919721621539335 ) OR rd.ingredients LIKE '%avoid food waste%' OR rd.ingredients LIKE '% Chickpeas%' OR rd.ingredients LIKE '% Orzo%' OR rd.ingredients LIKE '% Soup%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 45494 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16