Here is the truth about Candy Canes, from wilstar.com:
The Candy Cane
Candy canes have been around for centuries, but it wasn’t until around 1900 that they were decorated with red stripes and bent into the shape of a cane. They were sometimes handed out during church services to keep the children quiet. One story (almost certainly false) that is often told about the origin of the candy cane is as follows:
In the late 1800’s a candy maker in Indiana wanted to express the meaning of Christmas through a symbol made of candy. He came up with the idea of bending one of his white candy sticks into the shape of a Candy Cane. He incorporated several symbols of Christ’s love and sacrifice through the Candy Cane. First, he used a plain white peppermint stick. The color white symbolizes the purity and sinless nature of Jesus. Next, he added three small stripes to symbolize the pain inflicted upon Jesus before His death on the cross. There are three of them to represent the Holy Trinity. He added a bold stripe to represent the blood Jesus shed for mankind. When looked at with the crook on top, it looks like a shepherd’s staff because Jesus is the shepherd of man. If you turn it upside down, it becomes the letter J symbolizing the first letter in Jesus’ name. The candy maker made these candy canes for Christmas, so everyone would remember what Christmas is all about.