我有一个page-again.php模板, 当我将该模板放在主题目录下(/minim/page-again.php)时, 它可以工作。我想创建一个子目录page-templates(/minim/page-templates/page-again.php), 它不起作用。我读了很多主题, 并遵循了他们的意见。像这样的http://nacin.com/2012/03/29/page-templates-in-subdirectories-new-in-wordpress-3-4/
有人可以帮忙吗?
#1
我找到了答案。
模板文件夹不支持专门的页面模板。但它适用于自定义页面模板。
来源:
https://www.srcmini02.com/65722.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_37229.jpg): failed to open stream: operation failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57