Skip to content

Instantly share code, notes, and snippets.

@ideefixe
Created February 7, 2013 22:09
Show Gist options
  • Save ideefixe/4734696 to your computer and use it in GitHub Desktop.
Save ideefixe/4734696 to your computer and use it in GitHub Desktop.
Post WordPress Content to Linkedin
function linkedin() {
var pageurl = $(linkedin).data("url");
var title = $(linkedin).data("title");
var summery = $(linkedin).data("summary");
var url = "http://www.linkedin.com/shareArticle"
url += "?mini=true&";
url += "url=" + url + "&";
url += "title=" + title + "&";
url += "summary=" + summery;
window.open(url, 'linkedInDialogue');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment