The accepted answer will generate a button if you have another pinterest button (and the pinit.js script loaded). Changing the url to have ‘link’ instead of ‘button’ will allow you to have a pinterest button in your footer and a custom pinterest link somewhere on your page.
