OptionTree - Version 1.1.8.1

Version Description

  • Removed get_option_tree() in the WordPress admin area due to theme conflicts.
  • Removed demo files in the assets folder at the request of WordPress
Download this release

Release Info

Developer valendesigns
Plugin Icon wp plugin OptionTree
Version 1.1.8.1
Comparing to
See all releases

Code changes from version 1.1.8 to 1.1.8.1

assets/option-tree/layouts.txt DELETED
@@ -1 +0,0 @@
1
- YTozOntzOjEzOiJhY3RpdmVfbGF5b3V0IjtzOjc6ImRlZmF1bHQiO3M6NzoiZGVmYXVsdCI7czo1NTY6IllUb3hPVHA3Y3pveE5Ub2laMlZ1WlhKaGJGOWtaV1poZFd4MElqdHpPakE2SWlJN2N6bzVPaUowWlhoMFlteHZZMnNpTzNNNk1Eb2lJanR6T2pVNkltbHVjSFYwSWp0ek9qQTZJaUk3Y3pvNE9pSmphR1ZqYTJKdmVDSTdjem93T2lJaU8zTTZOVG9pY21Ga2FXOGlPM002TURvaUlqdHpPalk2SW5ObGJHVmpkQ0k3Y3pvd09pSWlPM002T0RvaWRHVjRkR0Z5WldFaU8zTTZNRG9pSWp0ek9qWTZJblZ3Ykc5aFpDSTdjem93T2lJaU8zTTZNVEU2SW1OdmJHOXljR2xqYTJWeUlqdHpPakE2SWlJN2N6bzRPaUpqWVhSbFoyOXllU0k3Y3pvd09pSWlPM002TVRBNkltTmhkR1ZuYjNKcFpYTWlPM002TURvaUlqdHpPak02SW5SaFp5STdjem93T2lJaU8zTTZORG9pZEdGbmN5STdjem93T2lJaU8zTTZORG9pY0c5emRDSTdjem93T2lJaU8zTTZOVG9pY0c5emRITWlPM002TURvaUlqdHpPalE2SW5CaFoyVWlPM002TURvaUlqdHpPalU2SW5CaFoyVnpJanR6T2pBNklpSTdjem94TVRvaVkzVnpkRzl0WDNCdmMzUWlPM002TURvaUlqdHpPakV5T2lKamRYTjBiMjFmY0c5emRITWlPM002TURvaUlqdDkiO3M6NzoidGVzdGluZyI7czo1NTY6IllUb3hPVHA3Y3pveE5Ub2laMlZ1WlhKaGJGOWtaV1poZFd4MElqdHpPakE2SWlJN2N6bzVPaUowWlhoMFlteHZZMnNpTzNNNk1Eb2lJanR6T2pVNkltbHVjSFYwSWp0ek9qQTZJaUk3Y3pvNE9pSmphR1ZqYTJKdmVDSTdjem93T2lJaU8zTTZOVG9pY21Ga2FXOGlPM002TURvaUlqdHpPalk2SW5ObGJHVmpkQ0k3Y3pvd09pSWlPM002T0RvaWRHVjRkR0Z5WldFaU8zTTZNRG9pSWp0ek9qWTZJblZ3Ykc5aFpDSTdjem93T2lJaU8zTTZNVEU2SW1OdmJHOXljR2xqYTJWeUlqdHpPakE2SWlJN2N6bzRPaUpqWVhSbFoyOXllU0k3Y3pvd09pSWlPM002TVRBNkltTmhkR1ZuYjNKcFpYTWlPM002TURvaUlqdHpPak02SW5SaFp5STdjem93T2lJaU8zTTZORG9pZEdGbmN5STdjem93T2lJaU8zTTZORG9pY0c5emRDSTdjem93T2lJaU8zTTZOVG9pY0c5emRITWlPM002TURvaUlqdHpPalE2SW5CaFoyVWlPM002TURvaUlqdHpPalU2SW5CaFoyVnpJanR6T2pBNklpSTdjem94TVRvaVkzVnpkRzl0WDNCdmMzUWlPM002TURvaUlqdHpPakV5T2lKamRYTjBiMjFmY0c5emRITWlPM002TURvaUlqdDkiO30=
 
