Title: DX Plugin Base
Author: Mario Peshev
Published: <strong>8. februar, 2012</strong>
Last modified: 21. august, 2015

---

Søg plugins

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

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

# DX Plugin Base

 Af [Mario Peshev](https://profiles.wordpress.org/nofearinc/)

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

 * [Detaljer](https://da.wordpress.org/plugins/dx-plugin-base/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/dx-plugin-base/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/dx-plugin-base/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/dx-plugin-base/#developers)

 [Support](https://wordpress.org/support/plugin/dx-plugin-base/)

## Beskrivelse

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.

## Installation

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.

## FAQ

  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.

## Anmeldelser

![](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. september, 2016

Nice starting for new plugin development.

 [ Læs alle 2 anmeldelser ](https://wordpress.org/support/plugin/dx-plugin-base/reviews/)

## Bidragsydere & udviklere

“DX Plugin Base” er open source-software. Følgende personer har bidraget til dette
plugin.

Bidragsydere

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

[Oversæt “DX Plugin Base” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/dx-plugin-base)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/dx-plugin-base/), tjek
[SVN repository](https://plugins.svn.wordpress.org/dx-plugin-base/), eller abonner
på [udviklerloggen](https://plugins.trac.wordpress.org/log/dx-plugin-base/) via 
[RSS](https://plugins.trac.wordpress.org/log/dx-plugin-base/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

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

 *  Version **1.6**
 *  Senest opdateret **11 år siden**
 *  Aktive installationer **10+**
 *  WordPress-version ** 3.1 eller højere **
 *  Testet op til **4.3.34**
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/dx-plugin-base/)
 * Tags
 * [BASE](https://da.wordpress.org/plugins/tags/base/)[foundation](https://da.wordpress.org/plugins/tags/foundation/)
   [framework](https://da.wordpress.org/plugins/tags/framework/)[skeleton](https://da.wordpress.org/plugins/tags/skeleton/)
   [startup](https://da.wordpress.org/plugins/tags/startup/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/dx-plugin-base/advanced/)

## Bedømmelser

 5 ud af 5 stjerner.

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

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

[Se alle anmeldelser](https://wordpress.org/support/plugin/dx-plugin-base/reviews/)

## Bidragsydere

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

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/dx-plugin-base/)