首页 » WordPress 主题 » 那么你想创建 WordPress 主题吗?

那么你想创建 WordPress 主题吗?

June 4th, 2007 Denis

从零开始创建 WordPress 主题其实不难,我会手把手教你。

关于创建 WordPress 主题的教程这个话题已经被人写过,并且 WordPress 官方网站上也有指导文章。但是当你不懂这方面的行话的话,这些教程或者向导真的对你有帮助吗?甚至当我阅读 WordPress 上向导的时候,我都迷失了。

工具,在我继续之前,你需要下面这些工具:

  • 安装 WordPress 在你的电脑上,你可以参考在 Installing WordPress Locally Under Windows XP 的安装说明。如果你由于无论原因不能在你的电脑上安装 WordPress,不用担心,你可以在你的服务器上安装一个测试版的 WordPress。
  • 记事本或者其他的文本编辑器,我用记事本。(译者注:推荐 NotePad++)
  • SmartFTP – 如果你要在线测试主题,我建议你下载和安装使用 SmartFTP 或者其他的 FTP 程序去上传你的主题文件。
  • 收藏 XHTML 验证器CSS 验证器。你将需要这些工具去验证你的主题。当你需要去认出和改正错误的时候,他们也有用武之地。

完整课程列表

#1 Intro — 介绍
#2 Template Files and Templates — 模板文件和模板
#3 Starting Index.php — 开始 Index.php
#4 Header Template — Header 模板
#4b Header Template Continues — Header 模板 2
#5 The Loop — 主循环
#5b The Content — 日志内容
#5c Postmetadata — 日志元数据
#5d Else, Post ID, Link Title — Else,日志 ID,链接标题
#5e Posts Nav Link — 日志导航链接
#6 Sidebar (and Categories) — 侧边栏
#6b Page-Link Listing (wp_list_pages) — 页面链接列表
#6c Get Archives and Links — 存档和链接列表
#6d Search Form and Calendar — 搜索框和日历
#6e Widgetizing Sidebar — 窗体化侧边栏
#7 Footer — 尾部
#8 How to Validate — 如何验证
#9 Style.css and CSS Intro — Style.css 和 CSS 介绍
#10 hex Codes and Styling Links — 十六进制颜色代码和样式化链接
#11 Widths and Floats — 宽度和布局
#12 Post Formatting and Miscellaneous — 日志样式化和其他杂项
#13 Styling Sidebar — 样式化侧边栏
#14 Footer and Diving Index — 底部和拆分 Index
#15 Sub-template Files — 子模板文件
#16 Comments Template — 留言模板

本文翻译自:So you want to create WordPress themes huh?。我尽量每天翻译一篇以上,这是一个比较大工程,希望大家能够帮我校对和修正。

作者:Denis
原文链接:那么你想创建 WordPress 主题吗?

标签:

分享到 Twitter 分享到 Twitter Delicious 收藏到 Delicious 分享到 Google Reader 分享到 Google Reader 分享到 FriendFeed 分享到 FriendFeed

111 条评论 添加你的评论

Trackbacks/Pingbacks

发表评论

你必须 登陆 之后才能留言。你可以使用以下方式快速登陆我爱水煮鱼:

你也可选择直接在本站 注册


Warcraft WordPress Theme WP Theme 教程 #1:介绍


赞助商

 (mt) Media Temple 长期承接 WordPress 项目 WordPress主机合租 用网页模板,当然要选TemplateMonster China 免費資源網路社群 freegroup.org http://p6p9.com/ 在我爱水煮鱼投放广告位

本站推荐

快速导航