assets/option-tree/theme-options.txt DELETED
@@ -1 +0,0 @@
1
- YToxOTp7czoxNToiZ2VuZXJhbF9kZWZhdWx0IjtzOjA6IiI7czo5OiJ0ZXh0YmxvY2siO3M6MDoiIjtzOjU6ImlucHV0IjtzOjA6IiI7czo4OiJjaGVja2JveCI7czowOiIiO3M6NToicmFkaW8iO3M6MDoiIjtzOjY6InNlbGVjdCI7czowOiIiO3M6ODoidGV4dGFyZWEiO3M6MDoiIjtzOjY6InVwbG9hZCI7czowOiIiO3M6MTE6ImNvbG9ycGlja2VyIjtzOjA6IiI7czo4OiJjYXRlZ29yeSI7czowOiIiO3M6MTA6ImNhdGVnb3JpZXMiO3M6MDoiIjtzOjM6InRhZyI7czowOiIiO3M6NDoidGFncyI7czowOiIiO3M6NDoicG9zdCI7czowOiIiO3M6NToicG9zdHMiO3M6MDoiIjtzOjQ6InBhZ2UiO3M6MDoiIjtzOjU6InBhZ2VzIjtzOjA6IiI7czoxMToiY3VzdG9tX3Bvc3QiO3M6MDoiIjtzOjEyOiJjdXN0b21fcG9zdHMiO3M6MDoiIjt9
 
