如何在一个WordPress主题中连接多个HTML页面?

我有多个HTML页面, 即主页, 联系方式, 关于我们的信息等。我已经成功创建了WP主题的主页, 但是无法将其他页面与主页连接。我还希望页眉和页脚与其他页面(如欢迎页面)相同。


#1


为了使页眉和页脚在所有页面上都相同, 你需要编辑header.php和footer.php。文件资料。

要从主页转到其他页面, 你需要在外观>菜单下配置菜单。然后, 你将不得不在header.php(或页脚, 为什么不这样)中的某个位置显示此菜单。

为了使每个页面具有不同的样式, 你可能需要查看”页面模板文件”, 这将使你可以单独修改每个页面的外观, 而无需使用子主题。

来源:

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