把你的网站分享到百度新首页

很简单,先打开分享到百度新首页代码申请页面:http://share.baidu.com/code/bdhome

获取如下代码

<div class=”bdaddtocitebtn”></div>

<!– 将此代码放在适当的位置,建议在body结束前 –>
<script id=”bdaddtocite_shell”></script>
<script>
var bdShare_config_addtocite = {
“size”:”small”
,”uid”:”6807930″
};
document.getElementById(“bdaddtocite_shell”).src=”http://bdimg.share.baidu.com/static/js/addtocite_shell.js?t=” + Math.ceil(new Date()/3600000);
</script>


如果是wordpress可以放到小工具文本里面调用

其他网站直接放到foot里面也ok

原创文章,转载时必须以链接形式注明本文来自云中客,本文固定链接:http://vr.ccyzk.com/202.htm

相关文章