WordPress 中文文档
Plugin Resources
From WordPress Chinese
目录 |
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.
This article is a comprehensive list of resources related to plugins and plugin development.
[编辑]
General Plugin References
- Managing Plugins - How to find, install, manage, and troubleshoot plugins
- Plugins - WordPress plugin list, and links to other plugin repositories
- Plugins/Plugin Compatibility - List of which plugins are compatible with which versions of WordPress
[编辑]
Plugin Development Basics
- Writing a Plugin - Best starting place for learning about how to develop Plugins
- Plugin API - Description of how to use Hooks (Actions and Filters) in your Plugins, and WordPress functions that plugins can override.
- Adding Administration Menus - How to add management menus to your plugin
- Plugin Submission and Promotion - Once you have written your plugin, here are some hints on distributing it widely
- Migrating Plugins and Themes - Contains information on how to upgrade your Plugin so it will work from version to version of WordPress
External Resources:
- How to Write a Simple WordPress Plugin
- WordPress Plugins Database's FAQ on writing plugins
- Updating WordPress Plugins for 1.5.1
- Your First Wordpress Plugin (video demonstration)
- Anatomy of a new Plugin (traduzione italiana)
- Writing a WordPress Plugin Part I and Part II
[编辑]
Plugin Development - Reference
- Plugin API/Filter Reference - Reference list of filter hooks available in WordPress
- Plugin API/Action Reference - Reference list of action hooks available in WordPress
- Function Reference - Complete PHP function reference for WordPress (version 2.1, with links to previous versions)
- Option Reference - Large list of options that WordPress installs by default (version 2.3.1, no links to previous versions)
- Database Description - Description of the WordPress Database (version 2.1; has links to older version articles)
- Query Overview - Description of the WordPress query process used to find posts and display them
- WordPress Coding Standards - General information about coding standards for WordPress development
- WordPress Deprecated Functions Hook - WordPress 2.4 adds two hooks for when deprecated functions are used, here is how to use them.
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.
[编辑]
Plugin Development - Special Topics
- Creating Admin Themes - How to create a Plugin that changes the look of the Admin section
- Creating Tables with Plugins - How to store your plugin's data in a new table in the WordPress database
- Custom Queries - How to implement custom queries that let a plugin control which posts are displayed and in what order
- AJAX in Plugins - How to add AJAX functionality to your plugin, in the administration screens or viewer-facing pages
- Hacking WordPress - Other types of "hacks" for WordPress
- Creating_Options_Pages - How to easily create custom options pages and have WordPress do all the hard work for you!
External Resources:
- Securing your plugin with nonces
- Official WordPress Widgets page on Widgetizing plugins
- Writing a Widget Plugin
- Using event scheduling in WordPress Plugins
- WordPress Functions History Tool (unofficial tool to help in finding when/if a function has been added/dropped)
- WP-Fun Plugin Generator (Unofficial tool that creates a base plugin to speed up plugin development)
