$ 0 0 Actually there is a bug in that code for SharePoint 2010 - it is using '2013' in the names of the links to pin.