Mix whole wheat flour, yeast, salt, and sugar in a bowl.
Add warm water and olive oil and knead the dough.
Add cranberries and walnuts to the dough and mix well.
Let the dough rise for about 1 hour (first proof).
Shape the dough into a round loaf.
Place the shaped dough in a pan and let it rise again for 30 minutes (second proof).
Bake in a preheated oven at 180°C for 30 minutes.
Cool on a wire rack before serving.