34

深入介绍 Theme Codename H – 主题 PHP 文件

下载之前请确定你是否确实需要 Theme Codename H,并且请注意可能带来的麻烦:Theme Codename H 并不支持 WordPress Widgets,也需要修改代码以实现 Theme Codename H 的一些特性。

Theme Codename H 包含 24 个 PHP 文件(不包括 Theme Codename H 移动版,我会另外介绍):

  • 404.php (404 错误页面)
  • about.php (关于页模板,整合联系表单)
  • ads.php (广告代码模块)
  • archive.php (年月日、作者、分类存档页面)
  • archives.php (存档页模板)
  • archives-comments.php (最新评论页面模板)
  • comments.php (评论模板)
  • footer.php (底部模板)
  • functions.php (功能函数,修改站点统计分析服务代码)
  • google-search.php (404 页面的 Google 搜索模块)
  • header.php (顶部模板)
  • index.php (首页模板)
  • page.php (页面模板)
  • share.php (分享页面模板)
  • search.php (搜索结果页面)
  • single.php (文章页面)
  • tags.php (TagCloud 页面模板)
  • webslices.php (IE8 网页快讯页面模板)
  • widget-contact.php (联系表单模块)
  • widget-fav.php (收藏与分享模块)
  • widget-feeds.php (快速 RSS Feed 订阅模块)
  • widget-recent-comments.php (最新评论模块)
  • widget-search.php (搜索表单模块)

其中加粗的页面模板,是需要通过新建页面选择对应的模板才可使用的。我将继续介绍 Theme Codename H 的每个细节,敬请关注。 😛

Deep Dive Introduction into Theme Codename H – Theme PHP Files

Please make sure you indeed need Theme Codename H before you download it. Pay attention to those potentials troubles: Theme Codename H does not provide WordPress Widgets support, and also needs to be modified to meet the specific needs.

Theme Codename H contains 24 PHP template files(Theme Codename H Mobile version is not included here, I will talk about the Mobile one later soon):

  • 404.php (404 ERROR Page)
  • about.php (About Page Template, integrates with Contact Form)
  • ads.php (Ad Code Module)
  • archive.php (Monthly, Daily, Yearly, Author, Category Archive Page)
  • archives.php (Archives Page Template)
  • archives-comments.php (Recent Comments Archive Page Template)
  • comments.php (Comments Template)
  • footer.php (Footer Template)
  • functions.php (Functions, setting for website stats and analytics service codes)
  • google-search.php (Google Search Module in 404 ERROR Page)
  • header.php (Header Template)
  • index.php (Index Page)
  • page.php (Page Template)
  • share.php (Share Page Template)
  • search.php (Search Results Page)
  • single.php (Post Page)
  • tags.php (TagCloud Page Template)
  • webslices.php (IE8 Web Slices Page Template)
  • widget-contact.php (Contact Form Widget)
  • widget-fav.php (Fav & Share Widget)
  • widget-feeds.php (One Click RSS Subscriptions Widget)
  • widget-recent-comments.php (Recent Comments Widget)
  • widget-search.php (Search Form Widget)

All Page Templates with bold name above are required new pages of WordPress, and specified page templates also should be configured. I am going to talk more details about Theme Codename H. Stay Tuned, Thanks. 😛

34 条评论

发表评论

您正在使用 IE 6 浏览器访问本博客。简单几步,您就可以升级:Internet Explorer

X