首页 » WordPress

纯代码实现WordPress网站接入百度熊掌号

 
6806

百度熊掌号出现已经很久了;简单来说,网站接入熊掌号后,熊掌号可以自动实时收录网站最新内容,并同步发布到百度熊掌号,用户通过搜索访问熊掌号中收录的文章,会自动跳转到自己网站对应的文章;熊掌号承诺网站新增内容/文章24小时内收录并展现。当然百度熊掌号收录后就相当于 … 阅读全文

WordPress4.3+设置站点图标和APP图标

 
QQ截图20150917210825

最近升级了WordPress到4.3,4.3新增了一个自定义功能,在后台点击“外观”--“自定义”即可设置站点身份、颜色、背景图像、菜单等等。 而在“站点身份”中终于可以设置favicon.ico和APP图标了~~~ ico图标解释 favicon.ico是什 … 阅读全文

WordPress主题HMJ-Blog使用说明

 
def_thu

主题介绍与下载 我等不急了,快带我飞去介绍和下载页面,>>>快快戳我<<< 版权声明 此主题为免费主题,为了防止恶意的人对主题进行修改倒卖,还请童靴们下载使用的过程中,切勿去除和修改网站右下角的版权信息,请尊重别人的劳动成果 … 阅读全文

WordPress给文章添加百度是否已收录展示和查询功能

 
0611493443

