-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathreadme.txt
More file actions
114 lines (76 loc) · 5.03 KB
/
readme.txt
File metadata and controls
114 lines (76 loc) · 5.03 KB
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
=== WDS Shortcodes ===
Contributors: WebDevStudios
Donate link: http://webdevstudios.com
Tags: shortcode button, shortcodes, cmb2, utility
Requires at least: 4.3
Tested up to: 4.3
Stable tag: 1.0.7
License: GPLv2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
== Description ==
WDS-Shortcodes gives developers the ability to easily register shortcodes with a corresponding button, so never again will your client ask, `What's that shortcode again?` Not only can you easily handle the button and shortcode registration, this also supports self-closing and wrapping shortcodes with a simple config flag.
Additionally, there is also built-in [CMB2](http://wordpress.org/plugins/cmb2/) support so you can use all your favorite fields.
For more info, [check out the wiki](https://github.com/WebDevStudios/WDS-Shortcodes/wiki).
To see a demo plugin, check out "[Cool Shortcode](https://github.com/jtsternberg/Cool-Shortcode)".
== Installation ==
= Manual Installation =
1. Upload the entire `/wds-shortcodes` directory to the `/wp-content/plugins/` directory.
2. Activate WDS Shortcodes through the 'Plugins' menu in WordPress.
== Frequently Asked Questions ==
* None as of yet
== Screenshots ==
1. Preview of a working CMB2 metabox
== Changelog ==
= 1.0.7 =
* Update for new version of shortcode button, where `ajax_parse_shortcode` is now an object method (vs class method).
= 1.0.6 =
* Update shortcode-button dependency. [See changelog](https://github.com/jtsternberg/Shortcode_Button#changelog).
= 1.0.5 =
* Update shortcode-button dependency. [See changelog](https://github.com/jtsternberg/Shortcode_Button#changelog).
= 1.0.4 =
* Update shortcode-button dependency to fix modal displaying before CSS loads.
= 1.0.3 =
* `WDS_Shortcode_Instances::get()` now accepts a secondary argument, `$index`, for selecing the exact object instance under the shortcode namespace.
= 1.0.2 =
* Add new method, `WDS_Shortcode::json_decode_att()`, for getting decoded json attribute values. Handles converting the pseudo-json format used when storing array field datat.
= 1.0.1 =
* Add new method, `WDS_Shortcode::bool_att()`, for getting boolean attribute values. Handles converting "false" and "0" strings to false.
* Undefined notice fix: Check if attribute value is a string before checking if it is json.
* Fix issue where faux json_encoded arrays were not being properly translated back to a php array.
= 1.0.0 =
* Update to be used as a library primarily (using [wp-lib-loader](https://github.com/jtsternberg/wp-lib-loader)). Will break back-compat for plugins extending the `WDS_Shortcode_Admin` class before the `'init'` hook.
= 0.1.3 =
* Update composer lock file and zip file after updating Shortcode_Button dependency.
= 0.1.2 =
* New method, `WDS_Shortcode::maybe_json()` which automatically converts attributes from the modifed JSON string [created by Shortcode_Button](https://github.com/jtsternberg/Shortcode_Button/commit/c186e98b2f94a1e565d85593033d9b2a499d9e8e#diff-6846d1b0c8144484af006af499cd053dR397) into a normal PHP array.
= 0.1.1 =
* Fix issues with ajax hooks not working (as they get hooked too late)
= 0.1.0 =
* First Release
== Upgrade Notice ==
= 1.0.7 =
* Update for new version of shortcode button, where `ajax_parse_shortcode` is now an object method (vs class method).
= 1.0.6 =
* Update shortcode-button dependency. [See changelog](https://github.com/jtsternberg/Shortcode_Button#changelog).
= 1.0.5 =
* Update shortcode-button dependency. [See changelog](https://github.com/jtsternberg/Shortcode_Button#changelog).
= 1.0.4 =
* Update shortcode-button dependency to fix modal displaying before CSS loads.
= 1.0.3 =
* `WDS_Shortcode_Instances::get()` now accepts a secondary argument, `$index`, for selecing the exact object instance under the shortcode namespace.
= 1.0.2 =
* Add new method, `WDS_Shortcode::json_decode_att()`, for getting decoded json attribute values. Handles converting the pseudo-json format used when storing array field datat.
= 1.0.1 =
* Add new method, `WDS_Shortcode::bool_att()`, for getting boolean attribute values. Handles converting "false" and "0" strings to false.
* Undefined notice fix: Check if attribute value is a string before checking if it is json.
* Fix issue where faux json_encoded arrays were not being properly translated back to a php array.
= 1.0.0 =
* Update to be used as a library primarily (using [wp-lib-loader](https://github.com/jtsternberg/wp-lib-loader)). Will break back-compat for plugins extending the `WDS_Shortcode_Admin` class before the `'init'` hook.
= 0.1.3 =
* Update composer lock file and zip file after updating Shortcode_Button dependency.
= 0.1.2 =
* New method, `WDS_Shortcode::maybe_json()` which automatically converts attributes from the modifed JSON string [created by Shortcode_Button](https://github.com/jtsternberg/Shortcode_Button/commit/c186e98b2f94a1e565d85593033d9b2a499d9e8e#diff-6846d1b0c8144484af006af499cd053dR397) into a normal PHP array.
= 0.1.1 =
* Fix issues with ajax hooks not working (as they get hooked too late)
= 0.1.0 =
* First Release