Heat the oven and prep the pan. Set the oven to 350°F. Grease a 9x5-inch loaf pan and line it with a parchment sling, leaving the long sides overhanging. Prep takes about 15 minutes.
Stir the dry ingredients. Whisk the flour, sugar, baking powder, baking soda, and salt together in a large bowl.
Stir the wet ingredients. In a second bowl, whisk the orange juice, orange zest, egg, and melted butter until combined.
Combine, gently. Pour the wet mixture into the dry and stir just until no dry flour shows. A few lumps are fine; overmixing makes a tough loaf.
Fold in the cranberries. Fold in the halved cranberries and the walnuts, if using, until they are distributed through the batter.
Bake. Scrape the batter into the pan and bake for 55 to 60 minutes, until a toothpick inserted in the center comes out clean and the top is deep golden.
Cool before slicing. Cool the loaf in the pan for 15 minutes, then lift it out with the parchment and cool completely on a rack before slicing, about 1 hour. Slicing while hot bursts the cranberries and smears the crumb.