Rama Chapter 770
The Laws of Chanukkah
“Some authorities rule that cheese should be eaten on Chanuka as a remembrance of the miracle tha was brought about through Yehudit feeding cheese to the enemy.
What blessing is applicable for cheese cake?
A. If the dough was baked without the cheese, and afterwards, a thick layer of cheese was added, those of Ashkenazik origin should bless Mezonot on the dough and Shehakol on the cheese. There is an argument in reference to those of Sefaridic origin if they should act according to the Ashkenazic ruling, or should utter the blessing on the primary essence of the cheese cake, whereby exempting the secondary part.
B. When the two main ingredients were baked together, everyone is in accordance that the blessing should be uttered on what is considered the essence of the cake.
“It is a custom to eat food cooked/fried in oil as a remembrance to the miracle of oil.”
What is the correct blessing for potato “latkes”?
If the potatoes were mashed by hand, even if they were mashed completely, then the blessing is HoAdamah, while if they were made from potato flour, the blessing should be Shehakol, as the potatoes are not discernable.