forked from mpeshev/DX-Plugin-Base
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreadme.txt
executable file
·72 lines (50 loc) · 2.23 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
=== DX Plugin Base ===
Contributors: nofearinc, devrix
Tags: plugin, base, startup, framework, foundation, skeleton, backbone, starter, sample, example
Requires at least: 3.1
Tested up to: 4.3
Stable tag: 1.6
License: GPLv2 or later
Startup plugin code for new plugin, including the archetype of standard features, admin and core functions to be used in new plugins.
== Description ==
This is a fully-functional sample skeleton plugin for plugin developers.
[youtube https://www.youtube.com/watch?v=FfQpGD_MUbk]
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.
== Changelog ==
= 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