WordPress: Plugin Resources:修订间差异

来自站长百科
跳转至: 导航、​ 搜索
(新页面: __TOC__ WordPress:Plugins are tools to extend the functionality of WordPress. The core of WordPress is designed to be lean, to maximize flexibility and minimize code bloat. Plugins o...)
 
无编辑摘要
第2行: 第2行:


[[WordPress:Plugins]] are tools to extend the functionality of WordPress. The core of WordPress is designed to be lean, to maximize flexibility and minimize code bloat. Plugins offer custom functions and features so that each user can tailor their site to their specific needs.  
[[WordPress:Plugins]] are tools to extend the functionality of WordPress. The core of WordPress is designed to be lean, to maximize flexibility and minimize code bloat. Plugins offer custom functions and features so that each user can tailor their site to their specific needs.  
[[WordPress:Plugins|插件]]是工具,用来扩展WordPress的功能。WordPress设计的核心理念是设计要精简,要有最大的灵活性,最小化的代码冗余。插件提供了自定义的功能和特色,这样每个用户可以自定义站点来符合他们的特别需求。


This article is a comprehensive list of resources related to plugins and plugin development.
This article is a comprehensive list of resources related to plugins and plugin development.
本文是有关插件和插件发展的资源的全面列表。


==General Plugin References==
==General Plugin References==
==一般的插件参考==


* [[WordPress:Managing Plugins]] - How to find, install, manage, and troubleshoot plugins
* [[WordPress:Managing Plugins]] - How to find, install, manage, and troubleshoot plugins
* [[WordPress:Plugins]] - WordPress plugin list, and links to other plugin repositories
* [[WordPress:Plugins]] - WordPress plugin list, and links to other plugin repositories
* [[WordPress:Plugins/Plugin Compatibility]] - List of which plugins are compatible with which versions of WordPress
* [[WordPress:Plugins/Plugin Compatibility]] - List of which plugins are compatible with which versions of WordPress
* [[WordPress:Managing Plugins|管理插件]] –怎样找到插件,安装插件,管理站点,发现并且解决插件问题
* [[WordPress:Plugins|插件]] - WordPress 插件列表, 以及连接到其它的插件集的链接
* [[WordPress:Plugins/Plugin Compatibility|插件/插件兼容性]] – 哪个插件与哪个版本的WordPress是兼容的列表


==Plugin Development Basics==
==Plugin Development Basics==
==插件发展要素==


* [[WordPress:Writing a Plugin]] - Best starting place for learning about how to develop Plugins
* [[WordPress:Writing a Plugin]] - Best starting place for learning about how to develop Plugins
* [[WordPress:Writing a Plugin|编写一个插件]] –关于学习怎样发展插件的最好的启蒙文章
* [[WordPress:Plugin API]] - Description of how to use Hooks (Actions and Filters) in your Plugins, and WordPress functions that plugins can override.
* [[WordPress:Plugin API]] - Description of how to use Hooks (Actions and Filters) in your Plugins, and WordPress functions that plugins can override.
* [[WordPress:Plugin API|插件API]] –描述怎样使用你的插件中的Hooks(Actions和过滤器),怎样使用插件可以覆盖的WordPress函数。
* [[WordPress:Adding Administration Menus]] - How to add management menus to your plugin
* [[WordPress:Adding Administration Menus]] - How to add management menus to your plugin
* [[WordPress:Adding Administration Menus|添加管理菜单]] –怎样给你的插件添加管理菜单
* [[WordPress:Plugin Submission and Promotion]] - Once you have written your plugin, here are some hints on distributing it widely
* [[WordPress:Plugin Submission and Promotion]] - Once you have written your plugin, here are some hints on distributing it widely
* [[WordPress:Plugin Submission and Promotion|插件提交和宣传]]-你一旦编写了插件,下面有一些提示帮助你广泛地发行插件。
* [[WordPress:Migrating Plugins and Themes]] - Contains information on how to upgrade your Plugin so it will work from version to version of WordPress
* [[WordPress:Migrating Plugins and Themes]] - Contains information on how to upgrade your Plugin so it will work from version to version of WordPress
* [[WordPress:Migrating Plugins and Themes|移动插件和主题]] –包含怎样更新你的插件的信息,插件不断更新,在WordPress每个版本中都适用。


External Resources:
External Resources:
 
