POST-ID:57819
array(6) {
[0]=>
object(WP_Term)#19186 (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(318)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[1]=>
object(WP_Term)#19197 (11) {
["term_id"]=>
int(237)
["name"]=>
string(16) "Christmas brunch"
["slug"]=>
string(16) "christmas-brunch"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(237)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(162) "Discover Christmas breakfast and brunch ideas to start your day in style. Celebrate Christmas morning with festive breads, pancakes, eggs, smoked salmon and more."
["parent"]=>
int(0)
["count"]=>
int(109)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[2]=>
object(WP_Term)#19293 (11) {
["term_id"]=>
int(238)
["name"]=>
string(16) "Christmas buffet"
["slug"]=>
string(16) "christmas-buffet"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(238)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(152) "Entertaining a crowd this Christmas? We have all the buffet dishes you need for a festive party, including canapés, dips and easy sharing plates."
["parent"]=>
int(0)
["count"]=>
int(105)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[3]=>
object(WP_Term)#19260 (11) {
["term_id"]=>
int(895)
["name"]=>
string(12) "Dinner party"
["slug"]=>
string(12) "dinner-party"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(895)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(229)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[4]=>
object(WP_Term)#19189 (11) {
["term_id"]=>
int(33)
["name"]=>
string(5) "Party"
["slug"]=>
string(10) "party-food"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(33)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(0) ""
["parent"]=>
int(0)
["count"]=>
int(131)
["filter"]=>
string(3) "raw"
["term_order"]=>
string(1) "0"
}
[5]=>
object(WP_Term)#19287 (11) {
["term_id"]=>
int(14114)
["name"]=>
string(22) "Ricotta cheese recipes"
["slug"]=>
string(22) "ricotta-cheese-recipes"
["term_group"]=>
int(0)
["term_taxonomy_id"]=>
int(14114)
["taxonomy"]=>
string(15) "bbc_collections"
["description"]=>
string(160) "Soft and creamy ricotta can be used in a huge variety of dishes, from gnocchi and gnudi to pancakes and cheesecake. Discover Good Food's ricotta cheese recipes."
["parent"]=>
int(0)
["count"]=>
int(24)
["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, 2372388953314114 ) OR rd.ingredients LIKE '%Dip%' OR rd.ingredients LIKE '% Glazed carrots%' OR rd.ingredients LIKE '% Pistachios%' OR rd.ingredients LIKE '% Ricotta%') AND p.post_type = 'bbc_recipes' AND (p.post_status = 'publish' OR p.post_status = 'private') AND p.ID <> 57819 GROUP BY p.ID ORDER BY p.post_date DESC LIMIT 0, 16