Title: DX Plugin Base
Author: Mario Peshev
Published: <strong>8 Tháng 2, 2012</strong>
Last modified: 21 Tháng 8, 2015

---

Tìm kiếm plugin

Plugin này **chưa được cập nhật với 3 phiên bản mới nhất của WordPress**. Nó có 
thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress
mới nhất.

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

# DX Plugin Base

 Bởi [Mario Peshev](https://profiles.wordpress.org/nofearinc/)

[Tải về](https://downloads.wordpress.org/plugin/dx-plugin-base.1.6.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/dx-plugin-base/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/dx-plugin-base/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/dx-plugin-base/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/dx-plugin-base/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/dx-plugin-base/)

## Mô tả

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.

## Cài đặt

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.

## Hỏi đáp

  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.

## Đánh giá

![](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/) 3 Tháng 9, 2016

Nice starting for new plugin development.

 [ Đọc tất cả 2 đánh giá ](https://wordpress.org/support/plugin/dx-plugin-base/reviews/)

## Người đóng góp & Lập trình viên

“DX Plugin Base” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

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

[Dịch “DX Plugin Base” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/dx-plugin-base)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/dx-plugin-base/), check 
out [SVN repository](https://plugins.svn.wordpress.org/dx-plugin-base/), hoặc theo
dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/dx-plugin-base/)
qua [RSS](https://plugins.trac.wordpress.org/log/dx-plugin-base/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 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

## Meta

 *  Phiên bản **1.6**
 *  Cập nhật lần cuối **11 năm trước**
 *  Số lượt cài đặt **10+**
 *  Phiên bản WordPress ** 3.1 hoặc cao hơn **
 *  Đã kiểm tra lên đến **4.3.34**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/dx-plugin-base/)
 * Thẻ
 * [BASE](https://vi.wordpress.org/plugins/tags/base/)[foundation](https://vi.wordpress.org/plugins/tags/foundation/)
   [framework](https://vi.wordpress.org/plugins/tags/framework/)[skeleton](https://vi.wordpress.org/plugins/tags/skeleton/)
   [startup](https://vi.wordpress.org/plugins/tags/startup/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/dx-plugin-base/advanced/)

## Đánh giá

 5 trên 5 sao.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/dx-plugin-base/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/dx-plugin-base/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/dx-plugin-base/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/dx-plugin-base/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/dx-plugin-base/reviews/?filter=1)

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

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/dx-plugin-base/reviews/)

## Những người đóng góp

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

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/dx-plugin-base/)