Code for the Share Center Pro WordPress plugin