Title: DX Plugin Base
Author: Mario Peshev
Published: <strong>2012 年 2 月 8 日</strong>
Last modified: 2015 年 8 月 21 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://s.w.org/plugins/geopattern-icon/dx-plugin-base.svg)

# DX Plugin Base

 由 [Mario Peshev](https://profiles.wordpress.org/nofearinc/) 開發

[下載](https://downloads.wordpress.org/plugin/dx-plugin-base.1.6.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/dx-plugin-base/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/dx-plugin-base/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/dx-plugin-base/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/dx-plugin-base/#developers)

 [技術支援](https://wordpress.org/support/plugin/dx-plugin-base/)

## 外掛說明

This is a fully-functional sample skeleton plugin for plugin developers.

It serves as a startup code providing reference and working codebase for:

 * defining custom post types and taxonomies
 * creating admin pages
 * sample code of the Settings API implementation for admin pages
 * registration of activate/deactivate hooks
 * adding metaboxes on pages
 * creating sample shortcode
 * creating sample widget
 * creating AJAX requests storing sample data in the database
 * creating AJAX requests for fetching remote data with the HTTP API
 * adding frontend styles/scripts the right way
 * adding admin styles/scripts the right way
 * defining common constants for further use

and more. **Use it freely as your plugin startup snippet**.

Take the code as is for test and learning or use it when creating plugins for a 
solid base. To be extended with
 widget and shortcode samples.

## 安裝方式

Upload the DX Plugin Base plugin to your blog and activate it. It would work as 
is.

Extend or comment whenever appropriate based on your assignment.

## 常見問題集

  Is it compatible with latest WordPress?

Yes, it is, as well as with the latest PHP.

I’ve removed the ‘pass-by-reference’ call for all array( $this, … ) entries as it’s
deprecated since 5.3.0. If you happen to use 5.2.4, you can replace all $this in
arrays with &$this or better update PHP version.

## 使用者評論

![](https://secure.gravatar.com/avatar/7b753986081303fef27110029256c6314563b24ae54c551184fb0cdd74a21496?
s=60&d=retro&r=g)

### 󠀁[Good plugin base](https://wordpress.org/support/topic/good-plugin-base/)󠁿

 [Ivan Mudrik](https://profiles.wordpress.org/meatman89fs/) 2016 年 9 月 3 日

Nice starting for new plugin development.

 [ 閱讀全部 2 則使用者評論 ](https://wordpress.org/support/plugin/dx-plugin-base/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈DX Plugin Base〉的開發相關工作。

參與者

 *   [ Mario Peshev ](https://profiles.wordpress.org/nofearinc/)
 *   [ DevriX ](https://profiles.wordpress.org/devrix/)

[將〈DX Plugin Base〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/dx-plugin-base)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/dx-plugin-base/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/dx-plugin-base/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/dx-plugin-base/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/dx-plugin-base/)。

## 變更記錄

#### 1.6

 * Widget update for PHP compatibility with 4.3

#### 1.5

 * Add custom fields to metaboxes
 * Save custom fields

#### 1.4

 * Refreshing

#### 1.3

 * Add page with AJAX options
 * Introduce AJAX call for storing data to DB
 * Introduce AJAX call to fetch title from remote HTTP resouce

#### 1.2

 * Fix small issues and prevent some unexpected activities

#### 1.0

 * Initial commit

## 中繼資料

 *  版本 **1.6**
 *  最後更新 **11 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 3.1 或更新版本 **
 *  已測試相容的 WordPress 版本 **4.3.34**
 *  語言
 * [English (US)](https://wordpress.org/plugins/dx-plugin-base/)
 * 標籤:
 * [BASE](https://tw.wordpress.org/plugins/tags/base/)[foundation](https://tw.wordpress.org/plugins/tags/foundation/)
   [framework](https://tw.wordpress.org/plugins/tags/framework/)[skeleton](https://tw.wordpress.org/plugins/tags/skeleton/)
   [startup](https://tw.wordpress.org/plugins/tags/startup/)
 *  [進階檢視](https://tw.wordpress.org/plugins/dx-plugin-base/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  2 個 5 星使用者評論     ](https://wordpress.org/support/plugin/dx-plugin-base/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/dx-plugin-base/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/dx-plugin-base/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/dx-plugin-base/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/dx-plugin-base/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/dx-plugin-base/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/dx-plugin-base/reviews/)

## 參與者

 *   [ Mario Peshev ](https://profiles.wordpress.org/nofearinc/)
 *   [ DevriX ](https://profiles.wordpress.org/devrix/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/dx-plugin-base/)