百度分享代码点击获取
选择好后你会得到如下的代码
<div class="bdsharebuttonbox"> <a class="bds_more" data-cmd="more"></a> <a title="分享到QQ空间" class="bds_qzone" data-cmd="qzone"></a> <a title="分享到新浪微博" class="bds_tsina" data-cmd="tsina"></a> <a title="分享到腾讯微博" class="bds_tqq" data-cmd="tqq"></a> <a title="分享到人人网" class="bds_renren" data-cmd="renren"></a> <a title="分享到微信" class="bds_weixin" data-cmd="weixin"></a> </div> <script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
在你页面中需要显示百度分享的地方加入此代码,一般在文章的底部。下面红色框内是我网站的代码放置位置