Class Reference/WP Query
Languages: English • 日本語 • (Add your language)
Languages: English • 日本語 • (Add your language)
This is the Chapter II of the Complete WordPress Theme Guide series. This chapter will show you how to build a custom WordPress theme. Although the Codex site provides very good documentations on how to create a theme, but I find it too complicated for a beginner. In this tutorial, I will explain the basics of how WordPress theme works and show you how to convert a static HTML template into a theme. No PHP skill is required, but you need Photoshop and CSS skills to create your own design.
Continue reading Building Custom WordPress Theme
你也许看到有很多的博客上有一个单页的留言本而感到羡慕吧,其配置过程是这样的。
Continue reading 留言本单页模板
WordPress基本模板文件
一套完整的WordPress模板应至少具有如下文件:
style.css
: CSS(样式表)文件index.php
: 主页模板archive.php
: Archive/Category模板404.php
: Not Found 错误页模板comments.php
: 留言/回复模板footer.php
: Footer模板header.php
: Header模板sidebar.php
: 侧栏模板page.php
: 内容页(Page)模板single.php
: 内容页(Post)模板searchform.php
: 搜索表单模板search.php
: 搜索结果模板当然,具体到特定的某款模板,可能不止这些文件,但一般而言,这些文件是每套模板所必备的。
Continue reading WordPress 模板制作
How To Reset & Rebuild WordPress Theme CSS & Define Your Layouts
The WordPress Theme Sidebar Template
The Archive, Author, Category & Tags Template
The WordPress Theme Search Template and Page Template
The WordPress Theme Comments Template
The WordPress Theme Single Post, Post Attachment, & 404 Templates