assets/option-tree/theme-options.xml DELETED
@@ -1,175 +0,0 @@
1
- <?xml version="1.0"?>
2
- <wp_4_option_tree>
3
- <row>
4
- <id>1</id>
5
- <item_id>general_default</item_id>
6
- <item_title>Test Options</item_title>
7
- <item_desc></item_desc>
8
- <item_type>heading</item_type>
9
- <item_options></item_options>
10
- <item_sort>1</item_sort>
11
- </row>
12
- <row>
13
- <id>2</id>
14
- <item_id>textblock</item_id>
15
- <item_title>Textblock</item_title>
16
- <item_desc>&amp;lt;h3&amp;gt;Textblock&amp;lt;/h3&amp;gt;
17
- &amp;lt;p&amp;gt;Here is a &amp;lt;strong&amp;gt;textblock&amp;lt;/strong&amp;gt; with HTML in it. You can use this space to transition to the next section or subsection within a tab on the &amp;lt;em&amp;gt;Theme Options&amp;lt;/em&amp;gt; page. It&amp;#039;s use is strictly for the admin UI and is not for the front-end of the web site.&amp;lt;/p&amp;gt;</item_desc>
18
- <item_type>textblock</item_type>
19
- <item_options></item_options>
20
- <item_sort>3</item_sort>
21
- </row>
22
- <row>
23
- <id>3</id>
24
- <item_id>input</item_id>
25
- <item_title>Input</item_title>
26
- <item_desc>You can save a simple string here. Maybe a link to feedburner or your Twitter username.</item_desc>
27
- <item_type>input</item_type>
28
- <item_options></item_options>
29
- <item_sort>4</item_sort>
30
- </row>
31
- <row>
32
- <id>4</id>
33
- <item_id>checkbox</item_id>
34
- <item_title>Checkbox</item_title>
35
- <item_desc>You could ask a question with a checkbox. For example, do you want to activate asynchronous Google analytics?</item_desc>
36
- <item_type>checkbox</item_type>
37
- <item_options>yes</item_options>
38
- <item_sort>5</item_sort>
39
- </row>
40
- <row>
41
- <id>5</id>
42
- <item_id>radio</item_id>
43
- <item_title>Radio</item_title>
44
- <item_desc>You could ask a question with a radio input. For example, do you want to activate asynchronous Google analytics?</item_desc>
45
- <item_type>radio</item_type>
46
- <item_options>yes,no</item_options>
47
- <item_sort>6</item_sort>
48
- </row>
49
- <row>
50
- <id>6</id>
51
- <item_id>select</item_id>
52
- <item_title>Select</item_title>
53
- <item_desc>Use this to list different theme styles or choose some other important setting.</item_desc>
54
- <item_type>select</item_type>
55
- <item_options>yes,no</item_options>
56
- <item_sort>7</item_sort>
57
- </row>
58
- <row>
59
- <id>7</id>
60
- <item_id>textarea</item_id>
61
- <item_title>Textarea</item_title>
62
- <item_desc>Here users can add custom code or text for use in your theme.</item_desc>
63
- <item_type>textarea</item_type>
64
- <item_options>6</item_options>
65
- <item_sort>8</item_sort>
66
- </row>
67
- <row>
68
- <id>8</id>
69
- <item_id>upload</item_id>
70
- <item_title>Upload</item_title>
71
- <item_desc>Here you can upload any WordPress supported media. After uploading, hit the &amp;quot;Insert into Post&amp;quot; button. One caveat of this feature is that if you upload media on one site the URL will no be correct if you import the data to a new one. You&amp;#039;ll have to re-upload the media.</item_desc>
72
- <item_type>upload</item_type>
73
- <item_options></item_options>
74
- <item_sort>9</item_sort>
75
- </row>
76
- <row>
77
- <id>9</id>
78
- <item_id>colorpicker</item_id>
79
- <item_title>Colorpicker</item_title>
80
- <item_desc>This is a very self explanatory feature. Use it to change the color of something.</item_desc>
81
- <item_type>colorpicker</item_type>
82
- <item_options></item_options>
83
- <item_sort>10</item_sort>
84
- </row>
85
- <row>
86
- <id>10</id>
87
- <item_id>category</item_id>
88
- <item_title>Category</item_title>
89
- <item_desc>Choose from a list of categories and save as a single category ID for use in a function or loop.</item_desc>
90
- <item_type>category</item_type>
91
- <item_options></item_options>
92
- <item_sort>11</item_sort>
93
- </row>
94
- <row>
95
- <id>11</id>
96
- <item_id>categories</item_id>
97
- <item_title>Categories</item_title>
98
- <item_desc>Choose from a list of categories and save multiple category ID&amp;#039;s for use in a function or loop.</item_desc>
99
- <item_type>categories</item_type>
100
- <item_options></item_options>
101
- <item_sort>12</item_sort>
102
- </row>
103
- <row>
104
- <id>12</id>
105
- <item_id>tag</item_id>
106
- <item_title>Tag</item_title>
107
- <item_desc>Choose from a list of tags and save as a single tag ID for use in a function or loop.</item_desc>
108
- <item_type>tag</item_type>
109
- <item_options></item_options>
110
- <item_sort>13</item_sort>
111
- </row>
112
- <row>
113
- <id>13</id>
114
- <item_id>tags</item_id>
115
- <item_title>Tags</item_title>
116
- <item_desc>Choose from a list of tags and save as multiple tag ID&amp;#039;s for use in a function or loop.</item_desc>
117
- <item_type>tags</item_type>
118
- <item_options></item_options>
119
- <item_sort>14</item_sort>
120
- </row>
121
- <row>
122
- <id>14</id>
123
- <item_id>post</item_id>
124
- <item_title>Post</item_title>
125
- <item_desc>Choose from a list of posts and save as a single post ID for use in a function or loop.</item_desc>
126
- <item_type>post</item_type>
127
- <item_options></item_options>
128
- <item_sort>15</item_sort>
129
- </row>
130
- <row>
131
- <id>15</id>
132
- <item_id>posts</item_id>
133
- <item_title>Posts</item_title>
134
- <item_desc>Choose from a list of posts and save as multiple post ID&amp;#039;s for use in a function or loop.</item_desc>
135
- <item_type>posts</item_type>
136
- <item_options></item_options>
137
- <item_sort>16</item_sort>
138
- </row>
139
- <row>
140
- <id>16</id>
141
- <item_id>page</item_id>
142
- <item_title>Page</item_title>
143
- <item_desc>Choose from a list of pages and save as a single page ID for use in a function or loop.</item_desc>
144
- <item_type>page</item_type>
145
- <item_options></item_options>
146
- <item_sort>17</item_sort>
147
- </row>
148
- <row>
149
- <id>17</id>
150
- <item_id>pages</item_id>
151
- <item_title>Pages</item_title>
152
- <item_desc>Choose from a list of pages and save as multiple page ID&amp;#039;s for use in a function or loop.</item_desc>
153
- <item_type>pages</item_type>
154
- <item_options></item_options>
155
- <item_sort>18</item_sort>
156
- </row>
157
- <row>
158
- <id>18</id>
159
- <item_id>custom_post</item_id>
160
- <item_title>Custom Post</item_title>
161
- <item_desc>Choose from a list of any post type and save as a single ID for use in a function or loop.</item_desc>
162
- <item_type>custom_post</item_type>
163
- <item_options>attachment</item_options>
164
- <item_sort>19</item_sort>
165
- </row>
166
- <row>
167
- <id>19</id>
168
- <item_id>custom_posts</item_id>
169
- <item_title>Custom Posts</item_title>
170
- <item_desc>Choose from a list of any post type and save as multiple ID&amp;#039;s for use in a function or loop.</item_desc>
171
- <item_type>custom_posts</item_type>
172
- <item_options>attachment</item_options>
173
- <item_sort>20</item_sort>
174
- </row>
175
- </wp_4_option_tree>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
functions/functions.load.php CHANGED
@@ -8,7 +8,6 @@
8
  * @author Derek Herman
