在wordpress分类文章列表置顶文章排除-WordPress主题

摘要:相对于wordpress主题最新文章列表排除置顶文章而言,在wordpress主题分类文章列表里面排除置顶文章的PHP函…

相对于wordpress主题最新文章列表排除置顶文章而言,在wordpress主题分类文章列表里面排除置顶文章的PHP函数写法还是有所区别的,大挖综合了两个函数,通过wordpress置顶文章排除综合分类文章循环识别当前分类,中间还加入了分类判断函数,只在wordpress分类目录栏目页面才会生效。
复制粘贴即可得

来源:http://www.wazhuti.com/1939.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_12988.jpg): failed to open stream: operation failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57
0
分享到:
没有账号? 忘记密码?