POST-ID:26879
array(7) {
[0]=>
object(WP_Term)#16169 (11) {
["term_id"]=>
int(894)
["name"]=>
string(5) "Asian"
["slug"]=>
string(5) "asian"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(894)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(55) "Discover the rich and diverse flavours of Asian cuisine"
["parent"]=>
int(0)
["count"]=>
int(44)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[1]=>
object(WP_Term)#16107 (11) {
["term_id"]=>
int(344)
["name"]=>
string(9) "Cheap eat"
["slug"]=>
string(9) "cheap-eat"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(344)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(48) "Cheap eat meals that are packed full of flavour."
["parent"]=>
int(0)
["count"]=>
int(83)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[2]=>
object(WP_Term)#16072 (11) {
["term_id"]=>
int(345)
["name"]=>
string(12) "Comfort food"
["slug"]=>
string(12) "comfort-food"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(345)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(34) "Warming recipes for winter nights."
["parent"]=>
int(0)
["count"]=>
int(87)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[3]=>
object(WP_Term)#16189 (11) {
["term_id"]=>
int(69)
["name"]=>
string(19) "Edible gift recipes"
["slug"]=>
string(11) "edible-gift"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(69)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(40)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[4]=>
object(WP_Term)#16150 (11) {
["term_id"]=>
int(346)
["name"]=>
string(24) "Five ingredients or less"
["slug"]=>
string(24) "five-ingredients-or-less"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(346)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(45) "Quick fix recipes with minimal shopping fuss."
["parent"]=>
int(0)
["count"]=>
int(64)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[5]=>
object(WP_Term)#15925 (11) {
["term_id"]=>
int(323)
["name"]=>
string(6) "Noodle"
["slug"]=>
string(6) "noodle"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(323)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(60) "Recipes for oodles of noodles, including soba, rice and egg."
["parent"]=>
int(0)
["count"]=>
int(45)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[6]=>
object(WP_Term)#16174 (11) {
["term_id"]=>
int(127)
["name"]=>
string(14) "Noodle recipes"
["slug"]=>
string(14) "noodle-recipes"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(127)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(60) "Recipes for oodles of noodles, including soba, rice and egg."
["parent"]=>
int(0)
["count"]=>
int(23)
["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 ( 894, 34434569346323127 ) OR rd.ingredients LIKE '%Chilli%' OR rd.ingredients LIKE '% crispy chilli oil%' OR rd.ingredients LIKE '% Dressing%' OR rd.ingredients LIKE '% Garlic%' OR rd.ingredients LIKE '% Marinade%' OR rd.ingredients LIKE '% Peanuts%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 26879 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16