外部资源:
* [http://www.asymptomatic.net/archives/2005/02/22/1328/how-to-write-a-simple-wordpress-plugin/ How to Write a Simple WordPress Plugin]
* [http://www.asymptomatic.net/archives/2005/02/22/1328/how-to-write-a-simple-wordpress-plugin/ How to Write a Simple WordPress Plugin]
* [http://www.wp-plugins.net/faq.html#dev WordPress Plugins Database's FAQ on writing plugins]
* [http://www.wp-plugins.net/faq.html#dev WordPress Plugins Database's FAQ on writing plugins]
第39行: 第68行:
* [[WordPress:WordPress Coding Standards]] - General information about coding standards for WordPress development
* [[WordPress:WordPress Coding Standards]] - General information about coding standards for WordPress development
* [[WordPress:WordPress Deprecated Functions Hook]] - WordPress 2.4 adds two hooks for when deprecated functions are used, here is how to use them.
* [[WordPress:WordPress Deprecated Functions Hook]] - WordPress 2.4 adds two hooks for when deprecated functions are used, here is how to use them.
* [http://www.asymptomatic.net/archives/2005/02/22/1328/how-to-write-a-simple-wordpress-plugin/ 怎样编写一个简单的 WordPress 插件]
* [http://www.wp-plugins.net/faq.html#dev WordPress插件数据库关于怎样编写插件的常见问题解答]
*[http://fortes.com/2005/05/14/updating-wordpress-plugins-for-151 更新WordPress 插件来适用于1.5.1版本]
* [http://markjaquith.wordpress.com/2006/03/04/wp-tutorial-your-first-wp-plugin/ 你的第一个 Wordpress 插件(视频示范)]
*[http://www.digitalramble.com/2006/06/06/34/ 一个新插件的解析] [http://pixline.net/2006/10/anatomia-di-un-plugin-wordpress/ (traduzione italiana)]
* [http://www.randypeterman.com/wordpress/index.php?p=597 编写一个WordPress插件第一部分 Part I] 和[http://www.randypeterman.com/wordpress/index.php?p=648 第二部分]
* [http://amiworks.co.in/talk/simplified-ajax-for-wordpress-plugin-developers-using-jquery/ WordPress插件开发者使用Jquery,简单化的AJAX]
==插件发展 – 参考 ==
* [[WordPress:Plugin API/Filter Reference|插件API/过滤器参考]] - Reference list of filter hooks available in WordPress中拥有的过滤器hooks的参考列表
* [[WordPress:Plugin API/Action Reference|插件API/Action参考]] - WordPress拥有的action hooks 的列表参考
* [[WordPress:Function Reference|函数参考]] – WordPress拥有的完全的PHP函数参考 ( 2.1版本, 有链接连接到先前的版本)
* [[WordPress:Option Reference|选项参考]] - WordPress 默认安装的选项的长列表(2.3.1版本, 没有链接连接到先前的版本)
* [[WordPress:Database Description|数据库描述]] –WordPress数据库的描述 (2.1版本; 有链接连接到先前版本的文章)
* [[WordPress:Query Overview|查询浏览]] – 描述WordPress查询的过程,用于查找文章并且显示文章
* [[WordPress:WordPress Coding Standards|WordPress编码标准]] – 关于WordPress发展编码标准的概括信息
* [[WordPress:WordPress Deprecated Functions Hook|WordPress Deprecated Functions Hook]] - WordPress 2.4 添加了两个hooks,供deprecated 函数使用,下面是关于怎样使用这些hooks。


External Resources:
External Resources:
第47行: 第112行:
* [http://adambrown.info/p/wp_hooks WordPress Hooks Database], a database of all WordPress' hooks, showing which version they come from, and linking to the source code spots that use them
* [http://adambrown.info/p/wp_hooks WordPress Hooks Database], a database of all WordPress' hooks, showing which version they come from, and linking to the source code spots that use them
* [http://blog.taragana.com/index.php/archive/wordpress-2x-hooks-for-action-comprehensive-list-for-plugin-and-theme-developers/ Angsuman's list], a comprehensive listing of WordPress action hooks with documentation and source code location information. It contains all documented and undocumented action hooks in WordPress 2.0.
* [http://blog.taragana.com/index.php/archive/wordpress-2x-hooks-for-action-comprehensive-list-for-plugin-and-theme-developers/ Angsuman's list], a comprehensive listing of WordPress action hooks with documentation and source code location information. It contains all documented and undocumented action hooks in WordPress 2.0.
外部资源:
*[http://asymptomatic.net/2005/04/22/1503/ezstatic-20-and-pluggable-functions/ 可插入的函数]
* [http://codex.wordpress.org/User:Skippy Skippy的列表] 关于actions和过滤器
* [http://wphooks.flatearth.org WordPress Hooks], 所有WordPress的hooks的目录,这个目录在不断变化
* [http://adambrown.info/p/wp_hooks WordPress Hooks 数据库], WordPress所有的hooks的数据库,显示了这些hooks分别是来自于哪个版本的, 并且链接到使用这些hooks的源代码spots
* [http://blog.taragana.com/index.php/archive/wordpress-2x-hooks-for-action-comprehensive-list-for-plugin-and-theme-developers/ Angsuman的列表], a comprehensive listing of WordPress action hooks的完整列表,拥有文件和源代码位置信息。包含了WordPress 2.0中所有的备有文件证明和不备有文件证明的action hooks.


==Plugin Development - Special Topics==
==Plugin Development - Special Topics==
第59行: 第144行:
* [[WordPress:TinyMCE Custom Buttons]] - How to add functionality to the TinyMCE Visual/HTML editor for post/page content
* [[WordPress:TinyMCE Custom Buttons]] - How to add functionality to the TinyMCE Visual/HTML editor for post/page content


==插件发展 – 特别话题==
* [[WordPress:Creating Admin Themes|创建管理主题]] – 怎样创建一个插件,来更改管理版面的外观
* [[WordPress:Creating Tables with Plugins|为插件创建表格]] – 怎样将你的插件的数据储存在WordPress数据库中的一个新的表格中
* [[WordPress:Custom Queries|自定义查询]] – 怎样执行一个自定义查询,使得一个插件能够控制显示那篇文章以及以什么样的顺序来显示文章
* [[WordPress:AJAX in Plugin|插件中的AJAX]] – 怎样在管理界面或者面向访客的网页上将AJAX泛函性添加到你的插件上
* [[WordPress:Hacking WordPress|Hacking WordPress]] – WordPress其它类型的"hacks"
* [[WordPress:Creating Options Pages|创建选项网页]] – 怎样简便地创建自定义选项网页并且让WordPress为你完成所有的艰难的任务!
* [[WordPress:Modifying Options Pages|修改选项网页]] – 怎样修改当前存在的选项网页,在这个网页上添加选项
* [[WordPress:TinyMCE Custom Buttons|TinyMCE自定义按钮]] – 怎样为文章/网页内容,在TinyMCE Visual/HTML编辑上添加泛函性
External Resources:  
External Resources:  
外部资源:


* [http://markjaquith.wordpress.com/2006/06/02/wordpress-203-nonces/ Securing your plugin with nonces]
* [http://markjaquith.wordpress.com/2006/06/02/wordpress-203-nonces/ Securing your plugin with nonces]
第67行: 第169行:
* [http://planetozh.com/projects/wordpress-functions-history/ WordPress Functions History Tool] (unofficial tool to help in finding when/if a function has been added/dropped)
* [http://planetozh.com/projects/wordpress-functions-history/ WordPress Functions History Tool] (unofficial tool to help in finding when/if a function has been added/dropped)
* [http://www.wp-fun.co.uk/wizzards/fun-with-plugins/ WP-Fun Plugin Generator] (Unofficial tool that creates a base plugin to speed up plugin development)
* [http://www.wp-fun.co.uk/wizzards/fun-with-plugins/ WP-Fun Plugin Generator] (Unofficial tool that creates a base plugin to speed up plugin development)
* [http://markjaquith.wordpress.com/2006/06/02/wordpress-203-nonces/ 用nonces保护你的插件]
* [http://automattic.com/code/widgets/plugins/ Widgetizing插件上的官方WordPress Widgets 网页]
* [http://guff.szub.net/2006/04/06/my-widget-example-wordpress-widget/ 编写一个 Widget插件]
* [http://blog.slaven.net.au/archives/2007/02/01/timing-is-everything-scheduling-in-wordpress/ 在WordPress 插件中使用日程安排]
* [http://planetozh.com/projects/wordpress-functions-history/ WordPress功能历史性工具] (非官方的工具帮助找到什么时候添加或者卸载一个功能)
* [http://www.wp-fun.co.uk/wizzards/fun-with-plugins/ WP-Fun 插件 Generator] (非官方的工具,创建一个基本的插件,来加快插件的发展)

2008年6月19日 (四) 11:42的版本

WordPress:Plugins are tools to extend the functionality of WordPress. The core of WordPress is designed to be lean, to maximize flexibility and minimize code bloat. Plugins offer custom functions and features so that each user can tailor their site to their specific needs.

插件是工具,用来扩展WordPress的功能。WordPress设计的核心理念是设计要精简,要有最大的灵活性,最小化的代码冗余。插件提供了自定义的功能和特色,这样每个用户可以自定义站点来符合他们的特别需求。

This article is a comprehensive list of resources related to plugins and plugin development.

本文是有关插件和插件发展的资源的全面列表。

General Plugin References

一般的插件参考


  • 管理插件 –怎样找到插件,安装插件,管理站点,发现并且解决插件问题
  • 插件 - WordPress 插件列表, 以及连接到其它的插件集的链接
  • 插件/插件兼容性 – 哪个插件与哪个版本的WordPress是兼容的列表

Plugin Development Basics

插件发展要素

  • WordPress:Plugin API - Description of how to use Hooks (Actions and Filters) in your Plugins, and WordPress functions that plugins can override.
  • 插件API –描述怎样使用你的插件中的Hooks(Actions和过滤器),怎样使用插件可以覆盖的WordPress函数。
  • 移动插件和主题 –包含怎样更新你的插件的信息,插件不断更新,在WordPress每个版本中都适用。

External Resources: 外部资源:

Plugin Development - Reference




插件发展 – 参考

  • 插件API/过滤器参考 - Reference list of filter hooks available in WordPress中拥有的过滤器hooks的参考列表
  • 插件API/Action参考 - WordPress拥有的action hooks 的列表参考
  • 函数参考 – WordPress拥有的完全的PHP函数参考 ( 2.1版本, 有链接连接到先前的版本)
  • 选项参考 - WordPress 默认安装的选项的长列表(2.3.1版本, 没有链接连接到先前的版本)
  • 数据库描述 –WordPress数据库的描述 (2.1版本; 有链接连接到先前版本的文章)
  • 查询浏览 – 描述WordPress查询的过程,用于查找文章并且显示文章
  • WordPress编码标准 – 关于WordPress发展编码标准的概括信息
  • WordPress Deprecated Functions Hook - WordPress 2.4 添加了两个hooks,供deprecated 函数使用,下面是关于怎样使用这些hooks。







External Resources:

  • Pluggable Functions
  • Skippy's list of actions and filters
  • WordPress Hooks, a work in progress directory of all of WordPress’ hooks.
  • WordPress Hooks Database, a database of all WordPress' hooks, showing which version they come from, and linking to the source code spots that use them
  • Angsuman's list, a comprehensive listing of WordPress action hooks with documentation and source code location information. It contains all documented and undocumented action hooks in WordPress 2.0.




外部资源:

  • 可插入的函数
  • Skippy的列表 关于actions和过滤器
  • WordPress Hooks, 所有WordPress的hooks的目录,这个目录在不断变化
  • WordPress Hooks 数据库, WordPress所有的hooks的数据库,显示了这些hooks分别是来自于哪个版本的, 并且链接到使用这些hooks的源代码spots
  • Angsuman的列表, a comprehensive listing of WordPress action hooks的完整列表,拥有文件和源代码位置信息。包含了WordPress 2.0中所有的备有文件证明和不备有文件证明的action hooks.




Plugin Development - Special Topics




插件发展 – 特别话题

  • 创建管理主题 – 怎样创建一个插件,来更改管理版面的外观
  • 为插件创建表格 – 怎样将你的插件的数据储存在WordPress数据库中的一个新的表格中
  • 自定义查询 – 怎样执行一个自定义查询,使得一个插件能够控制显示那篇文章以及以什么样的顺序来显示文章
  • 插件中的AJAX – 怎样在管理界面或者面向访客的网页上将AJAX泛函性添加到你的插件上
  • Hacking WordPress – WordPress其它类型的"hacks"
  • 创建选项网页 – 怎样简便地创建自定义选项网页并且让WordPress为你完成所有的艰难的任务!
* 修改选项网页 – 怎样修改当前存在的选项网页,在这个网页上添加选项

External Resources:

外部资源: