WordPress添加页面加载时间|查询检查|百度收录查询
2021-12-16
WordPress如果要在网站底部显示,将代码添加到主题目录下的footer.php
<?php timer_stop(1); ?> //网页加载时间(秒)
页面加载次数
<?php echo get_num_queries(); ?> //网页加载查询量
百度收录数
<span id="shoulu"></span><script type="text/javascript"> var url = 'https://api.uomg.com/api/entry.baidu?domain=www.v8bt.com'; $.getJSON(url,function(data){ $('#shoulu').append('百度收录: '+data.data+'条'); });</script>