9
  */
10
  include( OT_PLUGIN_DIR . '/functions/functions.php' );
11
- include( OT_PLUGIN_DIR . '/functions/get-option-tree.php' );
12
 
13
  if ( is_admin() && isset( $_GET['page'] ) && strpos( '_' . $_GET['page'], 'option_tree' ) ) {
14
  include( OT_PLUGIN_DIR . '/functions/admin/export.php' );
@@ -31,5 +30,6 @@ if ( is_admin() && isset( $_GET['page'] ) && strpos( '_' . $_GET['page'], 'optio
31
  include( OT_PLUGIN_DIR . '/functions/admin/background.php' );
32
  include( OT_PLUGIN_DIR . '/functions/admin/typography.php' );
33
  include( OT_PLUGIN_DIR . '/functions/admin/css.php' );
34
- }
35
-
 
8
  * @author Derek Herman
9
  */
10
  include( OT_PLUGIN_DIR . '/functions/functions.php' );
 
11
 
12
  if ( is_admin() && isset( $_GET['page'] ) && strpos( '_' . $_GET['page'], 'option_tree' ) ) {
13
  include( OT_PLUGIN_DIR . '/functions/admin/export.php' );
30
  include( OT_PLUGIN_DIR . '/functions/admin/background.php' );
31
  include( OT_PLUGIN_DIR . '/functions/admin/typography.php' );
32
  include( OT_PLUGIN_DIR . '/functions/admin/css.php' );
33
+ } else if ( ! is_admin() ) {
34
+ include( OT_PLUGIN_DIR . '/functions/get-option-tree.php' );
35
+ }
index.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: OptionTree
4
  Plugin URI: http://wp.envato.com
5
  Description: Customizable WordPress Theme Options Admin Interface
6
- Version: 1.1.8
7
  Author: Derek Herman
8
  Author URI: http://valendesigns.com
9
  License: GPLv2
@@ -14,7 +14,7 @@ License: GPLv2
14
  *
15
  * @since 1.0.0
16
  */
17
- define( 'OT_VERSION', '1.1.8' );
18
  define( 'OT_PLUGIN_DIR', WP_PLUGIN_DIR . '/' . dirname( plugin_basename( __FILE__ ) ) );
19
  define( 'OT_PLUGIN_URL', WP_PLUGIN_URL . '/' . dirname( plugin_basename( __FILE__ ) ) );
20
 
3
  Plugin Name: OptionTree
4
  Plugin URI: http://wp.envato.com
5
  Description: Customizable WordPress Theme Options Admin Interface
6
+ Version: 1.1.8.1
7
  Author: Derek Herman
8
  Author URI: http://valendesigns.com
9
  License: GPLv2
14
  *
15
  * @since 1.0.0
16
  */
17
+ define( 'OT_VERSION', '1.1.8.1' );
18
  define( 'OT_PLUGIN_DIR', WP_PLUGIN_DIR . '/' . dirname( plugin_basename( __FILE__ ) ) );
19
  define( 'OT_PLUGIN_URL', WP_PLUGIN_URL . '/' . dirname( plugin_basename( __FILE__ ) ) );
20
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=accounts
4
  Tags: admin, theme options, options, admin interface, ajax
5
  Requires at least: 3.0
6
  Tested up to: 3.2.1
7
- Stable tag: 1.1.8
8
  License: GPLv2
9
 
10
  Extremely customizable Theme Options interface for WordPress.
@@ -17,6 +17,8 @@ With OptionTree you can create as many Theme Options as your project requires an
17
 
18
  Included is the ability to Import/Export all the theme options and data for packaging with custom themes or local development. With the Import/Export feature you can get a theme set up on a live server in minutes. Theme authors can now create different version of their themes and include them with the download. It makes setting up different theme styles & options easier than ever because a theme user installs the plugin and theme and either adds their own settings or imports your defaults.
19
 
 
 
20
  **Update**: Since v1.1.8 you can build custom CSS code that will automatically get inserted into dynamic.css (created by the server) or any file you choose, just be sure it's permissions are writable. As well, typography & background options were added with a ton of filters to extend them.
21
 
22
  **Update**: Since v1.1.7 you can create layouts (theme variations) and import/export those layouts. You can also activate them at anytime from the Theme Options page. Added an upload feature to the slider.
@@ -46,6 +48,10 @@ Sorry, but yes. OptionTree requires PHP5 to work correctly (so does WP 3.2+).
46
 
47
  == Changelog ==
48
 
 
 
 
 
49
  = 1.1.8 =
50
  * Fixed scrolling issue on extra tall pages
51
  * Added ability to show/hide settings & documentation via the User Profile page.
@@ -120,6 +126,9 @@ Sorry, but yes. OptionTree requires PHP5 to work correctly (so does WP 3.2+).
120
 
121
  == Upgrade Notice ==
122
 
 
 
 
123
  = 1.1.8 =
124
  Added Typography, Background, & CSS option types. Lots of way to extend them, as well.
125
 
4
  Tags: admin, theme options, options, admin interface, ajax
5
  Requires at least: 3.0
6
  Tested up to: 3.2.1
7
+ Stable tag: 1.1.8.1
8
  License: GPLv2
9
 
10
  Extremely customizable Theme Options interface for WordPress.
17
 
18
  Included is the ability to Import/Export all the theme options and data for packaging with custom themes or local development. With the Import/Export feature you can get a theme set up on a live server in minutes. Theme authors can now create different version of their themes and include them with the download. It makes setting up different theme styles & options easier than ever because a theme user installs the plugin and theme and either adds their own settings or imports your defaults.
19
 
20
+ **Update**: v1.1.8.1 Removed get_option_tree() in the WordPress admin area due to theme conflicts.
21
+
22
  **Update**: Since v1.1.8 you can build custom CSS code that will automatically get inserted into dynamic.css (created by the server) or any file you choose, just be sure it's permissions are writable. As well, typography & background options were added with a ton of filters to extend them.
23
 
24
  **Update**: Since v1.1.7 you can create layouts (theme variations) and import/export those layouts. You can also activate them at anytime from the Theme Options page. Added an upload feature to the slider.
48
 
49
  == Changelog ==
50
 
51
+ = 1.1.8.1 =
52
+ * Removed get_option_tree() in the WordPress admin area due to theme conflicts.
53
+ * Removed demo files in the assets folder at the request of WordPress
54
+
55
  = 1.1.8 =
56
  * Fixed scrolling issue on extra tall pages
57
  * Added ability to show/hide settings & documentation via the User Profile page.
126
 
127
  == Upgrade Notice ==
128
 
129
+ = 1.1.8.1 =
130
+ Removed get_option_tree() in the WordPress admin area due to theme conflicts.
131
+
132
  = 1.1.8 =
133
  Added Typography, Background, & CSS option types. Lots of way to extend them, as well.
134