{"id":2569,"date":"2012-10-03T01:03:25","date_gmt":"2012-10-03T01:03:25","guid":{"rendered":"http:\/\/www.dognmonkey.com\/techs\/?p=2569"},"modified":"2012-10-03T20:04:21","modified_gmt":"2012-10-03T20:04:21","slug":"add-share-this-button-to-wordpress","status":"publish","type":"post","link":"https:\/\/www.dognmonkey.com\/techs\/add-share-this-button-to-wordpress.html","title":{"rendered":"Add Share This Button To WordPress"},"content":{"rendered":"<p style=\"text-align: center;\"><em>I try to avoid loading to many plugins to our WordPress blog, I prefer to add the Share This button manually to our single post (single.php). Add the script to the header.php just before &lt;\/head&gt;<\/em><\/p>\n<blockquote>\n<p style=\"text-align: center;\"><em><\/em>&lt;script type=&#8221;text\/javascript&#8221; src=&#8221;\/\/w.sharethis.com\/button\/buttons.js&#8221;&gt;&lt;\/script&gt;<\/p>\n<\/blockquote>\n<p style=\"text-align: center;\"><em>Now, add this codes to wherever I want to appear in the single.php. Remove the &#8216; both sides of the class.<br \/>\n<\/em><\/p>\n<blockquote>\n<p style=\"text-align: center;\">&lt;span &#8216;class&#8217;=&#8221;st_sharethis_hcount&#8221;&gt;&lt;\/span&gt;<\/p>\n<\/blockquote>\n<p style=\"text-align: center;\"><ul class=\"lcp_catlist\" id=\"lcp_instance_0\"><\/ul><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I try to avoid loading to many plugins to our WordPress blog, I prefer to add the Share This button manually to our single post (single.php). Add the script to the header.php just before &lt;\/head&gt; &lt;script type=&#8221;text\/javascript&#8221; src=&#8221;\/\/w.sharethis.com\/button\/buttons.js&#8221;&gt;&lt;\/script&gt; Now, add this codes to wherever I want to appear in the single.php. Remove the &#8216; both <a href=\"https:\/\/www.dognmonkey.com\/techs\/add-share-this-button-to-wordpress.html\" class=\"more-link\">&#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25,20],"tags":[233],"class_list":["post-2569","post","type-post","status-publish","format-standard","hentry","category-plugins","category-wordpress","tag-sharethis"],"views":798,"_links":{"self":[{"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/posts\/2569","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/comments?post=2569"}],"version-history":[{"count":4,"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/posts\/2569\/revisions"}],"predecessor-version":[{"id":2573,"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/posts\/2569\/revisions\/2573"}],"wp:attachment":[{"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/media?parent=2569"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/categories?post=2569"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/tags?post=2569"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}