在WordPress中我创建自定义页面
<?php /*custom page template*/?>
并通过filezilla在wp-content / themes / twentytwenty / templates中添加它, 但是从仪表板添加页面时我找不到我的自定义页面
#1
例如:你的模板名称是自定义的
在wp-content / themes / twentytwenty中添加custom.php
并在custom.php之上添加
<?php /* Template Name: custom */ ?>
来源:
https://www.srcmini02.com/62360.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_42319.jpg): failed to open stream: operation failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57