forked from devinsays/options-framework-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme.txt
executable file
·244 lines (172 loc) · 7.38 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
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
=== Options Framework ===
Contributors: downstairsdev
Tags: options, theme options
Donate link: http://bit.ly/options-donate-2
Requires at least: 3.6
Tested up to: 4.1
Stable tag: 1.8.2
License: GPLv2
== Description ==
The Options Framework Plugin makes it easy to include an options panel in any WordPress theme. It was built so developers can concentrate on making the actual theme rather than spending time creating an options panel from scratch. It's free to use in both commercial and personal projects, just like WordPress itself.
= Options Include =
* text input
* textarea
* checkbox
* select
* radio button
* upload (image uploader)
* images (use images instead of radio buttons)
* background (a set of options to define a background)
* multicheck
* color (a jquery color picker)
* typography (a set of options to define typography)
* editor
= Learn More =
Please visit [http://wptheming.com/options-framework-plugin](http://wptheming.com/options-framework-plugin) for a full description of how to define and use the theme options.
== Installation ==
If your theme already has options enabled, they will show up under the appearance menu.
If your theme doesn't have options, you can define them to options.php of your theme and they will instantly show up. For more on how to do this, visit [http://wptheming.com/options-framework-plugin](http://wptheming.com/options-framework-plugin).
== Frequently Asked Questions ==
= How do I build options for my own theme? =
Download the development version from GitHub [https://github.com/devinsays/options-framework-plugin](https://github.com/devinsays/options-framework-plugin) and copy the "options-check" folder into your themes directory.
The "Options Check" theme is a blueprint for how to work with options. It includes an example of every option available in the panel and sample output in the theme.
You can also watch the video screencast I have at [http://wptheming.com/options-framework-plugin](http://wptheming.com/options-framework-plugin).
= What options are available to use? =
* text input
* textarea
* checkbox
* select
* radio buttons
* upload (image/file uploader)
* images (use images instead of radio buttons)
* background (a set of options to define a background)
* multicheck
* colorpicker
* typography (a set of options to define typography)
* editor
== Screenshots ==
1. An example of the "Advanced Options" tab in the "Options Check" theme using this plugin.
== Changelog ==
= Development =
* Update: Include link button in tinyMCE (props @rosswintle)
= 1.8.3 =
* Update: sanitization of info option and description field
* Update: Sanitization of editor field
= 1.8.2 =
* Fix for translation textdomain
= 1.8.1 =
* Fix for colorpicker spacing
* Better sanitization of upload option
* Update translation .pot
* Updated Portuguese translations by @pedro-mendonca
* Indonesian translations props @aryaprakasa)
* Use filtered values for optionsframework_admin_bar
= 1.8.0 =
* Increase default width of text inputs
* Rename add_options_page function to resolve automatic theme check conflicts
* Check isset for $value['desc'] in info option
* Only load styles on options page (props @AndorChen)
* Fix loading of translation files (props @weslly)
* Update Portuguese (BR) translations (props @weslly)
* Add Danish translations (props @Tosak)
* Allow menu parent to be filtered (props @nvsnkv)
= 1.7.1 =
* Fix to use option name if set in options.php
= 1.7.0 =
* Update to class based plugin (large code refactor)
* Drop color picker support for older versions of WordPress
* Better support for new admin interface in WordPress 3.8
* Allow option pages without tabs
= 1.6.1 =
* Fix for update notice location
* Use selected and checked functions more consistently
* Reuse media modal for uploads
* Portuguese translations (props @xipasduarte)
= 1.6 =
* Allow media buttons in the editor option
* JS/CSS should only load on options page
* Menu tabs should be filterable
* Menu settings filter
* Fix js bindings for upload modal (props @themeblvd)
= 1.5.2 =
* Removed update routine to remove "optionsframework" post type
= 1.5.1 =
* Temporarily removed update routine
= 1.5 =
* Updated width of text input
* New media uploader
* Dropped custom post types for file attachments
* Update routine to remove unused 'optionsframework' post types
* Updated IDs for .tabs and .groups
* Italian translations (andreabersi.com)
* Russian translations (verha.net)
* Swedish translations (kjeell.se)
= 1.4 =
* Add missing sanitization to typography color (@weplantmedia)
* New colorpicker (props @mattweibe for getting this in WordPress core)
* Farsi translations (@vahidd.com)
* Added password option type (props @neojp)
* Allow ids to passed to tabs (props @themeblvd)
* Added optionsframework_after_validate hook (h/t @vanpop and @pryley)
= 1.3 =
* Allow options to save when set by theme customizer
* Save checkbox options to boolean false rather than "0"
* Added optionsframework_after hook
* Hungarian translations by kardiweb.org
= 1.2 =
* Fix for font_size santization
* Added internationalization support (@weslly)
* Portuguese translations (@weslly)
* Spanish translations (@sksmatt)
* Make uploader post type non-public (@samargulies)
* ID can now be passed on info option for styling purposes
= 1.1 =
* Added support for wp_editor
* Updated textarea settings to allow rows parameter
* Updated cursor:default for h3 metabox, props @yurifedorov
* Filtering of typography options (@mattwiebe)
* Updated methods for typography options
= 1.0 =
* Added filters for entire options array (props @inxilpro)
* Added a filter for options.php location (props @mattwiebe)
* Option header (h4) will not display in panel if name !isset (props @alepee)
= 0.9 =
* Load thickbox using site_url() to allow for https (props @samargulies)
* Change santization to use $allowedposttags for textarea and info
* Display notice if theme doesn't support the Options Framework
* Single checkboxes now use labels
* CSS updates for formatting long labels
* Allows dashes in the options id (props @mantone)
* Uses add_theme_page over add_submenu_page (props @enile8)
= 0.8 =
* Saves tab states using local storage
* Style updates WordPress 3.2 release
* Added sanitization filter for info (of_sanitize_allowedtags)
= 0.7 =
* Added filtering for recognized arrays (like Font Face)
* Using isset rather than !empty to return of_get_option
* Significant updates for setting and restoring defaults
* Background option outputs no-repeat rather than none
= 0.6 =
* Introduces validation filters (props @_mfields)
* Better data sanitization and escaping (props @_mfields)
* Updates labels in options-interface.php
* Changes how checkboxes saved in database ("0" or "1")
* Stores typography, backgrounds and multichecks directly as arrays
* For full description, see: http://wptheming.com/2011/05/options-framework-0-6/
= 0.5 =
* Fixed errors when more than one multicheck options is used
* Updated optionsframework_setdefaults so defaults actually save on first run
* Require that all options have lowercase alphanumeric ids
* Added link to options from the WordPress admin bar
= 0.4 =
* Updated multicheck option to save keys rather than values
* Unset default array options after each output in optionsframework_setdefaults
= 0.3 =
* White listed options for increased security
* Fixed errors with checkbox and select boxes
* Improved the multicheck option and changed format
= 0.2 =
* Uploaded to the WordPress repository
= 0.1 =
* Initial release