添加方法:
打开emlog主题下的 footer 文件,在底部添加底部 body 前面加入下面代码即可
代码:
<i class="fa fa-thermometer-full" aria-hidden="true"></i><span id="shoulu"></span>
<script type="text/javascript">
var url = 'https://api.uomg.com/api/entry.baidu?domain=2025ly.cn';
$.getJSON(url,function(data){
$('#shoulu').append('百度收录: '+data.data+'条');
});
</script>
评论