POST-ID:22618
array(9) {
[0]=>
object(WP_Term)#16481 (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(299)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[1]=>
object(WP_Term)#16482 (11) {
["term_id"]=>
int(37)
["name"]=>
string(10) "Dairy free"
["slug"]=>
string(10) "dairy-free"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(37)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(52) "Easy recipes for when you’re cutting out dairy"
["parent"]=>
int(0)
["count"]=>
int(55)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[2]=>
object(WP_Term)#16486 (11) {
["term_id"]=>
int(174)
["name"]=>
string(16) "Dairy-free lunch"
["slug"]=>
string(16) "dairy-free-lunch"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(174)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(43)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[3]=>
object(WP_Term)#16397 (11) {
["term_id"]=>
int(409)
["name"]=>
string(4) "Easy"
["slug"]=>
string(4) "easy"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(409)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(55) "Keep it easy with these simple but super-tasty recipes."
["parent"]=>
int(0)
["count"]=>
int(535)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[4]=>
object(WP_Term)#16432 (11) {
["term_id"]=>
int(410)
["name"]=>
string(19) "Easy but impressive"
["slug"]=>
string(15) "easy-impressive"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(410)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(30) "Less stress, more seduction..."
["parent"]=>
int(0)
["count"]=>
int(307)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[5]=>
object(WP_Term)#16497 (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"
}
[6]=>
object(WP_Term)#16462 (11) {
["term_id"]=>
int(900)
["name"]=>
string(8) "Everyday"
["slug"]=>
string(8) "everyday"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(900)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(144)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[7]=>
object(WP_Term)#16231 (11) {
["term_id"]=>
int(360)
["name"]=>
string(12) "Meal for two"
["slug"]=>
string(12) "meal-for-two"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(360)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(56) "Serve up an intimate feast with a decadent meal for two."
["parent"]=>
int(0)
["count"]=>
int(138)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[8]=>
object(WP_Term)#16479 (11) {
["term_id"]=>
int(12983)
["name"]=>
string(14) "One bowl meals"
["slug"]=>
string(14) "one-bowl-meals"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(12983)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(43) "Delectable and easy one-bowl meals"
["parent"]=>
int(900)
["count"]=>
int(60)
["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 ( 169, 371744094101990036012983 ) OR rd.ingredients LIKE '%almond butter%' OR rd.ingredients LIKE '% Calcium%' OR rd.ingredients LIKE '% Chickpeas%' OR rd.ingredients LIKE '% Easy family dinner%' OR rd.ingredients LIKE '% Five a day%' OR rd.ingredients LIKE '% Folate%' OR rd.ingredients LIKE '% Iron%' OR rd.ingredients LIKE '% Spinach%' OR rd.ingredients LIKE '% Vitamin c%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 22618 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16