Wuzzat's link is a good idea. It will require some router work or chisel work to inset it flush to the back of the mantel. You may need a few of these, depending on the weight of the mantel, lining everthing up with the screws may be a bit tricky. And welcome to the site. It is better to start a new thread rather than piggy back on an old one.
Now I see you have reposted.