所有主题的WordPress静态主页

我最近注意到某些wordpress主题不支持自定义静态首页, 而不支持博客页面。例如:主题”二十一” https://fuc.wordpress.org/themes/twentyeleven/

有可能改变吗?


#1


是的, 有可能。

在主题的文件夹中创建页面名称front-page.php, 然后在Wordpress管理员设置中将首页从”你的最新帖子”更改为”静态首页”。

此处的文档:https://codex.wordpress.org/Creating_a_Static_Front_Page

来源:

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