通读以下内容:Wordpress Theme Hierarchy
创建自定义wordpress主题很有趣。您不应该需要覆盖或重命名主题,如果主题文件设置正确,您可以在管理面板上轻松地在它们之间切换,如(Style.css
)
/*
Theme Name: Your Theme Name
Theme URI: URL
Author: Most Likely You
Author URI: [email protected]
Description: Responsive frameworks
License URI: http://www.opensource.org/licenses/mit-license.php.
License: http://www.opensource.org/licenses/mit-license.php.
Version: 2.0
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you\'ve learned with others.
*/
主题的必需文件包括:
索引。php标题。php页脚。php循环。php风格。我希望这能帮助你走上正轨。。。