WordPress:Developer Documentation

来自站长百科
Seadragon530讨论 | 贡献2008年5月5日 (一) 15:20的版本
跳转至: 导航、​ 搜索

Introduction

WordPress believes in keeping it simple, and a lot of thought goes into including new functionality as a part of the "core" WordPress code, in order to keep WordPress fast and lightweight. Still, users often find the need to graft additional functionality onto WordPress to meet their needs. This section of the Codex offers guidelines and references for anyone wishing to modify, extend, or contribute to WordPress.

You may also wish to consult the Developer Documentation FAQ

介绍

为了让WordPress保持快速可轻巧,WordPress信仰保持简单,探究大量包含新功能的想法,作为WordPress"核心"代码的一部分。尽管如此,用户经常寻找并使用有附加功能的主题以满足他们的需要。Codex中的这部分为希望修改扩展WordPress或者为WordPress做贡献的人提供了指导和参考。

你可能需要参考开发者文档常见问题


Programming Code Ahead

In the following articles you may encounter programming terms that are not explained in the usual level of detail required for understanding by non-programmers.

Although the alteration of the downloadable files for WordPress is limited to a few distinct programmers, every WordPress user has the ability to affect change in the core WordPress code, making WordPress highly customizable.
写在程序代码之前

你可能看到的下面的文章中,编程术语不会使用普通水平的语言为非编程人员进行详细的解释。

尽管可下载的WordPress文件仅限于一些特殊的程序员,每个WordPress用户都可以更改核心WordPress代码,这使得WordPress可以很自由的定制。


Theme Development

主题开发

Plugin Development

  • Writing a Plugin - Best starting place for learning about how to develop plugins
  • Plugin Resources - Comprehensive list of other references for plugin development
  • Plugin API - Hooks, Actions, and Filters to use in your Plugins (version 2.1; has links to older version articles)
  • Function Reference - Complete PHP function reference for WordPress (version 2.1, with links to previous versions)
  • Migrating Plugins and Themes - Contains information on how to upgrade your Plugin so it will work from version to version of WordPress
  • WordPress Coding Standards - General information about coding standards for WordPress development
  • Plugin Submission and Promotion - Once you have written your plugin, here are some hints on distributing it widely
  • Shortcode API - A tutorial and reference for the shortcode API (new in version 2.5)

插件开发

  • 写插件 – 这里是学习如何开发插件最好的入门
  • 插件资源 – 插件开发的其他参考内容全面的列表
  • 插件API -用在你的插件中的Hooks, Actions, 和Filters (2.1版; 有链接到旧的版本相关文章)
  • 函数参考 – 针对WordPress的完整的PHP函数参考 (2.1版, 含有到旧版本的链接)
  • 移动插件和主题 – 包含关于如何升级插件来使它适用于更新的版本的信息
  • WordPress编码标准 – 关于WordPress开发的编码标准的一般信息
  • 插件提交和发展 – 一旦你完成了你的插件,这里是一些关于广泛的发布插件的提示
  • 短代码API –shortcode API的指南和参考(2.5版的新内容)

Contributing to WordPress

  • Contributing to WordPress - Main starting point if you would like to contribute to core WordPress development, documentation, support, translations, or financial health
  • Automated Testing - Testing WordPress using the automated test suite and how to use the tools and write test cases.

为WordPress做贡献

  • 为WordPress做贡献 – 如果你想为WordPress核心开发,文档,支持,翻译或者财政做贡献,这里将是你最主要的起点
  • 自动化测试 – 使用自动测试工具进行WordPress测试以及如何使用这些工具和撰写测试案例

Forums, Lists, and Blogs

论坛, 列表和Blog

Other Information of Interest

  • Advanced Topics - Annotated list of many articles on advanced WordPress topics
  • Query Overview - Description of the WordPress query process used to find posts and display them
  • Reporting Bugs - Information on reporting and fixing WordPress bugs
  • Using Subversion - Introduction to SVN, the source code repository used by WordPress

另外一些感兴趣的信息

  • 高级话题 – 有关高级WordPress 话题的文章的注解列表
  • 查询总览 – 用来寻找文章并显示它们的WordPress 查询过程描述
  • 错误报告 – 有关报告和修正WordPress错误的信息
  • 使用子版本 – SVN和WordPress使用的源代码的介绍

External Resources

WordPress Source Code

外部资源

WordPress源代码

Other Resources

其他资源