如何查看wordpress文章是否被百度成功收录-WordPress主题

摘要:这个方法是大挖在18年11月更新过的,适用最新的,添加这个功能后,只有管理员才能在站台看到该文章是否被百度收录的提示,其…

这个方法是大挖在18年11月更新过的,适用最新的,添加这个功能后,只有管理员才能在站台看到该文章是否被百度收录的提示,其它的访客是完全看不到的,而且本代码有自动的未收录提示功能,如果我们点击未收录提示字样,可以直接链接到提交百度站长链接的页面,主动向百度提交我们未被收录的文章链接,是不是很强大。
而且操作成本也很低,只需要把以下的代码复制到我们当前的wordpress主题文件夹的functions.php文章中,即可实现。

来源:http://www.wazhuti.com/2848.html

微信公众号
手机浏览(小程序)

Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(): Failed to enable crypto in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_12967.jpg): failed to open stream: operation failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57
0
分享到:
没有账号? 忘记密码?