admin管理员组文章数量:1312673
I can't use the mouse to select a Front Page template for a page. I tried to switch the template, but there is no Front Page template in the list. But the site has this template of course, my homepage uses it. I would like to assign a different page as the homepage (I know how to do this), and apply the Front Page template to it. How can I do this by editing the file?
I don't know much about programming, but I can edit the file if I get a suggestion on what to change in the file.
I can't use the mouse to select a Front Page template for a page. I tried to switch the template, but there is no Front Page template in the list. But the site has this template of course, my homepage uses it. I would like to assign a different page as the homepage (I know how to do this), and apply the Front Page template to it. How can I do this by editing the file?
I don't know much about programming, but I can edit the file if I get a suggestion on what to change in the file.
Share Improve this question edited Feb 1 at 15:23 DarkBee 15.6k8 gold badges72 silver badges117 bronze badges asked Feb 1 at 6:25 Andrey I.Andrey I. 13 bronze badges 1- Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. – Community Bot Commented Feb 4 at 8:22
1 Answer
Reset to default -1First, you need to go to any page, edit it, and you will see the template selection option on the right sidebar. From there, you can select your PHP template.
Second, go to Settings > Reading, and you will find the Static Page option to choose your front page. Simply select your desired page and save the changes.
That's it!
本文标签: wordpressHow to apply Front Page template to a specific page of a websiteStack Overflow
版权声明:本文标题:wordpress - How to apply Front Page template to a specific page of a website? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741884266a2402927.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论