![](/img/trans.png)
[英]In Wordpress, if I'm styling my own custom template, where do I put the CSS file?
[英]I have to design own php file and set the template file to my page in wordpress
我必须设计自己的php文件,并将模板设置为wordpress中的页面。 但在管理站点中,我自己的模板在下拉列表中不可见
目录之后是否有主题文件?
将以下代码放到custom-template.php(自定义模板php文件)上
<?php
/*
Template Name: My Custom Page
*/
自定义模板php文件路径应为
/wp-content/themes/your-theme/custom-template.php(custom template php file)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.