文章页面展示百度是否收录这个功能在我的博客已经有一段时间了,最近有人问到可否分享下添加这个功能的教程,所以决定整理分享一下。   1、编辑主题目录的functions.php文件,在最后一个?>标签前新添如下代码并保存(如没有?>标签,则直接加到最后 … 阅读全文

WordPress 集成百度 Sitemap 实时推送代码

 
1621492527

只有拥有百度Sitemap实时推送功能的网站才能最大几率的保证站点的页面被抓取并且被收录,不过大多数站点并没有开通Sitemap权限,以下是引用百度官方对实时推送的代码修改版,请按步骤操作:   1、将下面代码加入至主题模板的 functions.p … 阅读全文

nginx+php产生大量TIME_WAIT连接解决办法

 
0114104095

Warning: array_keys() expects parameter 1 to be array, null given in /data/wwwroot/www.heminjie.com/wp-content/plugins/wp-syntax/geshi/geshi.php on line 2039

Warning: Invalid argument supplied for foreach() in /data/wwwroot/www.heminjie.com/wp-content/plugins/wp-syntax/geshi/geshi.php on line 2039

Warning: Invalid argument supplied for foreach() in /data/wwwroot/www.heminjie.com/wp-content/plugins/wp-syntax/geshi/geshi.php on line 2411

Warning: implode(): Argument must be an array in /data/wwwroot/www.heminjie.com/wp-content/plugins/wp-syntax/geshi/geshi.php on line 3365

Warning: array_keys() expects parameter 1 to be array, null given in /data/wwwroot/www.heminjie.com/wp-content/plugins/wp-syntax/geshi/geshi.php on line 3388

Warning: Invalid argument supplied for foreach() in /data/wwwroot/www.heminjie.com/wp-content/plugins/wp-syntax/geshi/geshi.php on line 3388

Warning: Invalid argument supplied for foreach() in /data/wwwroot/www.heminjie.com/wp-content/plugins/wp-syntax/geshi/geshi.php on line 3429

Warning: array_keys() expects parameter 1 to be array, null given in /data/wwwroot/www.heminjie.com/wp-content/plugins/wp-syntax/geshi/geshi.php on line 3481

Warning: Invalid argument supplied for foreach() in /data/wwwroot/www.heminjie.com/wp-content/plugins/wp-syntax/geshi/geshi.php on line 3481

Warning: array_keys() expects parameter 1 to be array, null given in /data/wwwroot/www.heminjie.com/wp-content/plugins/wp-syntax/geshi/geshi.php on line 3626

Warning: Invalid argument supplied for foreach() in /data/wwwroot/www.heminjie.com/wp-content/plugins/wp-syntax/geshi/geshi.php on line 3626

Warning: array_keys() expects parameter 1 to be array, null given in /data/wwwroot/www.heminjie.com/wp-content/plugins/wp-syntax/geshi/geshi.php on line 2039

Warning: Invalid argument supplied for foreach() in /data/wwwroot/www.heminjie.com/wp-content/plugins/wp-syntax/geshi/geshi.php on line 2039

Warning: Invalid argument supplied for foreach() in /data/wwwroot/www.heminjie.com/wp-content/plugins/wp-syntax/geshi/geshi.php on line 2411

Warning: implode(): Argument must be an array in /data/wwwroot/www.heminjie.com/wp-content/plugins/wp-syntax/geshi/geshi.php on line 3365

Warning: array_keys() expects parameter 1 to be array, null given in /data/wwwroot/www.heminjie.com/wp-content/plugins/wp-syntax/geshi/geshi.php on line 3388

Warning: Invalid argument supplied for foreach() in /data/wwwroot/www.heminjie.com/wp-content/plugins/wp-syntax/geshi/geshi.php on line 3388

Warning: Invalid argument supplied for foreach() in /data/wwwroot/www.heminjie.com/wp-content/plugins/wp-syntax/geshi/geshi.php on line 3429

Warning: array_keys() expects parameter 1 to be array, null given in /data/wwwroot/www.heminjie.com/wp-content/plugins/wp-syntax/geshi/geshi.php on line 3481

Warning: Invalid argument supplied for foreach() in /data/wwwroot/www.heminjie.com/wp-content/plugins/wp-syntax/geshi/geshi.php on line 3481

Warning: array_keys() expects parameter 1 to be array, null given in /data/wwwroot/www.heminjie.com/wp-content/plugins/wp-syntax/geshi/geshi.php on line 3626

Warning: Invalid argument supplied for foreach() in /data/wwwroot/www.heminjie.com/wp-content/plugins/wp-syntax/geshi/geshi.php on line 3626

Warning: array_keys() expects parameter 1 to be array, null given in /data/wwwroot/www.heminjie.com/wp-content/plugins/wp-syntax/geshi/geshi.php on line 2039

Warning: Invalid argument supplied for foreach() in /data/wwwroot/www.heminjie.com/wp-content/plugins/wp-syntax/geshi/geshi.php on line 2039

Warning: Invalid argument supplied for foreach() in /data/wwwroot/www.heminjie.com/wp-content/plugins/wp-syntax/geshi/geshi.php on line 2411

Warning: implode(): Argument must be an array in /data/wwwroot/www.heminjie.com/wp-content/plugins/wp-syntax/geshi/geshi.php on line 3365

Warning: array_keys() expects parameter 1 to be array, null given in /data/wwwroot/www.heminjie.com/wp-content/plugins/wp-syntax/geshi/geshi.php on line 3388

Warning: Invalid argument supplied for foreach() in /data/wwwroot/www.heminjie.com/wp-content/plugins/wp-syntax/geshi/geshi.php on line 3388

Warning: Invalid argument supplied for foreach() in /data/wwwroot/www.heminjie.com/wp-content/plugins/wp-syntax/geshi/geshi.php on line 3429

Warning: array_keys() expects parameter 1 to be array, null given in /data/wwwroot/www.heminjie.com/wp-content/plugins/wp-syntax/geshi/geshi.php on line 3481

Warning: Invalid argument supplied for foreach() in /data/wwwroot/www.heminjie.com/wp-content/plugins/wp-syntax/geshi/geshi.php on line 3481

Warning: array_keys() expects parameter 1 to be array, null given in /data/wwwroot/www.heminjie.com/wp-content/plugins/wp-syntax/geshi/geshi.php on line 3626

Warning: Invalid argument supplied for foreach() in /data/wwwroot/www.heminjie.com/wp-content/plugins/wp-syntax/geshi/geshi.php on line 3626

Warning: array_keys() expects parameter 1 to be array, null given in /data/wwwroot/www.heminjie.com/wp-content/plugins/wp-syntax/geshi/geshi.php on line 2039

Warning: Invalid argument supplied for foreach() in /data/wwwroot/www.heminjie.com/wp-content/plugins/wp-syntax/geshi/geshi.php on line 2039

Warning: Invalid argument supplied for foreach() in /data/wwwroot/www.heminjie.com/wp-content/plugins/wp-syntax/geshi/geshi.php on line 2411

Warning: implode(): Argument must be an array in /data/wwwroot/www.heminjie.com/wp-content/plugins/wp-syntax/geshi/geshi.php on line 3365

Warning: array_keys() expects parameter 1 to be array, null given in /data/wwwroot/www.heminjie.com/wp-content/plugins/wp-syntax/geshi/geshi.php on line 3388

Warning: Invalid argument supplied for foreach() in /data/wwwroot/www.heminjie.com/wp-content/plugins/wp-syntax/geshi/geshi.php on line 3388

Warning: Invalid argument supplied for foreach() in /data/wwwroot/www.heminjie.com/wp-content/plugins/wp-syntax/geshi/geshi.php on line 3429

Warning: array_keys() expects parameter 1 to be array, null given in /data/wwwroot/www.heminjie.com/wp-content/plugins/wp-syntax/geshi/geshi.php on line 3481

Warning: Invalid argument supplied for foreach() in /data/wwwroot/www.heminjie.com/wp-content/plugins/wp-syntax/geshi/geshi.php on line 3481

Warning: array_keys() expects parameter 1 to be array, null given in /data/wwwroot/www.heminjie.com/wp-content/plugins/wp-syntax/geshi/geshi.php on line 3626

Warning: Invalid argument supplied for foreach() in /data/wwwroot/www.heminjie.com/wp-content/plugins/wp-syntax/geshi/geshi.php on line 3626

现状:   在WordPress的主机上经常会出现内存/CPU资源耗尽的情况,经分析发现是因为服务器上有很多针对80端口的TIME-WAIT连接。 1 2 3 4 5 # ss -ant | awk 'NR>1 {++s[$1 … 阅读全文

WordPress制作超萌的猫头鹰登录界面

 
0117355825

超萌的猫头鹰登录界面,当输入密码的时候,猫头鹰会用翅膀遮住双眼,兼容主流浏览器。 实现方法: 1、编辑WordPress根目录下的/wp-login.php文件   在最后面的: 1 2 3 4 <?php login_footer(& … 阅读全文