2017年,为什么wordpress网站应该使用Jetpack插件?

更新:2017-10-10
很多用户反馈,使用这个插件后,网站打开变慢,这里长沙seo霜天给大家支招。
修改代码:/wp-content/plugins/jetpack/modules/sharedaddy/sharing.js
找到:第23行

linkedin: [‘https://www.linkedin.com/countserv/count/share?format=jsonp&callback=updateLinkedInCount&url=’ + encodeURIComponent(url)],
// Pinterest, like LinkedIn, handles share counts for both http and https
pinterest: [window.location.protocol + ‘//api.pinterest.com/v1/urls/count.json?callback=WPCOMSharing.update_pinterest_count&url=’ + encodeURIComponent(url)],
// Facebook protocol summing has been shown to falsely double counts, so we only request the current URL
facebook: [window.location.protocol + ‘//graph.facebook.com/?callback=WPCOMSharing.update_facebook_count&ids=’ + encodeURIComponent(url)]
};

这一段代码删掉,即可解决网站打开慢的问题。

Read more