wordpress 主题开发资源 [英] Resources on wordpress theme-development
问题描述
Wordpress 主题开发的最佳资源是什么?我目前正处于创建自己的博客的阶段,不想使用众多免费主题之一.我的网站已经有了一个主题,所以我想阅读有关最佳实践的信息.
What are the best resources for Wordpress theme-development? I am currently in the phase of starting my own blog, and don't want to use one of the many free themes. I already have a theme for my website, so I want to read about best-practices.
非常欢迎任何关于如何开始的建议:)
Any advice on how to get started would be very welcome :)
我现在已经创建了我的主题(哇哦!),并认为我应该总结我找到的最好的资源.让我们看看..
I have now created my theme (wohoo!), and thought I should summarize the best resources I found. Lets see..
资源:
- ThemeTation 的三个- 从头开始创建 wordpress 主题的部分指南
- Nettuts.com 指南:如何从头开始创建 Wordpress 主题
没有实际使用它,这是一篇很新的文章,但无论如何 - 它很棒.它也将在接下来的几天内得到跟进.. - Wordpress.org 自己的模板指南
绝对是 wordpress 设计新手的必读之书.. - 循环"
必备知识,也是必读 - 所有模板标签的目录
被 wordpress 用来实际输出博客内容..
灵感:
- Smashing Magazine 的列表:首先,还有一个,还有另一个
- Wordpress.org 的主题目录
推荐答案
我认为最好的学习方式是看看其他人如何构建他们的主题.第一个开始的是标准 WordPress 安装中包含的默认 Kubrick 主题.它具有所有基础知识,并将向您展示一些高级技术,例如包含侧边栏小部件.接下来,结合 主题开发 的文档(Mark 之前提到过),博客设计和布局 和 使用主题,转到 Wordpress.org 站点上的主题目录,下载几个流行的主题,并通过它们查找任何模板标签或您不了解的技术.完成此操作后,您应该能够从头开始编写自己的主题,或根据需要修改现有主题.
I think that the best way to learn is to look at how other people construct their themes. The first one to start one is the Default Kubrick theme that is included in the standard WordPress install. It has all of the basics and will show you some advanced techniques like including sidebar widgets. Next, in conjunction with the docs on theme development (previously mentioned by Mark), Blog Design and Layout and Using Themes, go to the Theme Directory on the Wordpress.org site, download a couple of popular themes, and go through them, looking up any template tags or techniques that you don't understand. After you do this, you should be more than well-equipped to write your own theme from scratch, or modify an existing theme to your needs.
这篇关于wordpress 主题开发资源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!