Version Description
- Hotfix - Added support for both upper and lower case conditions operator.
- Hotfix - Updated the color and font size of inline code.
- Hotfix - Fix an issue with IE filter and updated the style of the On/Off option type.
- Hotfix - Added opacity to radio images to improve distinction. Contributors via github @jetonr.
Download this release
Release Info
Developer | valendesigns |
Plugin | OptionTree |
Version | 2.2.2 |
Comparing to | |
See all releases |
Code changes from version 2.2.1 to 2.2.2
- assets/css/ot-admin.css +50 -58
- includes/ot-functions-admin.php +3 -3
- includes/ot-functions-docs-page.php +6 -0
- includes/ot-meta-box-api.php +1 -1
- includes/ot-settings-api.php +1 -1
- languages/option-tree.pot +382 -286
- ot-loader.php +2 -2
- readme.txt +8 -2
assets/css/ot-admin.css
CHANGED
@@ -395,7 +395,8 @@
|
|
395 |
---------------------------------------------------*/
|
396 |
#option-tree-settings-api code {
|
397 |
background-color: #f1f1f1;
|
398 |
-
color: #
|
|
|
399 |
}
|
400 |
#option-tree-settings-api pre {
|
401 |
font-size: 13px;
|
@@ -773,16 +774,19 @@ select.option-tree-ui-select option {
|
|
773 |
background: #fff;
|
774 |
border: 1px solid #ccc;
|
775 |
cursor: pointer;
|
|
|
776 |
padding: 5px;
|
777 |
-
border-radius: 3px;
|
778 |
-webkit-border-radius: 3px;
|
779 |
-
|
|
|
780 |
}
|
781 |
.type-radio-image .option-tree-ui-radio-images img.option-tree-ui-radio-image-selected,
|
782 |
.type-radio-image .option-tree-ui-radio-images img:hover {
|
783 |
border-color: #464646;
|
|
|
784 |
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.05);
|
785 |
-
|
|
|
786 |
}
|
787 |
|
788 |
/* --------------------------------------------------
|
@@ -1350,32 +1354,30 @@ ul.ot-gallery-list li img {
|
|
1350 |
}
|
1351 |
@media only screen {
|
1352 |
.on-off-switch {
|
1353 |
-
background-color:
|
1354 |
-
border: 1px solid #
|
1355 |
-
color: #
|
1356 |
display: block;
|
1357 |
-
font-family: sans-serif;
|
1358 |
font-size: 12px;
|
1359 |
font-weight: normal;
|
1360 |
height: 27px;
|
|
|
1361 |
position: relative;
|
1362 |
padding: 0;
|
1363 |
text-align: center;
|
1364 |
text-transform: uppercase;
|
1365 |
width: 100px;
|
1366 |
-webkit-border-radius: 2px;
|
1367 |
-
|
1368 |
-
|
1369 |
-webkit-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.05);
|
1370 |
-
|
1371 |
-
|
1372 |
}
|
1373 |
.on-off-switch * {
|
1374 |
-webkit-box-sizing: border-box;
|
1375 |
-
|
1376 |
-
|
1377 |
-
-o-box-sizing: border-box;
|
1378 |
-
box-sizing: border-box;
|
1379 |
}
|
1380 |
.on-off-switch input {
|
1381 |
position: absolute;
|
@@ -1394,19 +1396,20 @@ ul.ot-gallery-list li img {
|
|
1394 |
z-index: 2;
|
1395 |
}
|
1396 |
.on-off-switch input:last-of-type + label {
|
1397 |
-
color: #
|
1398 |
}
|
1399 |
.on-off-switch input:checked + label {
|
1400 |
-
color:
|
1401 |
-
|
|
|
|
|
1402 |
}
|
1403 |
.on-off-switch input:focus + label {
|
1404 |
outline: none;
|
1405 |
}
|
1406 |
.on-off-switch .slide-button {
|
1407 |
-
|
1408 |
-
border
|
1409 |
-
color: white;
|
1410 |
display: block;
|
1411 |
height: 29px;
|
1412 |
left: -1px;
|
@@ -1416,49 +1419,38 @@ ul.ot-gallery-list li img {
|
|
1416 |
top: -1px;
|
1417 |
width: 51px;
|
1418 |
z-index: 1;
|
1419 |
-
background-color: #2688b4;
|
1420 |
-
background-image: -moz-linear-gradient(top, #2a95c5, #21759b);
|
1421 |
-
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#2a95c5), to(#21759b));
|
1422 |
-
background-image: -webkit-linear-gradient(top, #2a95c5, #21759b);
|
1423 |
-
background-image: -o-linear-gradient(top, #2a95c5, #21759b);
|
1424 |
-
background-image: linear-gradient(to bottom, #2a95c5, #21759b);
|
1425 |
-
background-repeat: repeat-x;
|
1426 |
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ie-hex-str($startColor)', endColorstr='#ie-hex-str($endColor)', GradientType=0);
|
1427 |
-webkit-border-radius: 3px;
|
1428 |
-
|
1429 |
-
|
1430 |
-
-webkit-box-shadow: inset 0 1px 0
|
1431 |
-
|
1432 |
-
|
1433 |
-
-webkit-transition: all 0.
|
1434 |
-
|
1435 |
-
|
1436 |
-
transition: all 0.1s ease-out;
|
1437 |
}
|
1438 |
.on-off-switch input:last-of-type:checked ~ .slide-button {
|
1439 |
-
|
1440 |
-
border-
|
|
|
1441 |
left: 50px;
|
1442 |
-
|
1443 |
-
|
1444 |
-
|
1445 |
-
background-image: -webkit-linear-gradient(top, #c5402a, #9b3221);
|
1446 |
-
background-image: -o-linear-gradient(top, #c5402a, #9b3221);
|
1447 |
-
background-image: linear-gradient(to bottom, #c5402a, #9b3221);
|
1448 |
-
background-repeat: repeat-x;
|
1449 |
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ie-hex-str($startColor)', endColorstr='#ie-hex-str($endColor)', GradientType=0);
|
1450 |
}
|
|
|
|
|
1451 |
.on-off-switch {
|
1452 |
-
-webkit-animation:
|
1453 |
-
}
|
1454 |
-
|
1455 |
-
|
1456 |
-
|
1457 |
-
|
1458 |
-
to {
|
1459 |
-
position: relative;
|
1460 |
-
}
|
1461 |
}
|
|
|
|
|
|
|
1462 |
}
|
1463 |
|
1464 |
/* --------------------------------------------------
|
395 |
---------------------------------------------------*/
|
396 |
#option-tree-settings-api code {
|
397 |
background-color: #f1f1f1;
|
398 |
+
color: #333;
|
399 |
+
font-size: 12px;
|
400 |
}
|
401 |
#option-tree-settings-api pre {
|
402 |
font-size: 13px;
|
774 |
background: #fff;
|
775 |
border: 1px solid #ccc;
|
776 |
cursor: pointer;
|
777 |
+
opacity: 0.8;
|
778 |
padding: 5px;
|
|
|
779 |
-webkit-border-radius: 3px;
|
780 |
+
-moz-border-radius: 3px;
|
781 |
+
border-radius: 3px;
|
782 |
}
|
783 |
.type-radio-image .option-tree-ui-radio-images img.option-tree-ui-radio-image-selected,
|
784 |
.type-radio-image .option-tree-ui-radio-images img:hover {
|
785 |
border-color: #464646;
|
786 |
+
opacity: 1;
|
787 |
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.05);
|
788 |
+
-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.05);
|
789 |
+
box-shadow: 0 1px 3px rgba(0,0,0,0.05);
|
790 |
}
|
791 |
|
792 |
/* --------------------------------------------------
|
1354 |
}
|
1355 |
@media only screen {
|
1356 |
.on-off-switch {
|
1357 |
+
background-color: #fff;
|
1358 |
+
border: 1px solid #ccc;
|
1359 |
+
color: #333;
|
1360 |
display: block;
|
|
|
1361 |
font-size: 12px;
|
1362 |
font-weight: normal;
|
1363 |
height: 27px;
|
1364 |
+
margin: 2px 1px;
|
1365 |
position: relative;
|
1366 |
padding: 0;
|
1367 |
text-align: center;
|
1368 |
text-transform: uppercase;
|
1369 |
width: 100px;
|
1370 |
-webkit-border-radius: 2px;
|
1371 |
+
-moz-border-radius: 2px;
|
1372 |
+
border-radius: 2px;
|
1373 |
-webkit-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.05);
|
1374 |
+
-moz-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.05);
|
1375 |
+
box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.05);
|
1376 |
}
|
1377 |
.on-off-switch * {
|
1378 |
-webkit-box-sizing: border-box;
|
1379 |
+
-moz-box-sizing: border-box;
|
1380 |
+
box-sizing: border-box;
|
|
|
|
|
1381 |
}
|
1382 |
.on-off-switch input {
|
1383 |
position: absolute;
|
1396 |
z-index: 2;
|
1397 |
}
|
1398 |
.on-off-switch input:last-of-type + label {
|
1399 |
+
color: #333;
|
1400 |
}
|
1401 |
.on-off-switch input:checked + label {
|
1402 |
+
color: #333;
|
1403 |
+
}
|
1404 |
+
.on-off-switch input:last-of-type:checked + label {
|
1405 |
+
color: #fff;
|
1406 |
}
|
1407 |
.on-off-switch input:focus + label {
|
1408 |
outline: none;
|
1409 |
}
|
1410 |
.on-off-switch .slide-button {
|
1411 |
+
background: #b2d27e;
|
1412 |
+
border: 1px solid #7c9258;
|
|
|
1413 |
display: block;
|
1414 |
height: 29px;
|
1415 |
left: -1px;
|
1419 |
top: -1px;
|
1420 |
width: 51px;
|
1421 |
z-index: 1;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1422 |
-webkit-border-radius: 3px;
|
1423 |
+
-moz-border-radius: 3px;
|
1424 |
+
border-radius: 3px;
|
1425 |
+
-webkit-box-shadow: inset 0 1px 0 #c8eb8e, 0 1px 0 rgba(0,0,0,.08);
|
1426 |
+
-moz-box-shadow: inset 0 1px 0 #c8eb8e, 0 1px 0 rgba(0,0,0,.08);
|
1427 |
+
box-shadow: inset 0 1px 0 #c8eb8e, 0 1px 0 rgba(0,0,0,.08);
|
1428 |
+
-webkit-transition: all 0.2s ease-out;
|
1429 |
+
-moz-transition: all 0.2s ease-out;
|
1430 |
+
transition: all 0.2s ease-out;
|
|
|
1431 |
}
|
1432 |
.on-off-switch input:last-of-type:checked ~ .slide-button {
|
1433 |
+
background: #b73b27;
|
1434 |
+
border-color: #7f291b;
|
1435 |
+
color: #fff;
|
1436 |
left: 50px;
|
1437 |
+
-webkit-box-shadow: inset 0 1px 0 rgba(229,134,119,0.6), 0 1px 0 rgba(0,0,0,.15);
|
1438 |
+
-moz-box-shadow: inset 0 1px 0 rgba(229,134,119,0.6), 0 1px 0 rgba(0,0,0,.15);
|
1439 |
+
box-shadow: inset 0 1px 0 rgba(229,134,119,0.6), 0 1px 0 rgba(0,0,0,.15);
|
|
|
|
|
|
|
|
|
|
|
1440 |
}
|
1441 |
+
}
|
1442 |
+
@media only screen and (-webkit-max-device-pixel-ratio: 2) and (max-device-width: 1280px) {
|
1443 |
.on-off-switch {
|
1444 |
+
-webkit-animation: webkitSiblingBugfix infinite 1s;
|
1445 |
+
}
|
1446 |
+
}
|
1447 |
+
@-webkit-keyframes webkitSiblingBugfix {
|
1448 |
+
from {
|
1449 |
+
-webkit-transform: translate3d(0, 0, 0);
|
|
|
|
|
|
|
1450 |
}
|
1451 |
+
to {
|
1452 |
+
-webkit-transform: translate3d(0, 0, 0);
|
1453 |
+
}
|
1454 |
}
|
1455 |
|
1456 |
/* --------------------------------------------------
|
includes/ot-functions-admin.php
CHANGED
@@ -3389,7 +3389,7 @@ if ( ! function_exists( 'ot_settings_view' ) ) {
|
|
3389 |
</div>
|
3390 |
<div class="format-settings">
|
3391 |
<div class="format-setting type-text wide-desc">
|
3392 |
-
<div class="description">' . __( '<strong>Condition</strong>: Add a comma separated list of conditions
|
3393 |
<div class="format-setting-inner">
|
3394 |
<input type="text" name="' . esc_attr( $name ) . '[' . esc_attr( $key ) . '][condition]" value="' . ( isset( $setting['condition'] ) ? esc_attr( $setting['condition'] ) : '' ) . '" class="widefat option-tree-ui-input" autocomplete="off" />
|
3395 |
</div>
|
@@ -3397,7 +3397,7 @@ if ( ! function_exists( 'ot_settings_view' ) ) {
|
|
3397 |
</div>
|
3398 |
<div class="format-settings">
|
3399 |
<div class="format-setting type-select wide-desc">
|
3400 |
-
<div class="description">' . __( '<strong>
|
3401 |
<div class="format-setting-inner">
|
3402 |
<select name="' . esc_attr( $name ) . '[' . esc_attr( $key ) . '][operator]" value="' . $operator . '" class="option-tree-ui-select">
|
3403 |
<option value="and" ' . selected( $operator, 'and', false ) . '>' . __( 'and', 'option-tree' ) . '</option>
|
@@ -3689,7 +3689,7 @@ if ( ! function_exists( 'ot_list_item_view' ) ) {
|
|
3689 |
}
|
3690 |
|
3691 |
$conditions = ' data-condition="' . $field['condition'] . '"';
|
3692 |
-
$conditions.= isset( $field['operator'] ) && in_array( $field['operator'], array( 'and', 'or' ) ) ? ' data-operator="' . $field['operator'] . '"' : '';
|
3693 |
|
3694 |
|
3695 |
}
|
3389 |
</div>
|
3390 |
<div class="format-settings">
|
3391 |
<div class="format-setting type-text wide-desc">
|
3392 |
+
<div class="description">' . sprintf( __( '<strong>Condition</strong>: Add a comma separated list (no spaces) of conditions in which the field will be visible, leave this setting empty to always show the field. In these examples, <code>value</code> is a placeholder for your condition, which can be in the form of %s.', 'option-tree' ), '<code>field_id:is(value)</code>, <code>field_id:not(value)</code>, <code>field_id:contains(value)</code>, <code>field_id:less_than(value)</code>, <code>field_id:less_than_or_equal_to(value)</code>, <code>field_id:greater_than(value)</code>, or <code>field_id:greater_than_or_equal_to(value)</code>' ) . '</div>
|
3393 |
<div class="format-setting-inner">
|
3394 |
<input type="text" name="' . esc_attr( $name ) . '[' . esc_attr( $key ) . '][condition]" value="' . ( isset( $setting['condition'] ) ? esc_attr( $setting['condition'] ) : '' ) . '" class="widefat option-tree-ui-input" autocomplete="off" />
|
3395 |
</div>
|
3397 |
</div>
|
3398 |
<div class="format-settings">
|
3399 |
<div class="format-setting type-select wide-desc">
|
3400 |
+
<div class="description">' . __( '<strong>Operator</strong>: Choose the logical operator to compute the result of the conditions.', 'option-tree' ) . '</div>
|
3401 |
<div class="format-setting-inner">
|
3402 |
<select name="' . esc_attr( $name ) . '[' . esc_attr( $key ) . '][operator]" value="' . $operator . '" class="option-tree-ui-select">
|
3403 |
<option value="and" ' . selected( $operator, 'and', false ) . '>' . __( 'and', 'option-tree' ) . '</option>
|
3689 |
}
|
3690 |
|
3691 |
$conditions = ' data-condition="' . $field['condition'] . '"';
|
3692 |
+
$conditions.= isset( $field['operator'] ) && in_array( $field['operator'], array( 'and', 'AND', 'or', 'OR' ) ) ? ' data-operator="' . $field['operator'] . '"' : '';
|
3693 |
|
3694 |
|
3695 |
}
|
includes/ot-functions-docs-page.php
CHANGED
@@ -73,6 +73,12 @@ if ( ! function_exists( 'ot_type_creating_options' ) ) {
|
|
73 |
echo '<h4>'. __( 'CSS Class', 'option-tree' ) . ':</h4>';
|
74 |
echo '<p>' . __( 'Add and optional class to any option type.', 'option-tree' ) . '</p>';
|
75 |
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
echo '</div>';
|
77 |
|
78 |
echo '</div>';
|
73 |
echo '<h4>'. __( 'CSS Class', 'option-tree' ) . ':</h4>';
|
74 |
echo '<p>' . __( 'Add and optional class to any option type.', 'option-tree' ) . '</p>';
|
75 |
|
76 |
+
echo '<h4>'. __( 'Condition', 'option-tree' ) . ':</h4>';
|
77 |
+
echo '<p>' . sprintf( __( 'Add a comma separated list (no spaces) of conditions in which the field will be visible, leave this setting empty to always show the field. In these examples, %s is a placeholder for your condition, which can be in the form of %s.', 'option-tree' ), '<code>value</code>', '<code>field_id:is(value)</code>, <code>field_id:not(value)</code>, <code>field_id:contains(value)</code>, <code>field_id:less_than(value)</code>, <code>field_id:less_than_or_equal_to(value)</code>, <code>field_id:greater_than(value)</code>, or <code>field_id:greater_than_or_equal_to(value)</code>' ) . '</p>';
|
78 |
+
|
79 |
+
echo '<h4>'. __( 'Operator', 'option-tree' ) . ':</h4>';
|
80 |
+
echo '<p>' . sprintf( __( 'Choose the logical operator to compute the result of the conditions. Your options are %s and %s.', 'option-tree' ), '<code>and</code>', '<code>or</code>' ) . '</p>';
|
81 |
+
|
82 |
echo '</div>';
|
83 |
|
84 |
echo '</div>';
|
includes/ot-meta-box-api.php
CHANGED
@@ -111,7 +111,7 @@ if ( ! class_exists( 'OT_Meta_Box' ) ) {
|
|
111 |
if ( isset( $field['condition'] ) && ! empty( $field['condition'] ) ) {
|
112 |
|
113 |
$conditions = ' data-condition="' . $field['condition'] . '"';
|
114 |
-
$conditions.= isset( $field['operator'] ) && in_array( $field['operator'], array( 'and', 'or' ) ) ? ' data-operator="' . $field['operator'] . '"' : '';
|
115 |
|
116 |
}
|
117 |
|
111 |
if ( isset( $field['condition'] ) && ! empty( $field['condition'] ) ) {
|
112 |
|
113 |
$conditions = ' data-condition="' . $field['condition'] . '"';
|
114 |
+
$conditions.= isset( $field['operator'] ) && in_array( $field['operator'], array( 'and', 'AND', 'or', 'OR' ) ) ? ' data-operator="' . $field['operator'] . '"' : '';
|
115 |
|
116 |
}
|
117 |
|
includes/ot-settings-api.php
CHANGED
@@ -831,7 +831,7 @@ if ( ! class_exists( 'OT_Settings' ) ) {
|
|
831 |
if ( isset( $field['args']['condition'] ) && ! empty( $field['args']['condition'] ) ) {
|
832 |
|
833 |
$conditions = ' data-condition="' . $field['args']['condition'] . '"';
|
834 |
-
$conditions.= isset( $field['args']['operator'] ) && in_array( $field['args']['operator'], array( 'and', 'or' ) ) ? ' data-operator="' . $field['args']['operator'] . '"' : '';
|
835 |
|
836 |
}
|
837 |
|
831 |
if ( isset( $field['args']['condition'] ) && ! empty( $field['args']['condition'] ) ) {
|
832 |
|
833 |
$conditions = ' data-condition="' . $field['args']['condition'] . '"';
|
834 |
+
$conditions.= isset( $field['args']['operator'] ) && in_array( $field['args']['operator'], array( 'and', 'AND', 'or', 'OR' ) ) ? ' data-operator="' . $field['args']['operator'] . '"' : '';
|
835 |
|
836 |
}
|
837 |
|
languages/option-tree.pot
CHANGED
@@ -4,17 +4,17 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: \n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/option-tree\n"
|
7 |
-
"POT-Creation-Date: 2014-01-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
"PO-Revision-Date: 2014-MO-DA HO:MI+ZONE\n"
|
12 |
-
"Last-Translator:
|
13 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
|
15 |
#: includes/ot-functions-admin.php:50 includes/ot-functions-admin.php:51
|
16 |
#: includes/ot-functions-admin.php:157 includes/ot-functions-admin.php:181
|
17 |
-
#: includes/ot-functions.php:
|
18 |
msgid "Theme Options"
|
19 |
msgstr ""
|
20 |
|
@@ -141,246 +141,265 @@ msgstr ""
|
|
141 |
msgid "The Colorpicker only allows valid hexadecimal values."
|
142 |
msgstr ""
|
143 |
|
144 |
-
#: includes/ot-functions-admin.php:
|
145 |
msgid "Send to OptionTree"
|
146 |
msgstr ""
|
147 |
|
148 |
-
#: includes/ot-functions-admin.php:
|
149 |
-
#: includes/ot-functions-option-types.php:
|
150 |
-
#: includes/ot-functions-option-types.php:
|
151 |
msgid "Remove Media"
|
152 |
msgstr ""
|
153 |
|
154 |
-
#: includes/ot-functions-admin.php:
|
155 |
msgid "Are you sure you want to reset back to the defaults?"
|
156 |
msgstr ""
|
157 |
|
158 |
-
#: includes/ot-functions-admin.php:
|
159 |
msgid "You can't remove this! But you can edit the values."
|
160 |
msgstr ""
|
161 |
|
162 |
-
#: includes/ot-functions-admin.php:
|
163 |
msgid "Are you sure you want to remove this?"
|
164 |
msgstr ""
|
165 |
|
166 |
-
#: includes/ot-functions-admin.php:
|
167 |
msgid "Are you sure you want to activate this layout?"
|
168 |
msgstr ""
|
169 |
|
170 |
-
#: includes/ot-functions-admin.php:
|
171 |
msgid "Sorry, you can't have settings three levels deep."
|
172 |
msgstr ""
|
173 |
|
174 |
-
#: includes/ot-functions-admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
175 |
msgid "Option Tree"
|
176 |
msgstr ""
|
177 |
|
178 |
-
#: includes/ot-functions-admin.php:
|
179 |
msgid "General"
|
180 |
msgstr ""
|
181 |
|
182 |
-
#: includes/ot-functions-admin.php:
|
183 |
msgid "Sample Text Field Label"
|
184 |
msgstr ""
|
185 |
|
186 |
-
#: includes/ot-functions-admin.php:
|
187 |
msgid "Description for the sample text field."
|
188 |
msgstr ""
|
189 |
|
190 |
-
#: includes/ot-functions-admin.php:
|
191 |
msgid "Settings updated."
|
192 |
msgstr ""
|
193 |
|
194 |
-
#: includes/ot-functions-admin.php:
|
195 |
msgid "Settings could not be saved."
|
196 |
msgstr ""
|
197 |
|
198 |
-
#: includes/ot-functions-admin.php:
|
199 |
msgid "Settings Imported."
|
200 |
msgstr ""
|
201 |
|
202 |
-
#: includes/ot-functions-admin.php:
|
203 |
msgid "Settings could not be imported."
|
204 |
msgstr ""
|
205 |
|
206 |
-
#: includes/ot-functions-admin.php:
|
207 |
msgid "Data Imported."
|
208 |
msgstr ""
|
209 |
|
210 |
-
#: includes/ot-functions-admin.php:
|
211 |
msgid "Data could not be imported."
|
212 |
msgstr ""
|
213 |
|
214 |
-
#: includes/ot-functions-admin.php:
|
215 |
msgid "Layouts Imported."
|
216 |
msgstr ""
|
217 |
|
218 |
-
#: includes/ot-functions-admin.php:
|
219 |
msgid "Layouts could not be imported."
|
220 |
msgstr ""
|
221 |
|
222 |
-
#: includes/ot-functions-admin.php:
|
223 |
msgid "Layouts Updated."
|
224 |
msgstr ""
|
225 |
|
226 |
-
#: includes/ot-functions-admin.php:
|
227 |
msgid "Layouts could not be updated."
|
228 |
msgstr ""
|
229 |
|
230 |
-
#: includes/ot-functions-admin.php:
|
231 |
msgid "Layouts have been deleted."
|
232 |
msgstr ""
|
233 |
|
234 |
-
#: includes/ot-functions-admin.php:
|
235 |
msgid "Layout activated."
|
236 |
msgstr ""
|
237 |
|
238 |
-
#: includes/ot-functions-admin.php:
|
239 |
msgid "Left Sidebar"
|
240 |
msgstr ""
|
241 |
|
242 |
-
#: includes/ot-functions-admin.php:
|
243 |
msgid "Right Sidebar"
|
244 |
msgstr ""
|
245 |
|
246 |
-
#: includes/ot-functions-admin.php:
|
247 |
msgid "Full Width (no sidebar)"
|
248 |
msgstr ""
|
249 |
|
250 |
-
#: includes/ot-functions-admin.php:
|
251 |
msgid "Dual Sidebar"
|
252 |
msgstr ""
|
253 |
|
254 |
-
#: includes/ot-functions-admin.php:
|
255 |
msgid "Left Dual Sidebar"
|
256 |
msgstr ""
|
257 |
|
258 |
-
#: includes/ot-functions-admin.php:
|
259 |
msgid "Right Dual Sidebar"
|
260 |
msgstr ""
|
261 |
|
262 |
-
#: includes/ot-functions-admin.php:
|
263 |
msgid "Image"
|
264 |
msgstr ""
|
265 |
|
266 |
-
#: includes/ot-functions-admin.php:
|
267 |
msgid "Link"
|
268 |
msgstr ""
|
269 |
|
270 |
-
#: includes/ot-functions-admin.php:
|
271 |
#: includes/ot-functions-docs-page.php:43
|
272 |
-
#: includes/ot-functions-docs-page.php:
|
273 |
-
#: includes/ot-functions-docs-page.php:
|
274 |
msgid "Description"
|
275 |
msgstr ""
|
276 |
|
277 |
-
#: includes/ot-functions-admin.php:
|
278 |
msgid "edit"
|
279 |
msgstr ""
|
280 |
|
281 |
-
#: includes/ot-functions-admin.php:
|
282 |
-
#: includes/ot-functions-admin.php:
|
283 |
-
#: includes/ot-functions-admin.php:
|
284 |
-
#: includes/ot-functions-admin.php:
|
285 |
-
#: includes/ot-functions-admin.php:
|
286 |
msgid "Edit"
|
287 |
msgstr ""
|
288 |
|
289 |
-
#: includes/ot-functions-admin.php:
|
290 |
-
#: includes/ot-functions-admin.php:
|
291 |
-
#: includes/ot-functions-admin.php:
|
292 |
-
#: includes/ot-functions-admin.php:
|
293 |
-
#: includes/ot-functions-admin.php:
|
294 |
-
#: includes/ot-functions-admin.php:
|
295 |
msgid "Delete"
|
296 |
msgstr ""
|
297 |
|
298 |
-
#: includes/ot-functions-admin.php:
|
299 |
msgid ""
|
300 |
"<strong>Section Title</strong>: Displayed as a menu item on the Theme "
|
301 |
"Options page."
|
302 |
msgstr ""
|
303 |
|
304 |
-
#: includes/ot-functions-admin.php:
|
305 |
msgid ""
|
306 |
"<strong>Section ID</strong>: A unique lower case alphanumeric string, "
|
307 |
"underscores allowed."
|
308 |
msgstr ""
|
309 |
|
310 |
-
#: includes/ot-functions-admin.php:
|
311 |
msgid ""
|
312 |
"<strong>Label</strong>: Displayed as the label of a form element on the "
|
313 |
"Theme Options page."
|
314 |
msgstr ""
|
315 |
|
316 |
-
#: includes/ot-functions-admin.php:
|
317 |
msgid ""
|
318 |
"<strong>ID</strong>: A unique lower case alphanumeric string, underscores "
|
319 |
"allowed."
|
320 |
msgstr ""
|
321 |
|
322 |
-
#: includes/ot-functions-admin.php:
|
323 |
msgid ""
|
324 |
"<strong>Type</strong>: Choose one of the available option types from the "
|
325 |
"dropdown."
|
326 |
msgstr ""
|
327 |
|
328 |
-
#: includes/ot-functions-admin.php:
|
329 |
msgid ""
|
330 |
"<strong>Description</strong>: Enter a detailed description for the users to "
|
331 |
"read on the Theme Options page, HTML is allowed. This is also where you "
|
332 |
"enter content for both the Textblock & Textblock Titled option types."
|
333 |
msgstr ""
|
334 |
|
335 |
-
#: includes/ot-functions-admin.php:
|
336 |
msgid ""
|
337 |
"<strong>Choices</strong>: This will only affect the following option types: "
|
338 |
"Checkbox, Radio, Select & Select Image."
|
339 |
msgstr ""
|
340 |
|
341 |
-
#: includes/ot-functions-admin.php:
|
342 |
msgid "Add Choice"
|
343 |
msgstr ""
|
344 |
|
345 |
-
#: includes/ot-functions-admin.php:
|
346 |
msgid ""
|
347 |
"<strong>Settings</strong>: This will only affect the List Item option type."
|
348 |
msgstr ""
|
349 |
|
350 |
-
#: includes/ot-functions-admin.php:
|
351 |
#: includes/ot-functions-settings-page.php:93
|
352 |
msgid "Add Setting"
|
353 |
msgstr ""
|
354 |
|
355 |
-
#: includes/ot-functions-admin.php:
|
356 |
msgid ""
|
357 |
"<strong>Standard</strong>: Setting the standard value for your option only "
|
358 |
"works for some option types. Read the <code>OptionTree->Documentation</code> "
|
359 |
"for more information on which ones."
|
360 |
msgstr ""
|
361 |
|
362 |
-
#: includes/ot-functions-admin.php:
|
363 |
msgid ""
|
364 |
"<strong>Rows</strong>: Enter a numeric value for the number of rows in your "
|
365 |
"textarea. This will only affect the following option types: CSS, Textarea, & "
|
366 |
"Textarea Simple."
|
367 |
msgstr ""
|
368 |
|
369 |
-
#: includes/ot-functions-admin.php:
|
370 |
msgid ""
|
371 |
"<strong>Post Type</strong>: Add a comma separated list of post type like "
|
372 |
"'post,page'. This will only affect the following option types: Custom Post "
|
373 |
"Type Checkbox, & Custom Post Type Select."
|
374 |
msgstr ""
|
375 |
|
376 |
-
#: includes/ot-functions-admin.php:
|
377 |
msgid ""
|
378 |
"<strong>Taxonomy</strong>: Add a comma separated list of any registered "
|
379 |
"taxonomy like 'category,post_tag'. This will only affect the following "
|
380 |
"option types: Taxonomy Checkbox, & Taxonomy Select."
|
381 |
msgstr ""
|
382 |
|
383 |
-
#: includes/ot-functions-admin.php:
|
384 |
msgid ""
|
385 |
"<strong>Min, Max, & Step</strong>: Add a comma separated list of options in "
|
386 |
"the following format <code>0,100,1</code> (slide from <code>0-100</code> in "
|
@@ -389,48 +408,70 @@ msgid ""
|
|
389 |
"type."
|
390 |
msgstr ""
|
391 |
|
392 |
-
#: includes/ot-functions-admin.php:
|
393 |
msgid "<strong>CSS Class</strong>: Add and optional class to this option type."
|
394 |
msgstr ""
|
395 |
|
396 |
-
#: includes/ot-functions-admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
397 |
msgid "Label"
|
398 |
msgstr ""
|
399 |
|
400 |
-
#: includes/ot-functions-admin.php:
|
401 |
msgid "Value"
|
402 |
msgstr ""
|
403 |
|
404 |
-
#: includes/ot-functions-admin.php:
|
405 |
msgid "Image Source (Radio Image only)"
|
406 |
msgstr ""
|
407 |
|
408 |
-
#: includes/ot-functions-admin.php:
|
409 |
msgid ""
|
410 |
"<strong>Title</strong>: Displayed as a contextual help menu item on the "
|
411 |
"Theme Options page."
|
412 |
msgstr ""
|
413 |
|
414 |
-
#: includes/ot-functions-admin.php:
|
415 |
msgid ""
|
416 |
"<strong>Content</strong>: Enter the HTML content about this contextual help "
|
417 |
"item displayed on the Theme Option page for end users to read."
|
418 |
msgstr ""
|
419 |
|
420 |
-
#: includes/ot-functions-admin.php:
|
421 |
msgid "Layout"
|
422 |
msgstr ""
|
423 |
|
424 |
-
#: includes/ot-functions-admin.php:
|
425 |
msgid "Activate"
|
426 |
msgstr ""
|
427 |
|
428 |
-
#: includes/ot-functions-admin.php:
|
429 |
-
#: includes/ot-settings-api.php:
|
430 |
msgid "Title"
|
431 |
msgstr ""
|
432 |
|
433 |
-
#: includes/ot-functions-admin.php:
|
434 |
msgid "New Layout"
|
435 |
msgstr ""
|
436 |
|
@@ -554,11 +595,33 @@ msgstr ""
|
|
554 |
msgid "Add and optional class to any option type."
|
555 |
msgstr ""
|
556 |
|
557 |
-
#: includes/ot-functions-docs-page.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
558 |
msgid "Background"
|
559 |
msgstr ""
|
560 |
|
561 |
-
#: includes/ot-functions-docs-page.php:
|
562 |
msgid ""
|
563 |
"The Background option type is for adding background styles to your theme "
|
564 |
"either dynamically via the CSS option type below or manually with "
|
@@ -570,33 +633,33 @@ msgid ""
|
|
570 |
"fine tune the select lists for your specific CSS needs."
|
571 |
msgstr ""
|
572 |
|
573 |
-
#: includes/ot-functions-docs-page.php:
|
574 |
msgid "Category Select"
|
575 |
msgstr ""
|
576 |
|
577 |
-
#: includes/ot-functions-docs-page.php:
|
578 |
msgid ""
|
579 |
"The Category Select option type displays a list of category IDs. It allows "
|
580 |
"the user to select only one category ID and will return that value for use "
|
581 |
"in a custom function or loop."
|
582 |
msgstr ""
|
583 |
|
584 |
-
#: includes/ot-functions-docs-page.php:
|
585 |
msgid "Category Checkbox"
|
586 |
msgstr ""
|
587 |
|
588 |
-
#: includes/ot-functions-docs-page.php:
|
589 |
msgid ""
|
590 |
"The Category Checkbox option type displays a list of category IDs. It allows "
|
591 |
"the user to check multiple category IDs and will return that value as an "
|
592 |
"array for use in a custom function or loop."
|
593 |
msgstr ""
|
594 |
|
595 |
-
#: includes/ot-functions-docs-page.php:
|
596 |
msgid "Checkbox"
|
597 |
msgstr ""
|
598 |
|
599 |
-
#: includes/ot-functions-docs-page.php:
|
600 |
msgid ""
|
601 |
"The Checkbox option type is fairly self explanatory. Typically used to ask "
|
602 |
"questions. For example, \"Do you want to activate asynchronous Google "
|
@@ -607,21 +670,21 @@ msgid ""
|
|
607 |
"nothing if it doesn't."
|
608 |
msgstr ""
|
609 |
|
610 |
-
#: includes/ot-functions-docs-page.php:
|
611 |
msgid "Colorpicker"
|
612 |
msgstr ""
|
613 |
|
614 |
-
#: includes/ot-functions-docs-page.php:
|
615 |
msgid ""
|
616 |
"The Colorpicker option type saves a hexadecimal color code for use in CSS. "
|
617 |
"Use it to modify the color of something in your theme."
|
618 |
msgstr ""
|
619 |
|
620 |
-
#: includes/ot-functions-docs-page.php:
|
621 |
msgid "CSS"
|
622 |
msgstr ""
|
623 |
|
624 |
-
#: includes/ot-functions-docs-page.php:
|
625 |
msgid ""
|
626 |
"The CSS option type is a textarea that when used properly can add dynamic "
|
627 |
"CSS to your theme from within OptionTree. Unfortunately, due server "
|
@@ -634,26 +697,26 @@ msgid ""
|
|
634 |
"theme options."
|
635 |
msgstr ""
|
636 |
|
637 |
-
#: includes/ot-functions-docs-page.php:
|
638 |
msgid ""
|
639 |
"An example of the CSS option type: This assumes you have an option with the "
|
640 |
"ID of <code>custom_background_css</code> which will display the saved values "
|
641 |
"for that option."
|
642 |
msgstr ""
|
643 |
|
644 |
-
#: includes/ot-functions-docs-page.php:
|
645 |
msgid "Input"
|
646 |
msgstr ""
|
647 |
|
648 |
-
#: includes/ot-functions-docs-page.php:
|
649 |
msgid "Output"
|
650 |
msgstr ""
|
651 |
|
652 |
-
#: includes/ot-functions-docs-page.php:
|
653 |
msgid "Custom Post Type Select"
|
654 |
msgstr ""
|
655 |
|
656 |
-
#: includes/ot-functions-docs-page.php:
|
657 |
msgid ""
|
658 |
"The Custom Post Type Select option type displays a list of IDs from any "
|
659 |
"available WordPress post type or custom post type. It will return a single "
|
@@ -663,11 +726,11 @@ msgid ""
|
|
663 |
"version."
|
664 |
msgstr ""
|
665 |
|
666 |
-
#: includes/ot-functions-docs-page.php:
|
667 |
msgid "Custom Post Type Checkbox"
|
668 |
msgstr ""
|
669 |
|
670 |
-
#: includes/ot-functions-docs-page.php:
|
671 |
msgid ""
|
672 |
"The Custom Post Type Select option type displays a list of IDs from any "
|
673 |
"available WordPress post type or custom post type. It allows the user to "
|
@@ -677,11 +740,22 @@ msgid ""
|
|
677 |
"future version."
|
678 |
msgstr ""
|
679 |
|
680 |
-
#: includes/ot-functions-docs-page.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
681 |
msgid "List Item"
|
682 |
msgstr ""
|
683 |
|
684 |
-
#: includes/ot-functions-docs-page.php:
|
685 |
msgid ""
|
686 |
"The list Item replaced the old Slider option type. It allows for a great "
|
687 |
"deal of customization. You can add settings to the List Item and those "
|
@@ -690,11 +764,11 @@ msgid ""
|
|
690 |
"layouts."
|
691 |
msgstr ""
|
692 |
|
693 |
-
#: includes/ot-functions-docs-page.php:
|
694 |
msgid "Measurement"
|
695 |
msgstr ""
|
696 |
|
697 |
-
#: includes/ot-functions-docs-page.php:
|
698 |
msgid ""
|
699 |
"The Measurement option type is a mix of input and select fields. The text "
|
700 |
"input excepts a value and the select lets you choose the unit of measurement "
|
@@ -703,73 +777,83 @@ msgid ""
|
|
703 |
"with the <code>ot_measurement_unit_types</code> filter."
|
704 |
msgstr ""
|
705 |
|
706 |
-
#: includes/ot-functions-docs-page.php:
|
707 |
msgid ""
|
708 |
"Example filter to add new units to the Measurement option type. Added to "
|
709 |
"<code>functions.php</code>."
|
710 |
msgstr ""
|
711 |
|
712 |
-
#: includes/ot-functions-docs-page.php:
|
713 |
msgid ""
|
714 |
"Example filter to completely change the units in the Measurement option "
|
715 |
"type. Added to <code>functions.php</code>."
|
716 |
msgstr ""
|
717 |
|
718 |
-
#: includes/ot-functions-docs-page.php:
|
719 |
msgid "Numeric Slider"
|
720 |
msgstr ""
|
721 |
|
722 |
-
#: includes/ot-functions-docs-page.php:
|
723 |
msgid ""
|
724 |
"The Numeric Slider option type displays a jQuery UI slider. It will return a "
|
725 |
"single numerical value for use in a custom function or loop."
|
726 |
msgstr ""
|
727 |
|
728 |
-
#: includes/ot-functions-docs-page.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
729 |
msgid "Page Select"
|
730 |
msgstr ""
|
731 |
|
732 |
-
#: includes/ot-functions-docs-page.php:
|
733 |
msgid ""
|
734 |
"The Page Select option type displays a list of page IDs. It will return a "
|
735 |
"single page ID for use in a custom function or loop."
|
736 |
msgstr ""
|
737 |
|
738 |
-
#: includes/ot-functions-docs-page.php:
|
739 |
msgid "Page Checkbox"
|
740 |
msgstr ""
|
741 |
|
742 |
-
#: includes/ot-functions-docs-page.php:
|
743 |
msgid ""
|
744 |
"The Page Select option type displays a list of page IDs. It allows the user "
|
745 |
"to check multiple page IDs for use in a custom function or loop."
|
746 |
msgstr ""
|
747 |
|
748 |
-
#: includes/ot-functions-docs-page.php:
|
749 |
msgid "Post Select"
|
750 |
msgstr ""
|
751 |
|
752 |
-
#: includes/ot-functions-docs-page.php:
|
753 |
msgid ""
|
754 |
"The Post Select option type displays a list of post IDs. It will return a "
|
755 |
"single post ID for use in a custom function or loop."
|
756 |
msgstr ""
|
757 |
|
758 |
-
#: includes/ot-functions-docs-page.php:
|
759 |
msgid "Post Checkbox"
|
760 |
msgstr ""
|
761 |
|
762 |
-
#: includes/ot-functions-docs-page.php:
|
763 |
msgid ""
|
764 |
"The Post Select option type displays a list of post IDs. It allows the user "
|
765 |
"to check multiple post IDs for use in a custom function or loop."
|
766 |
msgstr ""
|
767 |
|
768 |
-
#: includes/ot-functions-docs-page.php:
|
769 |
msgid "Radio"
|
770 |
msgstr ""
|
771 |
|
772 |
-
#: includes/ot-functions-docs-page.php:
|
773 |
msgid ""
|
774 |
"The Radio option type could ask a question. For example, \"Do you want to "
|
775 |
"activate the custom navigation?\" could require a yes or no answer with a "
|
@@ -778,39 +862,39 @@ msgid ""
|
|
778 |
"of code."
|
779 |
msgstr ""
|
780 |
|
781 |
-
#: includes/ot-functions-docs-page.php:
|
782 |
msgid "Radio Image"
|
783 |
msgstr ""
|
784 |
|
785 |
-
#: includes/ot-functions-docs-page.php:
|
786 |
msgid ""
|
787 |
"the Radio Images option type is primarily used for layouts. However, you can "
|
788 |
"filter the image list using <code>ot_radio_images</code>. As well, you can "
|
789 |
"add your own custom images using the choices array."
|
790 |
msgstr ""
|
791 |
|
792 |
-
#: includes/ot-functions-docs-page.php:
|
793 |
msgid ""
|
794 |
"This example executes the <code>ot_radio_images</code> filter on layout "
|
795 |
"images attached to the <code>my_radio_images</code> field. Added to "
|
796 |
"<code>functions.php</code>."
|
797 |
msgstr ""
|
798 |
|
799 |
-
#: includes/ot-functions-docs-page.php:
|
800 |
msgid "Select"
|
801 |
msgstr ""
|
802 |
|
803 |
-
#: includes/ot-functions-docs-page.php:
|
804 |
msgid ""
|
805 |
"The Select option type is used to list anything you want that would be "
|
806 |
"chosen from a select list."
|
807 |
msgstr ""
|
808 |
|
809 |
-
#: includes/ot-functions-docs-page.php:
|
810 |
msgid "Sidebar Select"
|
811 |
msgstr ""
|
812 |
|
813 |
-
#: includes/ot-functions-docs-page.php:
|
814 |
msgid ""
|
815 |
"This option type makes it possible for users to select a WordPress "
|
816 |
"registered sidebar to use on a specific area. By using the two provided "
|
@@ -819,7 +903,7 @@ msgid ""
|
|
819 |
"which sidebars are available on a specific content area."
|
820 |
msgstr ""
|
821 |
|
822 |
-
#: includes/ot-functions-docs-page.php:
|
823 |
msgid ""
|
824 |
"For example, if we create a WordPress theme that provides the ability to "
|
825 |
"change the Blog Sidebar and we don't want to have the footer sidebars "
|
@@ -828,66 +912,66 @@ msgid ""
|
|
828 |
"sidebar-$i</code>."
|
829 |
msgstr ""
|
830 |
|
831 |
-
#: includes/ot-functions-docs-page.php:
|
832 |
msgid "Slider"
|
833 |
msgstr ""
|
834 |
|
835 |
-
#: includes/ot-functions-docs-page.php:
|
836 |
msgid ""
|
837 |
"The Slider option type is technically deprecated. Use the List Item option "
|
838 |
"type instead, as it's infinitely more customizable. Typical use is for "
|
839 |
"creating sliding image content."
|
840 |
msgstr ""
|
841 |
|
842 |
-
#: includes/ot-functions-docs-page.php:
|
843 |
msgid "Tag Checkbox"
|
844 |
msgstr ""
|
845 |
|
846 |
-
#: includes/ot-functions-docs-page.php:
|
847 |
msgid ""
|
848 |
"The Tag Checkbox option type displays a list of tag IDs. It allows the user "
|
849 |
"to check multiple tag IDs and will return that value as an array for use in "
|
850 |
"a custom function or loop."
|
851 |
msgstr ""
|
852 |
|
853 |
-
#: includes/ot-functions-docs-page.php:
|
854 |
msgid "Tag Select"
|
855 |
msgstr ""
|
856 |
|
857 |
-
#: includes/ot-functions-docs-page.php:
|
858 |
msgid ""
|
859 |
"The Tag Select option type displays a list of tag IDs. It allows the user to "
|
860 |
"select only one tag ID and will return that value for use in a custom "
|
861 |
"function or loop."
|
862 |
msgstr ""
|
863 |
|
864 |
-
#: includes/ot-functions-docs-page.php:
|
865 |
msgid "Taxonomy Checkbox"
|
866 |
msgstr ""
|
867 |
|
868 |
-
#: includes/ot-functions-docs-page.php:
|
869 |
msgid ""
|
870 |
"The Taxonomy Checkbox option type displays a list of taxonomy IDs. It allows "
|
871 |
"the user to check multiple taxonomy IDs and will return that value as an "
|
872 |
"array for use in a custom function or loop."
|
873 |
msgstr ""
|
874 |
|
875 |
-
#: includes/ot-functions-docs-page.php:
|
876 |
msgid "Taxonomy Select"
|
877 |
msgstr ""
|
878 |
|
879 |
-
#: includes/ot-functions-docs-page.php:
|
880 |
msgid ""
|
881 |
"The Taxonomy Select option type displays a list of taxonomy IDs. It allows "
|
882 |
"the user to select only one taxonomy ID and will return that value for use "
|
883 |
"in a custom function or loop."
|
884 |
msgstr ""
|
885 |
|
886 |
-
#: includes/ot-functions-docs-page.php:
|
887 |
msgid "Text (Input)"
|
888 |
msgstr ""
|
889 |
|
890 |
-
#: includes/ot-functions-docs-page.php:
|
891 |
msgid ""
|
892 |
"The Text option type would be used to save a string value. For example, a "
|
893 |
"link to feedburner, your Twitter username, or Google Analytics ID are all "
|
@@ -895,11 +979,11 @@ msgid ""
|
|
895 |
"character length."
|
896 |
msgstr ""
|
897 |
|
898 |
-
#: includes/ot-functions-docs-page.php:
|
899 |
msgid "Textarea"
|
900 |
msgstr ""
|
901 |
|
902 |
-
#: includes/ot-functions-docs-page.php:
|
903 |
msgid ""
|
904 |
"The Textarea option type is a large string value used for custom code or "
|
905 |
"text in the theme. The new Textarea has a WYSIWYG editor that can be "
|
@@ -908,34 +992,34 @@ msgid ""
|
|
908 |
"<code>quicktags</code>."
|
909 |
msgstr ""
|
910 |
|
911 |
-
#: includes/ot-functions-docs-page.php:
|
912 |
msgid ""
|
913 |
"Example filters to alter the Textarea option type. Added to <code>functions."
|
914 |
"php</code>."
|
915 |
msgstr ""
|
916 |
|
917 |
-
#: includes/ot-functions-docs-page.php:
|
918 |
msgid ""
|
919 |
"This example keeps WordPress from executing the <code>wpautop</code> filter "
|
920 |
"on the line breaks. The default is <code>true</code> which means it wraps "
|
921 |
"line breaks with an HTML <code>p</code> tag."
|
922 |
msgstr ""
|
923 |
|
924 |
-
#: includes/ot-functions-docs-page.php:
|
925 |
msgid ""
|
926 |
"This example keeps WordPress from executing the <code>media_buttons</code> "
|
927 |
"filter on the textarea WYSIWYG. The default is <code>true</code> which means "
|
928 |
"show the buttons."
|
929 |
msgstr ""
|
930 |
|
931 |
-
#: includes/ot-functions-docs-page.php:
|
932 |
msgid ""
|
933 |
"This example keeps WordPress from executing the <code>tinymce</code> filter "
|
934 |
"on the textarea WYSIWYG. The default is <code>true</code> which means show "
|
935 |
"the tinymce."
|
936 |
msgstr ""
|
937 |
|
938 |
-
#: includes/ot-functions-docs-page.php:
|
939 |
msgid ""
|
940 |
"This example alters the <code>quicktags</code> filter on the textarea "
|
941 |
"WYSIWYG. The default is <code>array( 'buttons' => 'strong,em,link,block,del,"
|
@@ -943,18 +1027,18 @@ msgid ""
|
|
943 |
"quicktags. It also means you can filter in your own custom quicktags."
|
944 |
msgstr ""
|
945 |
|
946 |
-
#: includes/ot-functions-docs-page.php:
|
947 |
msgid "Textarea Simple"
|
948 |
msgstr ""
|
949 |
|
950 |
-
#: includes/ot-functions-docs-page.php:
|
951 |
msgid ""
|
952 |
"The Textarea Simple option type is a large string value used for custom code "
|
953 |
"or text in the theme. The new Textarea Simple does not have a WYSIWYG "
|
954 |
"editor. But you can still filter on <code>wpautop</code>."
|
955 |
msgstr ""
|
956 |
|
957 |
-
#: includes/ot-functions-docs-page.php:
|
958 |
msgid ""
|
959 |
"This example tells WordPress to execute the <code>wpautop</code> filter on "
|
960 |
"the line breaks. The default is <code>false</code> which means it does not "
|
@@ -962,11 +1046,11 @@ msgid ""
|
|
962 |
"php</code>."
|
963 |
msgstr ""
|
964 |
|
965 |
-
#: includes/ot-functions-docs-page.php:
|
966 |
msgid "Textblock"
|
967 |
msgstr ""
|
968 |
|
969 |
-
#: includes/ot-functions-docs-page.php:
|
970 |
msgid ""
|
971 |
"The Textblock option type is used only on the Theme Option page. It will "
|
972 |
"allow you to create & display HTML on your Theme Options page but has no "
|
@@ -976,11 +1060,11 @@ msgid ""
|
|
976 |
"value."
|
977 |
msgstr ""
|
978 |
|
979 |
-
#: includes/ot-functions-docs-page.php:
|
980 |
msgid "Textblock Titled"
|
981 |
msgstr ""
|
982 |
|
983 |
-
#: includes/ot-functions-docs-page.php:
|
984 |
msgid ""
|
985 |
"The Textblock Titled option type is used only on the Theme Option page. It "
|
986 |
"will allow you to create & display HTML on your Theme Options page and has a "
|
@@ -990,11 +1074,11 @@ msgid ""
|
|
990 |
"value."
|
991 |
msgstr ""
|
992 |
|
993 |
-
#: includes/ot-functions-docs-page.php:
|
994 |
msgid "Typography"
|
995 |
msgstr ""
|
996 |
|
997 |
-
#: includes/ot-functions-docs-page.php:
|
998 |
msgid ""
|
999 |
"The Typography option type is for adding typographic styles to your theme "
|
1000 |
"either dynamically via the CSS option type below or manually with "
|
@@ -1008,17 +1092,17 @@ msgid ""
|
|
1008 |
"Google Fonts to create custom font stacks."
|
1009 |
msgstr ""
|
1010 |
|
1011 |
-
#: includes/ot-functions-docs-page.php:
|
1012 |
msgid ""
|
1013 |
"This example would filter <code>ot_recognized_font_families</code> to build "
|
1014 |
"your own font stack. Added to <code>functions.php</code>."
|
1015 |
msgstr ""
|
1016 |
|
1017 |
-
#: includes/ot-functions-docs-page.php:
|
1018 |
msgid "Upload"
|
1019 |
msgstr ""
|
1020 |
|
1021 |
-
#: includes/ot-functions-docs-page.php:
|
1022 |
msgid ""
|
1023 |
"The Upload option type is used to upload any WordPress supported media. "
|
1024 |
"After uploading, users are required to press the \"Send to OptionTree\" "
|
@@ -1029,128 +1113,128 @@ msgid ""
|
|
1029 |
"change the URIs if necessary."
|
1030 |
msgstr ""
|
1031 |
|
1032 |
-
#: includes/ot-functions-docs-page.php:
|
1033 |
msgid ""
|
1034 |
"This function returns a value from the \"option_tree\" array of saved values "
|
1035 |
"or the default value supplied. The returned value would be mixed. Meaning it "
|
1036 |
"could be a string, integer, boolean, or array."
|
1037 |
msgstr ""
|
1038 |
|
1039 |
-
#: includes/ot-functions-docs-page.php:
|
1040 |
-
#: includes/ot-functions-docs-page.php:
|
1041 |
msgid "Usage"
|
1042 |
msgstr ""
|
1043 |
|
1044 |
-
#: includes/ot-functions-docs-page.php:
|
1045 |
-
#: includes/ot-functions-docs-page.php:
|
1046 |
msgid "Parameters"
|
1047 |
msgstr ""
|
1048 |
|
1049 |
-
#: includes/ot-functions-docs-page.php:
|
1050 |
-
#: includes/ot-functions-docs-page.php:
|
1051 |
-
#: includes/ot-functions-docs-page.php:
|
1052 |
msgid "string"
|
1053 |
msgstr ""
|
1054 |
|
1055 |
-
#: includes/ot-functions-docs-page.php:
|
1056 |
-
#: includes/ot-functions-docs-page.php:
|
1057 |
msgid "required"
|
1058 |
msgstr ""
|
1059 |
|
1060 |
-
#: includes/ot-functions-docs-page.php:
|
1061 |
msgid "Enter the options unique identifier."
|
1062 |
msgstr ""
|
1063 |
|
1064 |
-
#: includes/ot-functions-docs-page.php:
|
1065 |
-
#: includes/ot-functions-docs-page.php:
|
1066 |
msgid "Default:"
|
1067 |
msgstr ""
|
1068 |
|
1069 |
-
#: includes/ot-functions-docs-page.php:
|
1070 |
-
#: includes/ot-functions-docs-page.php:
|
1071 |
-
#: includes/ot-functions-docs-page.php:
|
1072 |
-
#: includes/ot-functions-docs-page.php:
|
1073 |
msgid "None"
|
1074 |
msgstr ""
|
1075 |
|
1076 |
-
#: includes/ot-functions-docs-page.php:
|
1077 |
-
#: includes/ot-functions-docs-page.php:446
|
1078 |
-
#: includes/ot-functions-docs-page.php:450
|
1079 |
-
#: includes/ot-functions-docs-page.php:454
|
1080 |
#: includes/ot-functions-docs-page.php:458
|
|
|
|
|
|
|
1081 |
msgid "optional"
|
1082 |
msgstr ""
|
1083 |
|
1084 |
-
#: includes/ot-functions-docs-page.php:
|
1085 |
msgid ""
|
1086 |
"Enter a default return value. This is just incase the request returns null."
|
1087 |
msgstr ""
|
1088 |
|
1089 |
-
#: includes/ot-functions-docs-page.php:
|
1090 |
-
#: includes/ot-functions-docs-page.php:446
|
1091 |
-
#: includes/ot-functions-docs-page.php:450
|
1092 |
-
#: includes/ot-functions-docs-page.php:454
|
1093 |
#: includes/ot-functions-docs-page.php:458
|
|
|
|
|
|
|
1094 |
msgid "Default"
|
1095 |
msgstr ""
|
1096 |
|
1097 |
-
#: includes/ot-functions-docs-page.php:
|
1098 |
msgid ""
|
1099 |
"This function has been deprecated. That means it has been replaced by a new "
|
1100 |
"function or is no longer supported, and may be removed from future versions. "
|
1101 |
"All code that uses this function should be converted to use its replacement."
|
1102 |
msgstr ""
|
1103 |
|
1104 |
-
#: includes/ot-functions-docs-page.php:
|
1105 |
msgid "Use"
|
1106 |
msgstr ""
|
1107 |
|
1108 |
-
#: includes/ot-functions-docs-page.php:
|
1109 |
msgid "instead"
|
1110 |
msgstr ""
|
1111 |
|
1112 |
-
#: includes/ot-functions-docs-page.php:
|
1113 |
msgid ""
|
1114 |
"This function returns, or echos if asked, a value from the \"option_tree\" "
|
1115 |
"array of saved values."
|
1116 |
msgstr ""
|
1117 |
|
1118 |
-
#: includes/ot-functions-docs-page.php:
|
1119 |
msgid "Enter a unique Option Key to get a returned value or array."
|
1120 |
msgstr ""
|
1121 |
|
1122 |
-
#: includes/ot-functions-docs-page.php:
|
1123 |
msgid "array"
|
1124 |
msgstr ""
|
1125 |
|
1126 |
-
#: includes/ot-functions-docs-page.php:
|
1127 |
msgid "Used to cut down on database queries in template files."
|
1128 |
msgstr ""
|
1129 |
|
1130 |
-
#: includes/ot-functions-docs-page.php:
|
1131 |
-
#: includes/ot-functions-docs-page.php:
|
1132 |
msgid "boolean"
|
1133 |
msgstr ""
|
1134 |
|
1135 |
-
#: includes/ot-functions-docs-page.php:
|
1136 |
msgid "Echo the output."
|
1137 |
msgstr ""
|
1138 |
|
1139 |
-
#: includes/ot-functions-docs-page.php:
|
1140 |
msgid "Used to indicate the $item_id is an array of values."
|
1141 |
msgstr ""
|
1142 |
|
1143 |
-
#: includes/ot-functions-docs-page.php:
|
1144 |
msgid "integer"
|
1145 |
msgstr ""
|
1146 |
|
1147 |
-
#: includes/ot-functions-docs-page.php:
|
1148 |
msgid ""
|
1149 |
"Numeric offset key for the $item_id array, -1 will return all values (an "
|
1150 |
"array starts at 0)."
|
1151 |
msgstr ""
|
1152 |
|
1153 |
-
#: includes/ot-functions-docs-page.php:
|
1154 |
msgid ""
|
1155 |
"If you're using the plugin version of OptionTree it is highly recommended to "
|
1156 |
"include a <code>function_exists</code> check in your code, as described in "
|
@@ -1160,32 +1244,32 @@ msgid ""
|
|
1160 |
"<code>ot_get_option()</code> function available."
|
1161 |
msgstr ""
|
1162 |
|
1163 |
-
#: includes/ot-functions-docs-page.php:
|
1164 |
msgid "String Examples"
|
1165 |
msgstr ""
|
1166 |
|
1167 |
-
#: includes/ot-functions-docs-page.php:
|
1168 |
msgid "Returns the value of <code>test_input</code>."
|
1169 |
msgstr ""
|
1170 |
|
1171 |
-
#: includes/ot-functions-docs-page.php:
|
1172 |
msgid ""
|
1173 |
"Returns the value of <code>test_input</code>, but also has a default value "
|
1174 |
"if it returns empty."
|
1175 |
msgstr ""
|
1176 |
|
1177 |
-
#: includes/ot-functions-docs-page.php:
|
1178 |
msgid "Array Examples"
|
1179 |
msgstr ""
|
1180 |
|
1181 |
-
#: includes/ot-functions-docs-page.php:
|
1182 |
msgid ""
|
1183 |
"Assigns the value of <code>navigation_ids</code> to the variable <code>$ids</"
|
1184 |
"code>. It then echos an unordered list of links (navigation) using "
|
1185 |
"<code>wp_list_pages()</code>."
|
1186 |
msgstr ""
|
1187 |
|
1188 |
-
#: includes/ot-functions-docs-page.php:
|
1189 |
msgid ""
|
1190 |
"The next two examples demonstrate how to use the <strong>Measurement</"
|
1191 |
"strong> option type. The Measurement option type is an array with two key/"
|
@@ -1193,15 +1277,15 @@ msgid ""
|
|
1193 |
"unit of measurement."
|
1194 |
msgstr ""
|
1195 |
|
1196 |
-
#: includes/ot-functions-docs-page.php:
|
1197 |
msgid "This example displays a very basic slider loop."
|
1198 |
msgstr ""
|
1199 |
|
1200 |
-
#: includes/ot-functions-docs-page.php:
|
1201 |
msgid "It's Super Simple"
|
1202 |
msgstr ""
|
1203 |
|
1204 |
-
#: includes/ot-functions-docs-page.php:
|
1205 |
msgid ""
|
1206 |
"Layouts make your theme awesome! With theme options data that you can save/"
|
1207 |
"import/export you can package themes with different color variations, or "
|
@@ -1209,7 +1293,7 @@ msgid ""
|
|
1209 |
"a snapshot of your data as a layout."
|
1210 |
msgstr ""
|
1211 |
|
1212 |
-
#: includes/ot-functions-docs-page.php:
|
1213 |
msgid ""
|
1214 |
"Once you have created all your different layouts, or theme variations, you "
|
1215 |
"can save them to a separate text file for repackaging with your theme. "
|
@@ -1218,117 +1302,117 @@ msgid ""
|
|
1218 |
"previous options data."
|
1219 |
msgstr ""
|
1220 |
|
1221 |
-
#: includes/ot-functions-docs-page.php:
|
1222 |
msgid ""
|
1223 |
" Adding a layout is ridiculously easy, follow these steps and you'll be on "
|
1224 |
"your way to having a WordPress super theme."
|
1225 |
msgstr ""
|
1226 |
|
1227 |
-
#: includes/ot-functions-docs-page.php:
|
1228 |
msgid "For Developers"
|
1229 |
msgstr ""
|
1230 |
|
1231 |
-
#: includes/ot-functions-docs-page.php:
|
1232 |
-
#: includes/ot-functions-docs-page.php:
|
1233 |
msgid "Creating a Layout"
|
1234 |
msgstr ""
|
1235 |
|
1236 |
-
#: includes/ot-functions-docs-page.php:
|
1237 |
-
#: includes/ot-functions-docs-page.php:
|
1238 |
-
#: includes/ot-functions-docs-page.php:
|
1239 |
msgid "Go to the <code>OptionTre->Settings->Layouts</code> tab."
|
1240 |
msgstr ""
|
1241 |
|
1242 |
-
#: includes/ot-functions-docs-page.php:
|
1243 |
msgid ""
|
1244 |
"Enter a name for your layout in the text field and hit \"Save Layouts\", "
|
1245 |
"you've created your first layout."
|
1246 |
msgstr ""
|
1247 |
|
1248 |
-
#: includes/ot-functions-docs-page.php:
|
1249 |
-
#: includes/ot-functions-docs-page.php:
|
1250 |
msgid "Adding a new layout is as easy as repeating the steps above."
|
1251 |
msgstr ""
|
1252 |
|
1253 |
-
#: includes/ot-functions-docs-page.php:
|
1254 |
-
#: includes/ot-functions-docs-page.php:
|
1255 |
msgid "Activating a Layout"
|
1256 |
msgstr ""
|
1257 |
|
1258 |
-
#: includes/ot-functions-docs-page.php:
|
1259 |
msgid "Click on the activate layout button in the actions list."
|
1260 |
msgstr ""
|
1261 |
|
1262 |
-
#: includes/ot-functions-docs-page.php:
|
1263 |
-
#: includes/ot-functions-docs-page.php:
|
1264 |
msgid "Deleting a Layout"
|
1265 |
msgstr ""
|
1266 |
|
1267 |
-
#: includes/ot-functions-docs-page.php:
|
1268 |
msgid "Click on the delete layout button in the actions list."
|
1269 |
msgstr ""
|
1270 |
|
1271 |
-
#: includes/ot-functions-docs-page.php:
|
1272 |
-
#: includes/ot-functions-docs-page.php:
|
1273 |
msgid "Edit Layout Data"
|
1274 |
msgstr ""
|
1275 |
|
1276 |
-
#: includes/ot-functions-docs-page.php:
|
1277 |
-
#: includes/ot-functions-docs-page.php:
|
1278 |
-
#: includes/ot-functions-docs-page.php:
|
1279 |
msgid "Go to the <code>Appearance->Theme Options</code> page."
|
1280 |
msgstr ""
|
1281 |
|
1282 |
-
#: includes/ot-functions-docs-page.php:
|
1283 |
-
#: includes/ot-functions-docs-page.php:
|
1284 |
msgid ""
|
1285 |
"Modify and save your theme options and the layout will be updated "
|
1286 |
"automatically."
|
1287 |
msgstr ""
|
1288 |
|
1289 |
-
#: includes/ot-functions-docs-page.php:
|
1290 |
-
#: includes/ot-functions-docs-page.php:
|
1291 |
msgid ""
|
1292 |
"Saving theme options data will update the currently active layout, so before "
|
1293 |
"you start saving make sure you want to modify the current layout."
|
1294 |
msgstr ""
|
1295 |
|
1296 |
-
#: includes/ot-functions-docs-page.php:
|
1297 |
msgid ""
|
1298 |
"If you want to edit a new layout, first create it then save your theme "
|
1299 |
"options."
|
1300 |
msgstr ""
|
1301 |
|
1302 |
-
#: includes/ot-functions-docs-page.php:
|
1303 |
msgid "End-Users Mode"
|
1304 |
msgstr ""
|
1305 |
|
1306 |
-
#: includes/ot-functions-docs-page.php:
|
1307 |
msgid ""
|
1308 |
"Enter a name for your layout in the text field and hit \"New Layout\", "
|
1309 |
"you've created your first layout."
|
1310 |
msgstr ""
|
1311 |
|
1312 |
-
#: includes/ot-functions-docs-page.php:
|
1313 |
msgid ""
|
1314 |
"Choose a layout from the select list and click the \"Activate Layout\" "
|
1315 |
"button."
|
1316 |
msgstr ""
|
1317 |
|
1318 |
-
#: includes/ot-functions-docs-page.php:
|
1319 |
msgid "End-Users mode does not allow deleting layouts."
|
1320 |
msgstr ""
|
1321 |
|
1322 |
-
#: includes/ot-functions-docs-page.php:
|
1323 |
msgid "Go to the <code>Appearance->Theme Options</code> tab."
|
1324 |
msgstr ""
|
1325 |
|
1326 |
-
#: includes/ot-functions-docs-page.php:
|
1327 |
-
#: includes/ot-functions-docs-page.php:
|
1328 |
msgid "How-to-guide"
|
1329 |
msgstr ""
|
1330 |
|
1331 |
-
#: includes/ot-functions-docs-page.php:
|
1332 |
msgid ""
|
1333 |
"There are a few simple steps you need to take in order to use OptionTree's "
|
1334 |
"built in Meta Box API. In the code below I'll show you a basic demo of how "
|
@@ -1339,7 +1423,7 @@ msgid ""
|
|
1339 |
"can reference."
|
1340 |
msgstr ""
|
1341 |
|
1342 |
-
#: includes/ot-functions-docs-page.php:
|
1343 |
msgid ""
|
1344 |
"It's important to note that Meta Boxes do not support WYSIWYG editors at "
|
1345 |
"this time and if you set one of your options to Textarea it will "
|
@@ -1347,36 +1431,36 @@ msgid ""
|
|
1347 |
"WordPress released this statement regarding the wp_editor() function:"
|
1348 |
msgstr ""
|
1349 |
|
1350 |
-
#: includes/ot-functions-docs-page.php:
|
1351 |
msgid ""
|
1352 |
"Once instantiated, the WYSIWYG editor cannot be moved around in the DOM. "
|
1353 |
"What this means in practical terms, is that you cannot put it in meta-boxes "
|
1354 |
"that can be dragged and placed elsewhere on the page."
|
1355 |
msgstr ""
|
1356 |
|
1357 |
-
#: includes/ot-functions-docs-page.php:
|
1358 |
msgid "Create and include your custom meta boxes file."
|
1359 |
msgstr ""
|
1360 |
|
1361 |
-
#: includes/ot-functions-docs-page.php:
|
1362 |
msgid ""
|
1363 |
"Create a file and name it anything you want, maybe <code>meta-boxes.php</"
|
1364 |
"code>."
|
1365 |
msgstr ""
|
1366 |
|
1367 |
-
#: includes/ot-functions-docs-page.php:
|
1368 |
msgid ""
|
1369 |
"As well, you'll probably want to create a directory named <code>includes</"
|
1370 |
"code> to put your <code>meta-boxes.php</code> into which will help keep you "
|
1371 |
"file structure nice and tidy."
|
1372 |
msgstr ""
|
1373 |
|
1374 |
-
#: includes/ot-functions-docs-page.php:
|
1375 |
-
#: includes/ot-functions-docs-page.php:
|
1376 |
msgid "Add the following code to your <code>functions.php</code>."
|
1377 |
msgstr ""
|
1378 |
|
1379 |
-
#: includes/ot-functions-docs-page.php:
|
1380 |
msgid ""
|
1381 |
"Add a variation of the following code to your <code>meta-boxes.php</code>. "
|
1382 |
"You'll obviously need to fill it in with all your custom array values. It's "
|
@@ -1385,7 +1469,7 @@ msgid ""
|
|
1385 |
"before OptionTree was loaded the sky would fall on your head."
|
1386 |
msgstr ""
|
1387 |
|
1388 |
-
#: includes/ot-functions-docs-page.php:
|
1389 |
msgid ""
|
1390 |
"There are a few simple steps you need to take in order to use OptionTree as "
|
1391 |
"a theme included module. In the code below I'll show you a basic demo of how "
|
@@ -1396,65 +1480,65 @@ msgid ""
|
|
1396 |
"contains a file named <code>demo-theme-options.php</code> you can reference."
|
1397 |
msgstr ""
|
1398 |
|
1399 |
-
#: includes/ot-functions-docs-page.php:
|
1400 |
msgid "Step 1: Include the plugin & turn on theme mode."
|
1401 |
msgstr ""
|
1402 |
|
1403 |
-
#: includes/ot-functions-docs-page.php:
|
1404 |
msgid ""
|
1405 |
"Download the latest version of <a href=\"http://wordpress.org/extend/plugins/"
|
1406 |
"option-tree/\" rel=\"nofollow\" target=\"_blank\">OptionTree</a>."
|
1407 |
msgstr ""
|
1408 |
|
1409 |
-
#: includes/ot-functions-docs-page.php:
|
1410 |
msgid "Unpack the ZIP archive."
|
1411 |
msgstr ""
|
1412 |
|
1413 |
-
#: includes/ot-functions-docs-page.php:
|
1414 |
msgid ""
|
1415 |
"Put the <code>option-tree</code> directory in the root of your theme. For "
|
1416 |
"example, the server path would be <code>/wp-content/themes/theme-name/option-"
|
1417 |
"tree/</code>."
|
1418 |
msgstr ""
|
1419 |
|
1420 |
-
#: includes/ot-functions-docs-page.php:
|
1421 |
msgid ""
|
1422 |
"Add the following code to the beginning of your <code>functions.php</code>."
|
1423 |
msgstr ""
|
1424 |
|
1425 |
-
#: includes/ot-functions-docs-page.php:
|
1426 |
msgid ""
|
1427 |
"It's that simple! You now have OptionTree built into your theme and anytime "
|
1428 |
"there's an update to the plugin you just replace the old version and you're "
|
1429 |
"good to go.."
|
1430 |
msgstr ""
|
1431 |
|
1432 |
-
#: includes/ot-functions-docs-page.php:
|
1433 |
msgid "Step 2: Create Theme Options without using the UI Builder."
|
1434 |
msgstr ""
|
1435 |
|
1436 |
-
#: includes/ot-functions-docs-page.php:
|
1437 |
msgid ""
|
1438 |
"Create a file and name it anything you want, maybe <code>theme-options.php</"
|
1439 |
"code>, or use the built in file export to create it for you. Remember, you "
|
1440 |
"should always check the file for errors before including it in your theme."
|
1441 |
msgstr ""
|
1442 |
|
1443 |
-
#: includes/ot-functions-docs-page.php:
|
1444 |
msgid ""
|
1445 |
"As well, you'll probably want to create a directory named <code>includes</"
|
1446 |
"code> to put your <code>theme-options.php</code> into which will help keep "
|
1447 |
"you file structure nice and tidy."
|
1448 |
msgstr ""
|
1449 |
|
1450 |
-
#: includes/ot-functions-docs-page.php:
|
1451 |
msgid ""
|
1452 |
"Add a variation of the following code to your <code>theme-options.php</"
|
1453 |
"code>. You'll obviously need to fill it in with all your custom array values "
|
1454 |
"for contextual help (optional), sections (required), and settings (required)."
|
1455 |
msgstr ""
|
1456 |
|
1457 |
-
#: includes/ot-functions-docs-page.php:
|
1458 |
msgid ""
|
1459 |
"The code below is a boilerplate to get your started. For a full list of the "
|
1460 |
"available option types click the \"Option Types\" tab above. Also a quick "
|
@@ -1469,74 +1553,86 @@ msgstr ""
|
|
1469 |
msgid "Sorry, this function does not exist"
|
1470 |
msgstr ""
|
1471 |
|
1472 |
-
#: includes/ot-functions-option-types.php:
|
1473 |
msgid "background-repeat"
|
1474 |
msgstr ""
|
1475 |
|
1476 |
-
#: includes/ot-functions-option-types.php:
|
1477 |
msgid "background-attachment"
|
1478 |
msgstr ""
|
1479 |
|
1480 |
-
#: includes/ot-functions-option-types.php:
|
1481 |
msgid "background-position"
|
1482 |
msgstr ""
|
1483 |
|
1484 |
-
#: includes/ot-functions-option-types.php:
|
1485 |
-
|
|
|
|
|
|
|
|
|
1486 |
msgid "Add Media"
|
1487 |
msgstr ""
|
1488 |
|
1489 |
-
#: includes/ot-functions-option-types.php:
|
1490 |
-
#: includes/ot-functions-option-types.php:
|
1491 |
msgid "No Categories Found"
|
1492 |
msgstr ""
|
1493 |
|
1494 |
-
#: includes/ot-functions-option-types.php:
|
1495 |
-
#: includes/ot-functions-option-types.php:
|
1496 |
-
#: includes/ot-functions-option-types.php:
|
1497 |
-
#: includes/ot-functions-option-types.php:
|
1498 |
-
#: includes/ot-functions-option-types.php:
|
1499 |
-
#: includes/ot-functions-option-types.php:
|
1500 |
msgid "Choose One"
|
1501 |
msgstr ""
|
1502 |
|
1503 |
-
#: includes/ot-functions-option-types.php:
|
1504 |
-
#: includes/ot-functions-option-types.php:
|
1505 |
-
#: includes/ot-functions-option-types.php:
|
1506 |
-
#: includes/ot-functions-option-types.php:
|
1507 |
msgid "No Posts Found"
|
1508 |
msgstr ""
|
1509 |
|
1510 |
-
#: includes/ot-functions-option-types.php:
|
1511 |
-
#: includes/ot-functions-option-types.php:
|
1512 |
msgid "Add New"
|
1513 |
msgstr ""
|
1514 |
|
1515 |
-
#: includes/ot-functions-option-types.php:
|
1516 |
-
#: includes/ot-functions-option-types.php:
|
1517 |
msgid "You can re-order with drag & drop, the order will update after saving."
|
1518 |
msgstr ""
|
1519 |
|
1520 |
-
#: includes/ot-functions-option-types.php:
|
1521 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1522 |
msgid "No Pages Found"
|
1523 |
msgstr ""
|
1524 |
|
1525 |
-
#: includes/ot-functions-option-types.php:
|
1526 |
msgid "Choose Sidebar"
|
1527 |
msgstr ""
|
1528 |
|
1529 |
-
#: includes/ot-functions-option-types.php:
|
1530 |
msgid "No Sidebars"
|
1531 |
msgstr ""
|
1532 |
|
1533 |
-
#: includes/ot-functions-option-types.php:
|
1534 |
-
#: includes/ot-functions-option-types.php:
|
1535 |
msgid "No Tags Found"
|
1536 |
msgstr ""
|
1537 |
|
1538 |
-
#: includes/ot-functions-option-types.php:
|
1539 |
-
#: includes/ot-functions-option-types.php:
|
1540 |
msgid "No Taxonomies Found"
|
1541 |
msgstr ""
|
1542 |
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: \n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/option-tree\n"
|
7 |
+
"POT-Creation-Date: 2014-01-27 07:25:37+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
"PO-Revision-Date: 2014-MO-DA HO:MI+ZONE\n"
|
12 |
+
"Last-Translator: Derek Herman <derek@valendesigns.com>\n"
|
13 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
|
15 |
#: includes/ot-functions-admin.php:50 includes/ot-functions-admin.php:51
|
16 |
#: includes/ot-functions-admin.php:157 includes/ot-functions-admin.php:181
|
17 |
+
#: includes/ot-functions.php:210
|
18 |
msgid "Theme Options"
|
19 |
msgstr ""
|
20 |
|
141 |
msgid "The Colorpicker only allows valid hexadecimal values."
|
142 |
msgstr ""
|
143 |
|
144 |
+
#: includes/ot-functions-admin.php:567
|
145 |
msgid "Send to OptionTree"
|
146 |
msgstr ""
|
147 |
|
148 |
+
#: includes/ot-functions-admin.php:568
|
149 |
+
#: includes/ot-functions-option-types.php:239
|
150 |
+
#: includes/ot-functions-option-types.php:2107
|
151 |
msgid "Remove Media"
|
152 |
msgstr ""
|
153 |
|
154 |
+
#: includes/ot-functions-admin.php:569
|
155 |
msgid "Are you sure you want to reset back to the defaults?"
|
156 |
msgstr ""
|
157 |
|
158 |
+
#: includes/ot-functions-admin.php:570
|
159 |
msgid "You can't remove this! But you can edit the values."
|
160 |
msgstr ""
|
161 |
|
162 |
+
#: includes/ot-functions-admin.php:571
|
163 |
msgid "Are you sure you want to remove this?"
|
164 |
msgstr ""
|
165 |
|
166 |
+
#: includes/ot-functions-admin.php:572
|
167 |
msgid "Are you sure you want to activate this layout?"
|
168 |
msgstr ""
|
169 |
|
170 |
+
#: includes/ot-functions-admin.php:573
|
171 |
msgid "Sorry, you can't have settings three levels deep."
|
172 |
msgstr ""
|
173 |
|
174 |
+
#: includes/ot-functions-admin.php:574
|
175 |
+
#: includes/ot-functions-option-types.php:684
|
176 |
+
msgid "Delete Gallery"
|
177 |
+
msgstr ""
|
178 |
+
|
179 |
+
#: includes/ot-functions-admin.php:575
|
180 |
+
#: includes/ot-functions-option-types.php:685
|
181 |
+
msgid "Edit Gallery"
|
182 |
+
msgstr ""
|
183 |
+
|
184 |
+
#: includes/ot-functions-admin.php:576
|
185 |
+
#: includes/ot-functions-option-types.php:692
|
186 |
+
msgid "Create Gallery"
|
187 |
+
msgstr ""
|
188 |
+
|
189 |
+
#: includes/ot-functions-admin.php:577
|
190 |
+
msgid "Are you sure you want to delete this Gallery?"
|
191 |
+
msgstr ""
|
192 |
+
|
193 |
+
#: includes/ot-functions-admin.php:623
|
194 |
msgid "Option Tree"
|
195 |
msgstr ""
|
196 |
|
197 |
+
#: includes/ot-functions-admin.php:759
|
198 |
msgid "General"
|
199 |
msgstr ""
|
200 |
|
201 |
+
#: includes/ot-functions-admin.php:765
|
202 |
msgid "Sample Text Field Label"
|
203 |
msgstr ""
|
204 |
|
205 |
+
#: includes/ot-functions-admin.php:766
|
206 |
msgid "Description for the sample text field."
|
207 |
msgstr ""
|
208 |
|
209 |
+
#: includes/ot-functions-admin.php:1972
|
210 |
msgid "Settings updated."
|
211 |
msgstr ""
|
212 |
|
213 |
+
#: includes/ot-functions-admin.php:1976
|
214 |
msgid "Settings could not be saved."
|
215 |
msgstr ""
|
216 |
|
217 |
+
#: includes/ot-functions-admin.php:1984
|
218 |
msgid "Settings Imported."
|
219 |
msgstr ""
|
220 |
|
221 |
+
#: includes/ot-functions-admin.php:1988
|
222 |
msgid "Settings could not be imported."
|
223 |
msgstr ""
|
224 |
|
225 |
+
#: includes/ot-functions-admin.php:1995
|
226 |
msgid "Data Imported."
|
227 |
msgstr ""
|
228 |
|
229 |
+
#: includes/ot-functions-admin.php:1999
|
230 |
msgid "Data could not be imported."
|
231 |
msgstr ""
|
232 |
|
233 |
+
#: includes/ot-functions-admin.php:2007
|
234 |
msgid "Layouts Imported."
|
235 |
msgstr ""
|
236 |
|
237 |
+
#: includes/ot-functions-admin.php:2011
|
238 |
msgid "Layouts could not be imported."
|
239 |
msgstr ""
|
240 |
|
241 |
+
#: includes/ot-functions-admin.php:2019
|
242 |
msgid "Layouts Updated."
|
243 |
msgstr ""
|
244 |
|
245 |
+
#: includes/ot-functions-admin.php:2023
|
246 |
msgid "Layouts could not be updated."
|
247 |
msgstr ""
|
248 |
|
249 |
+
#: includes/ot-functions-admin.php:2027
|
250 |
msgid "Layouts have been deleted."
|
251 |
msgstr ""
|
252 |
|
253 |
+
#: includes/ot-functions-admin.php:2033
|
254 |
msgid "Layout activated."
|
255 |
msgstr ""
|
256 |
|
257 |
+
#: includes/ot-functions-admin.php:2597
|
258 |
msgid "Left Sidebar"
|
259 |
msgstr ""
|
260 |
|
261 |
+
#: includes/ot-functions-admin.php:2602
|
262 |
msgid "Right Sidebar"
|
263 |
msgstr ""
|
264 |
|
265 |
+
#: includes/ot-functions-admin.php:2607
|
266 |
msgid "Full Width (no sidebar)"
|
267 |
msgstr ""
|
268 |
|
269 |
+
#: includes/ot-functions-admin.php:2612
|
270 |
msgid "Dual Sidebar"
|
271 |
msgstr ""
|
272 |
|
273 |
+
#: includes/ot-functions-admin.php:2617
|
274 |
msgid "Left Dual Sidebar"
|
275 |
msgstr ""
|
276 |
|
277 |
+
#: includes/ot-functions-admin.php:2622
|
278 |
msgid "Right Dual Sidebar"
|
279 |
msgstr ""
|
280 |
|
281 |
+
#: includes/ot-functions-admin.php:2652 includes/ot-functions-admin.php:2713
|
282 |
msgid "Image"
|
283 |
msgstr ""
|
284 |
|
285 |
+
#: includes/ot-functions-admin.php:2663 includes/ot-functions-admin.php:2719
|
286 |
msgid "Link"
|
287 |
msgstr ""
|
288 |
|
289 |
+
#: includes/ot-functions-admin.php:2674 includes/ot-functions-admin.php:2725
|
290 |
#: includes/ot-functions-docs-page.php:43
|
291 |
+
#: includes/ot-functions-docs-page.php:392
|
292 |
+
#: includes/ot-functions-docs-page.php:442
|
293 |
msgid "Description"
|
294 |
msgstr ""
|
295 |
|
296 |
+
#: includes/ot-functions-admin.php:3208
|
297 |
msgid "edit"
|
298 |
msgstr ""
|
299 |
|
300 |
+
#: includes/ot-functions-admin.php:3209 includes/ot-functions-admin.php:3277
|
301 |
+
#: includes/ot-functions-admin.php:3278 includes/ot-functions-admin.php:3440
|
302 |
+
#: includes/ot-functions-admin.php:3441 includes/ot-functions-admin.php:3506
|
303 |
+
#: includes/ot-functions-admin.php:3507 includes/ot-functions-admin.php:3634
|
304 |
+
#: includes/ot-functions-admin.php:3635
|
305 |
msgid "Edit"
|
306 |
msgstr ""
|
307 |
|
308 |
+
#: includes/ot-functions-admin.php:3211 includes/ot-functions-admin.php:3212
|
309 |
+
#: includes/ot-functions-admin.php:3280 includes/ot-functions-admin.php:3281
|
310 |
+
#: includes/ot-functions-admin.php:3443 includes/ot-functions-admin.php:3444
|
311 |
+
#: includes/ot-functions-admin.php:3509 includes/ot-functions-admin.php:3510
|
312 |
+
#: includes/ot-functions-admin.php:3568 includes/ot-functions-admin.php:3569
|
313 |
+
#: includes/ot-functions-admin.php:3637 includes/ot-functions-admin.php:3638
|
314 |
msgid "Delete"
|
315 |
msgstr ""
|
316 |
|
317 |
+
#: includes/ot-functions-admin.php:3218
|
318 |
msgid ""
|
319 |
"<strong>Section Title</strong>: Displayed as a menu item on the Theme "
|
320 |
"Options page."
|
321 |
msgstr ""
|
322 |
|
323 |
+
#: includes/ot-functions-admin.php:3226
|
324 |
msgid ""
|
325 |
"<strong>Section ID</strong>: A unique lower case alphanumeric string, "
|
326 |
"underscores allowed."
|
327 |
msgstr ""
|
328 |
|
329 |
+
#: includes/ot-functions-admin.php:3287
|
330 |
msgid ""
|
331 |
"<strong>Label</strong>: Displayed as the label of a form element on the "
|
332 |
"Theme Options page."
|
333 |
msgstr ""
|
334 |
|
335 |
+
#: includes/ot-functions-admin.php:3295 includes/ot-functions-admin.php:3524
|
336 |
msgid ""
|
337 |
"<strong>ID</strong>: A unique lower case alphanumeric string, underscores "
|
338 |
"allowed."
|
339 |
msgstr ""
|
340 |
|
341 |
+
#: includes/ot-functions-admin.php:3303
|
342 |
msgid ""
|
343 |
"<strong>Type</strong>: Choose one of the available option types from the "
|
344 |
"dropdown."
|
345 |
msgstr ""
|
346 |
|
347 |
+
#: includes/ot-functions-admin.php:3314
|
348 |
msgid ""
|
349 |
"<strong>Description</strong>: Enter a detailed description for the users to "
|
350 |
"read on the Theme Options page, HTML is allowed. This is also where you "
|
351 |
"enter content for both the Textblock & Textblock Titled option types."
|
352 |
msgstr ""
|
353 |
|
354 |
+
#: includes/ot-functions-admin.php:3322
|
355 |
msgid ""
|
356 |
"<strong>Choices</strong>: This will only affect the following option types: "
|
357 |
"Checkbox, Radio, Select & Select Image."
|
358 |
msgstr ""
|
359 |
|
360 |
+
#: includes/ot-functions-admin.php:3327
|
361 |
msgid "Add Choice"
|
362 |
msgstr ""
|
363 |
|
364 |
+
#: includes/ot-functions-admin.php:3333
|
365 |
msgid ""
|
366 |
"<strong>Settings</strong>: This will only affect the List Item option type."
|
367 |
msgstr ""
|
368 |
|
369 |
+
#: includes/ot-functions-admin.php:3338
|
370 |
#: includes/ot-functions-settings-page.php:93
|
371 |
msgid "Add Setting"
|
372 |
msgstr ""
|
373 |
|
374 |
+
#: includes/ot-functions-admin.php:3344
|
375 |
msgid ""
|
376 |
"<strong>Standard</strong>: Setting the standard value for your option only "
|
377 |
"works for some option types. Read the <code>OptionTree->Documentation</code> "
|
378 |
"for more information on which ones."
|
379 |
msgstr ""
|
380 |
|
381 |
+
#: includes/ot-functions-admin.php:3352
|
382 |
msgid ""
|
383 |
"<strong>Rows</strong>: Enter a numeric value for the number of rows in your "
|
384 |
"textarea. This will only affect the following option types: CSS, Textarea, & "
|
385 |
"Textarea Simple."
|
386 |
msgstr ""
|
387 |
|
388 |
+
#: includes/ot-functions-admin.php:3360
|
389 |
msgid ""
|
390 |
"<strong>Post Type</strong>: Add a comma separated list of post type like "
|
391 |
"'post,page'. This will only affect the following option types: Custom Post "
|
392 |
"Type Checkbox, & Custom Post Type Select."
|
393 |
msgstr ""
|
394 |
|
395 |
+
#: includes/ot-functions-admin.php:3368
|
396 |
msgid ""
|
397 |
"<strong>Taxonomy</strong>: Add a comma separated list of any registered "
|
398 |
"taxonomy like 'category,post_tag'. This will only affect the following "
|
399 |
"option types: Taxonomy Checkbox, & Taxonomy Select."
|
400 |
msgstr ""
|
401 |
|
402 |
+
#: includes/ot-functions-admin.php:3376
|
403 |
msgid ""
|
404 |
"<strong>Min, Max, & Step</strong>: Add a comma separated list of options in "
|
405 |
"the following format <code>0,100,1</code> (slide from <code>0-100</code> in "
|
408 |
"type."
|
409 |
msgstr ""
|
410 |
|
411 |
+
#: includes/ot-functions-admin.php:3384
|
412 |
msgid "<strong>CSS Class</strong>: Add and optional class to this option type."
|
413 |
msgstr ""
|
414 |
|
415 |
+
#: includes/ot-functions-admin.php:3392
|
416 |
+
msgid ""
|
417 |
+
"<strong>Condition</strong>: Add a comma separated list (no spaces) of "
|
418 |
+
"conditions in which the field will be visible, leave this setting empty to "
|
419 |
+
"always show the field. In these examples, <code>value</code> is a "
|
420 |
+
"placeholder for your condition, which can be in the form of %s."
|
421 |
+
msgstr ""
|
422 |
+
|
423 |
+
#: includes/ot-functions-admin.php:3400
|
424 |
+
msgid ""
|
425 |
+
"<strong>Operator</strong>: Choose the logical operator to compute the result "
|
426 |
+
"of the conditions."
|
427 |
+
msgstr ""
|
428 |
+
|
429 |
+
#: includes/ot-functions-admin.php:3403
|
430 |
+
msgid "and"
|
431 |
+
msgstr ""
|
432 |
+
|
433 |
+
#: includes/ot-functions-admin.php:3404
|
434 |
+
msgid "or"
|
435 |
+
msgstr ""
|
436 |
+
|
437 |
+
#: includes/ot-functions-admin.php:3450 includes/ot-functions-docs-page.php:29
|
438 |
msgid "Label"
|
439 |
msgstr ""
|
440 |
|
441 |
+
#: includes/ot-functions-admin.php:3460
|
442 |
msgid "Value"
|
443 |
msgstr ""
|
444 |
|
445 |
+
#: includes/ot-functions-admin.php:3470
|
446 |
msgid "Image Source (Radio Image only)"
|
447 |
msgstr ""
|
448 |
|
449 |
+
#: includes/ot-functions-admin.php:3516
|
450 |
msgid ""
|
451 |
"<strong>Title</strong>: Displayed as a contextual help menu item on the "
|
452 |
"Theme Options page."
|
453 |
msgstr ""
|
454 |
|
455 |
+
#: includes/ot-functions-admin.php:3532
|
456 |
msgid ""
|
457 |
"<strong>Content</strong>: Enter the HTML content about this contextual help "
|
458 |
"item displayed on the Theme Option page for end users to read."
|
459 |
msgstr ""
|
460 |
|
461 |
+
#: includes/ot-functions-admin.php:3563
|
462 |
msgid "Layout"
|
463 |
msgstr ""
|
464 |
|
465 |
+
#: includes/ot-functions-admin.php:3565 includes/ot-functions-admin.php:3566
|
466 |
msgid "Activate"
|
467 |
msgstr ""
|
468 |
|
469 |
+
#: includes/ot-functions-admin.php:3602 includes/ot-meta-box-api.php:202
|
470 |
+
#: includes/ot-settings-api.php:592
|
471 |
msgid "Title"
|
472 |
msgstr ""
|
473 |
|
474 |
+
#: includes/ot-functions-admin.php:3790
|
475 |
msgid "New Layout"
|
476 |
msgstr ""
|
477 |
|
595 |
msgid "Add and optional class to any option type."
|
596 |
msgstr ""
|
597 |
|
598 |
+
#: includes/ot-functions-docs-page.php:76
|
599 |
+
msgid "Condition"
|
600 |
+
msgstr ""
|
601 |
+
|
602 |
+
#: includes/ot-functions-docs-page.php:77
|
603 |
+
msgid ""
|
604 |
+
"Add a comma separated list (no spaces) of conditions in which the field will "
|
605 |
+
"be visible, leave this setting empty to always show the field. In these "
|
606 |
+
"examples, %s is a placeholder for your condition, which can be in the form "
|
607 |
+
"of %s."
|
608 |
+
msgstr ""
|
609 |
+
|
610 |
+
#: includes/ot-functions-docs-page.php:79
|
611 |
+
msgid "Operator"
|
612 |
+
msgstr ""
|
613 |
+
|
614 |
+
#: includes/ot-functions-docs-page.php:80
|
615 |
+
msgid ""
|
616 |
+
"Choose the logical operator to compute the result of the conditions. Your "
|
617 |
+
"options are %s and %s."
|
618 |
+
msgstr ""
|
619 |
+
|
620 |
+
#: includes/ot-functions-docs-page.php:110
|
621 |
msgid "Background"
|
622 |
msgstr ""
|
623 |
|
624 |
+
#: includes/ot-functions-docs-page.php:111
|
625 |
msgid ""
|
626 |
"The Background option type is for adding background styles to your theme "
|
627 |
"either dynamically via the CSS option type below or manually with "
|
633 |
"fine tune the select lists for your specific CSS needs."
|
634 |
msgstr ""
|
635 |
|
636 |
+
#: includes/ot-functions-docs-page.php:113
|
637 |
msgid "Category Select"
|
638 |
msgstr ""
|
639 |
|
640 |
+
#: includes/ot-functions-docs-page.php:114
|
641 |
msgid ""
|
642 |
"The Category Select option type displays a list of category IDs. It allows "
|
643 |
"the user to select only one category ID and will return that value for use "
|
644 |
"in a custom function or loop."
|
645 |
msgstr ""
|
646 |
|
647 |
+
#: includes/ot-functions-docs-page.php:116
|
648 |
msgid "Category Checkbox"
|
649 |
msgstr ""
|
650 |
|
651 |
+
#: includes/ot-functions-docs-page.php:117
|
652 |
msgid ""
|
653 |
"The Category Checkbox option type displays a list of category IDs. It allows "
|
654 |
"the user to check multiple category IDs and will return that value as an "
|
655 |
"array for use in a custom function or loop."
|
656 |
msgstr ""
|
657 |
|
658 |
+
#: includes/ot-functions-docs-page.php:119
|
659 |
msgid "Checkbox"
|
660 |
msgstr ""
|
661 |
|
662 |
+
#: includes/ot-functions-docs-page.php:120
|
663 |
msgid ""
|
664 |
"The Checkbox option type is fairly self explanatory. Typically used to ask "
|
665 |
"questions. For example, \"Do you want to activate asynchronous Google "
|
670 |
"nothing if it doesn't."
|
671 |
msgstr ""
|
672 |
|
673 |
+
#: includes/ot-functions-docs-page.php:122
|
674 |
msgid "Colorpicker"
|
675 |
msgstr ""
|
676 |
|
677 |
+
#: includes/ot-functions-docs-page.php:123
|
678 |
msgid ""
|
679 |
"The Colorpicker option type saves a hexadecimal color code for use in CSS. "
|
680 |
"Use it to modify the color of something in your theme."
|
681 |
msgstr ""
|
682 |
|
683 |
+
#: includes/ot-functions-docs-page.php:125
|
684 |
msgid "CSS"
|
685 |
msgstr ""
|
686 |
|
687 |
+
#: includes/ot-functions-docs-page.php:126
|
688 |
msgid ""
|
689 |
"The CSS option type is a textarea that when used properly can add dynamic "
|
690 |
"CSS to your theme from within OptionTree. Unfortunately, due server "
|
697 |
"theme options."
|
698 |
msgstr ""
|
699 |
|
700 |
+
#: includes/ot-functions-docs-page.php:128
|
701 |
msgid ""
|
702 |
"An example of the CSS option type: This assumes you have an option with the "
|
703 |
"ID of <code>custom_background_css</code> which will display the saved values "
|
704 |
"for that option."
|
705 |
msgstr ""
|
706 |
|
707 |
+
#: includes/ot-functions-docs-page.php:130
|
708 |
msgid "Input"
|
709 |
msgstr ""
|
710 |
|
711 |
+
#: includes/ot-functions-docs-page.php:136
|
712 |
msgid "Output"
|
713 |
msgstr ""
|
714 |
|
715 |
+
#: includes/ot-functions-docs-page.php:144
|
716 |
msgid "Custom Post Type Select"
|
717 |
msgstr ""
|
718 |
|
719 |
+
#: includes/ot-functions-docs-page.php:145
|
720 |
msgid ""
|
721 |
"The Custom Post Type Select option type displays a list of IDs from any "
|
722 |
"available WordPress post type or custom post type. It will return a single "
|
726 |
"version."
|
727 |
msgstr ""
|
728 |
|
729 |
+
#: includes/ot-functions-docs-page.php:147
|
730 |
msgid "Custom Post Type Checkbox"
|
731 |
msgstr ""
|
732 |
|
733 |
+
#: includes/ot-functions-docs-page.php:148
|
734 |
msgid ""
|
735 |
"The Custom Post Type Select option type displays a list of IDs from any "
|
736 |
"available WordPress post type or custom post type. It allows the user to "
|
740 |
"future version."
|
741 |
msgstr ""
|
742 |
|
743 |
+
#: includes/ot-functions-docs-page.php:150
|
744 |
+
msgid "Gallery"
|
745 |
+
msgstr ""
|
746 |
+
|
747 |
+
#: includes/ot-functions-docs-page.php:151
|
748 |
+
msgid ""
|
749 |
+
"The Gallery option type saves a comma separated list of image attachment "
|
750 |
+
"IDs. You will need to create a front-end function to display the images in "
|
751 |
+
"your theme."
|
752 |
+
msgstr ""
|
753 |
+
|
754 |
+
#: includes/ot-functions-docs-page.php:153
|
755 |
msgid "List Item"
|
756 |
msgstr ""
|
757 |
|
758 |
+
#: includes/ot-functions-docs-page.php:154
|
759 |
msgid ""
|
760 |
"The list Item replaced the old Slider option type. It allows for a great "
|
761 |
"deal of customization. You can add settings to the List Item and those "
|
764 |
"layouts."
|
765 |
msgstr ""
|
766 |
|
767 |
+
#: includes/ot-functions-docs-page.php:156
|
768 |
msgid "Measurement"
|
769 |
msgstr ""
|
770 |
|
771 |
+
#: includes/ot-functions-docs-page.php:157
|
772 |
msgid ""
|
773 |
"The Measurement option type is a mix of input and select fields. The text "
|
774 |
"input excepts a value and the select lets you choose the unit of measurement "
|
777 |
"with the <code>ot_measurement_unit_types</code> filter."
|
778 |
msgstr ""
|
779 |
|
780 |
+
#: includes/ot-functions-docs-page.php:159
|
781 |
msgid ""
|
782 |
"Example filter to add new units to the Measurement option type. Added to "
|
783 |
"<code>functions.php</code>."
|
784 |
msgstr ""
|
785 |
|
786 |
+
#: includes/ot-functions-docs-page.php:172
|
787 |
msgid ""
|
788 |
"Example filter to completely change the units in the Measurement option "
|
789 |
"type. Added to <code>functions.php</code>."
|
790 |
msgstr ""
|
791 |
|
792 |
+
#: includes/ot-functions-docs-page.php:187
|
793 |
msgid "Numeric Slider"
|
794 |
msgstr ""
|
795 |
|
796 |
+
#: includes/ot-functions-docs-page.php:188
|
797 |
msgid ""
|
798 |
"The Numeric Slider option type displays a jQuery UI slider. It will return a "
|
799 |
"single numerical value for use in a custom function or loop."
|
800 |
msgstr ""
|
801 |
|
802 |
+
#: includes/ot-functions-docs-page.php:190
|
803 |
+
msgid "On/Off"
|
804 |
+
msgstr ""
|
805 |
+
|
806 |
+
#: includes/ot-functions-docs-page.php:191
|
807 |
+
msgid ""
|
808 |
+
"The On/Off option type displays a simple switch that can be used to turn "
|
809 |
+
"things on or off. The saved return value is either on or off."
|
810 |
+
msgstr ""
|
811 |
+
|
812 |
+
#: includes/ot-functions-docs-page.php:193
|
813 |
msgid "Page Select"
|
814 |
msgstr ""
|
815 |
|
816 |
+
#: includes/ot-functions-docs-page.php:194
|
817 |
msgid ""
|
818 |
"The Page Select option type displays a list of page IDs. It will return a "
|
819 |
"single page ID for use in a custom function or loop."
|
820 |
msgstr ""
|
821 |
|
822 |
+
#: includes/ot-functions-docs-page.php:196
|
823 |
msgid "Page Checkbox"
|
824 |
msgstr ""
|
825 |
|
826 |
+
#: includes/ot-functions-docs-page.php:197
|
827 |
msgid ""
|
828 |
"The Page Select option type displays a list of page IDs. It allows the user "
|
829 |
"to check multiple page IDs for use in a custom function or loop."
|
830 |
msgstr ""
|
831 |
|
832 |
+
#: includes/ot-functions-docs-page.php:199
|
833 |
msgid "Post Select"
|
834 |
msgstr ""
|
835 |
|
836 |
+
#: includes/ot-functions-docs-page.php:200
|
837 |
msgid ""
|
838 |
"The Post Select option type displays a list of post IDs. It will return a "
|
839 |
"single post ID for use in a custom function or loop."
|
840 |
msgstr ""
|
841 |
|
842 |
+
#: includes/ot-functions-docs-page.php:202
|
843 |
msgid "Post Checkbox"
|
844 |
msgstr ""
|
845 |
|
846 |
+
#: includes/ot-functions-docs-page.php:203
|
847 |
msgid ""
|
848 |
"The Post Select option type displays a list of post IDs. It allows the user "
|
849 |
"to check multiple post IDs for use in a custom function or loop."
|
850 |
msgstr ""
|
851 |
|
852 |
+
#: includes/ot-functions-docs-page.php:205
|
853 |
msgid "Radio"
|
854 |
msgstr ""
|
855 |
|
856 |
+
#: includes/ot-functions-docs-page.php:206
|
857 |
msgid ""
|
858 |
"The Radio option type could ask a question. For example, \"Do you want to "
|
859 |
"activate the custom navigation?\" could require a yes or no answer with a "
|
862 |
"of code."
|
863 |
msgstr ""
|
864 |
|
865 |
+
#: includes/ot-functions-docs-page.php:208
|
866 |
msgid "Radio Image"
|
867 |
msgstr ""
|
868 |
|
869 |
+
#: includes/ot-functions-docs-page.php:209
|
870 |
msgid ""
|
871 |
"the Radio Images option type is primarily used for layouts. However, you can "
|
872 |
"filter the image list using <code>ot_radio_images</code>. As well, you can "
|
873 |
"add your own custom images using the choices array."
|
874 |
msgstr ""
|
875 |
|
876 |
+
#: includes/ot-functions-docs-page.php:211
|
877 |
msgid ""
|
878 |
"This example executes the <code>ot_radio_images</code> filter on layout "
|
879 |
"images attached to the <code>my_radio_images</code> field. Added to "
|
880 |
"<code>functions.php</code>."
|
881 |
msgstr ""
|
882 |
|
883 |
+
#: includes/ot-functions-docs-page.php:235
|
884 |
msgid "Select"
|
885 |
msgstr ""
|
886 |
|
887 |
+
#: includes/ot-functions-docs-page.php:236
|
888 |
msgid ""
|
889 |
"The Select option type is used to list anything you want that would be "
|
890 |
"chosen from a select list."
|
891 |
msgstr ""
|
892 |
|
893 |
+
#: includes/ot-functions-docs-page.php:238
|
894 |
msgid "Sidebar Select"
|
895 |
msgstr ""
|
896 |
|
897 |
+
#: includes/ot-functions-docs-page.php:239
|
898 |
msgid ""
|
899 |
"This option type makes it possible for users to select a WordPress "
|
900 |
"registered sidebar to use on a specific area. By using the two provided "
|
903 |
"which sidebars are available on a specific content area."
|
904 |
msgstr ""
|
905 |
|
906 |
+
#: includes/ot-functions-docs-page.php:240
|
907 |
msgid ""
|
908 |
"For example, if we create a WordPress theme that provides the ability to "
|
909 |
"change the Blog Sidebar and we don't want to have the footer sidebars "
|
912 |
"sidebar-$i</code>."
|
913 |
msgstr ""
|
914 |
|
915 |
+
#: includes/ot-functions-docs-page.php:242
|
916 |
msgid "Slider"
|
917 |
msgstr ""
|
918 |
|
919 |
+
#: includes/ot-functions-docs-page.php:243
|
920 |
msgid ""
|
921 |
"The Slider option type is technically deprecated. Use the List Item option "
|
922 |
"type instead, as it's infinitely more customizable. Typical use is for "
|
923 |
"creating sliding image content."
|
924 |
msgstr ""
|
925 |
|
926 |
+
#: includes/ot-functions-docs-page.php:245
|
927 |
msgid "Tag Checkbox"
|
928 |
msgstr ""
|
929 |
|
930 |
+
#: includes/ot-functions-docs-page.php:246
|
931 |
msgid ""
|
932 |
"The Tag Checkbox option type displays a list of tag IDs. It allows the user "
|
933 |
"to check multiple tag IDs and will return that value as an array for use in "
|
934 |
"a custom function or loop."
|
935 |
msgstr ""
|
936 |
|
937 |
+
#: includes/ot-functions-docs-page.php:248
|
938 |
msgid "Tag Select"
|
939 |
msgstr ""
|
940 |
|
941 |
+
#: includes/ot-functions-docs-page.php:249
|
942 |
msgid ""
|
943 |
"The Tag Select option type displays a list of tag IDs. It allows the user to "
|
944 |
"select only one tag ID and will return that value for use in a custom "
|
945 |
"function or loop."
|
946 |
msgstr ""
|
947 |
|
948 |
+
#: includes/ot-functions-docs-page.php:251
|
949 |
msgid "Taxonomy Checkbox"
|
950 |
msgstr ""
|
951 |
|
952 |
+
#: includes/ot-functions-docs-page.php:252
|
953 |
msgid ""
|
954 |
"The Taxonomy Checkbox option type displays a list of taxonomy IDs. It allows "
|
955 |
"the user to check multiple taxonomy IDs and will return that value as an "
|
956 |
"array for use in a custom function or loop."
|
957 |
msgstr ""
|
958 |
|
959 |
+
#: includes/ot-functions-docs-page.php:254
|
960 |
msgid "Taxonomy Select"
|
961 |
msgstr ""
|
962 |
|
963 |
+
#: includes/ot-functions-docs-page.php:255
|
964 |
msgid ""
|
965 |
"The Taxonomy Select option type displays a list of taxonomy IDs. It allows "
|
966 |
"the user to select only one taxonomy ID and will return that value for use "
|
967 |
"in a custom function or loop."
|
968 |
msgstr ""
|
969 |
|
970 |
+
#: includes/ot-functions-docs-page.php:257
|
971 |
msgid "Text (Input)"
|
972 |
msgstr ""
|
973 |
|
974 |
+
#: includes/ot-functions-docs-page.php:258
|
975 |
msgid ""
|
976 |
"The Text option type would be used to save a string value. For example, a "
|
977 |
"link to feedburner, your Twitter username, or Google Analytics ID are all "
|
979 |
"character length."
|
980 |
msgstr ""
|
981 |
|
982 |
+
#: includes/ot-functions-docs-page.php:260
|
983 |
msgid "Textarea"
|
984 |
msgstr ""
|
985 |
|
986 |
+
#: includes/ot-functions-docs-page.php:261
|
987 |
msgid ""
|
988 |
"The Textarea option type is a large string value used for custom code or "
|
989 |
"text in the theme. The new Textarea has a WYSIWYG editor that can be "
|
992 |
"<code>quicktags</code>."
|
993 |
msgstr ""
|
994 |
|
995 |
+
#: includes/ot-functions-docs-page.php:263
|
996 |
msgid ""
|
997 |
"Example filters to alter the Textarea option type. Added to <code>functions."
|
998 |
"php</code>."
|
999 |
msgstr ""
|
1000 |
|
1001 |
+
#: includes/ot-functions-docs-page.php:265
|
1002 |
msgid ""
|
1003 |
"This example keeps WordPress from executing the <code>wpautop</code> filter "
|
1004 |
"on the line breaks. The default is <code>true</code> which means it wraps "
|
1005 |
"line breaks with an HTML <code>p</code> tag."
|
1006 |
msgstr ""
|
1007 |
|
1008 |
+
#: includes/ot-functions-docs-page.php:278
|
1009 |
msgid ""
|
1010 |
"This example keeps WordPress from executing the <code>media_buttons</code> "
|
1011 |
"filter on the textarea WYSIWYG. The default is <code>true</code> which means "
|
1012 |
"show the buttons."
|
1013 |
msgstr ""
|
1014 |
|
1015 |
+
#: includes/ot-functions-docs-page.php:291
|
1016 |
msgid ""
|
1017 |
"This example keeps WordPress from executing the <code>tinymce</code> filter "
|
1018 |
"on the textarea WYSIWYG. The default is <code>true</code> which means show "
|
1019 |
"the tinymce."
|
1020 |
msgstr ""
|
1021 |
|
1022 |
+
#: includes/ot-functions-docs-page.php:304
|
1023 |
msgid ""
|
1024 |
"This example alters the <code>quicktags</code> filter on the textarea "
|
1025 |
"WYSIWYG. The default is <code>array( 'buttons' => 'strong,em,link,block,del,"
|
1027 |
"quicktags. It also means you can filter in your own custom quicktags."
|
1028 |
msgstr ""
|
1029 |
|
1030 |
+
#: includes/ot-functions-docs-page.php:319
|
1031 |
msgid "Textarea Simple"
|
1032 |
msgstr ""
|
1033 |
|
1034 |
+
#: includes/ot-functions-docs-page.php:320
|
1035 |
msgid ""
|
1036 |
"The Textarea Simple option type is a large string value used for custom code "
|
1037 |
"or text in the theme. The new Textarea Simple does not have a WYSIWYG "
|
1038 |
"editor. But you can still filter on <code>wpautop</code>."
|
1039 |
msgstr ""
|
1040 |
|
1041 |
+
#: includes/ot-functions-docs-page.php:322
|
1042 |
msgid ""
|
1043 |
"This example tells WordPress to execute the <code>wpautop</code> filter on "
|
1044 |
"the line breaks. The default is <code>false</code> which means it does not "
|
1046 |
"php</code>."
|
1047 |
msgstr ""
|
1048 |
|
1049 |
+
#: includes/ot-functions-docs-page.php:335
|
1050 |
msgid "Textblock"
|
1051 |
msgstr ""
|
1052 |
|
1053 |
+
#: includes/ot-functions-docs-page.php:336
|
1054 |
msgid ""
|
1055 |
"The Textblock option type is used only on the Theme Option page. It will "
|
1056 |
"allow you to create & display HTML on your Theme Options page but has no "
|
1060 |
"value."
|
1061 |
msgstr ""
|
1062 |
|
1063 |
+
#: includes/ot-functions-docs-page.php:338
|
1064 |
msgid "Textblock Titled"
|
1065 |
msgstr ""
|
1066 |
|
1067 |
+
#: includes/ot-functions-docs-page.php:339
|
1068 |
msgid ""
|
1069 |
"The Textblock Titled option type is used only on the Theme Option page. It "
|
1070 |
"will allow you to create & display HTML on your Theme Options page and has a "
|
1074 |
"value."
|
1075 |
msgstr ""
|
1076 |
|
1077 |
+
#: includes/ot-functions-docs-page.php:341
|
1078 |
msgid "Typography"
|
1079 |
msgstr ""
|
1080 |
|
1081 |
+
#: includes/ot-functions-docs-page.php:342
|
1082 |
msgid ""
|
1083 |
"The Typography option type is for adding typographic styles to your theme "
|
1084 |
"either dynamically via the CSS option type below or manually with "
|
1092 |
"Google Fonts to create custom font stacks."
|
1093 |
msgstr ""
|
1094 |
|
1095 |
+
#: includes/ot-functions-docs-page.php:344
|
1096 |
msgid ""
|
1097 |
"This example would filter <code>ot_recognized_font_families</code> to build "
|
1098 |
"your own font stack. Added to <code>functions.php</code>."
|
1099 |
msgstr ""
|
1100 |
|
1101 |
+
#: includes/ot-functions-docs-page.php:361
|
1102 |
msgid "Upload"
|
1103 |
msgstr ""
|
1104 |
|
1105 |
+
#: includes/ot-functions-docs-page.php:362
|
1106 |
msgid ""
|
1107 |
"The Upload option type is used to upload any WordPress supported media. "
|
1108 |
"After uploading, users are required to press the \"Send to OptionTree\" "
|
1113 |
"change the URIs if necessary."
|
1114 |
msgstr ""
|
1115 |
|
1116 |
+
#: includes/ot-functions-docs-page.php:394
|
1117 |
msgid ""
|
1118 |
"This function returns a value from the \"option_tree\" array of saved values "
|
1119 |
"or the default value supplied. The returned value would be mixed. Meaning it "
|
1120 |
"could be a string, integer, boolean, or array."
|
1121 |
msgstr ""
|
1122 |
|
1123 |
+
#: includes/ot-functions-docs-page.php:396
|
1124 |
+
#: includes/ot-functions-docs-page.php:446
|
1125 |
msgid "Usage"
|
1126 |
msgstr ""
|
1127 |
|
1128 |
+
#: includes/ot-functions-docs-page.php:400
|
1129 |
+
#: includes/ot-functions-docs-page.php:450
|
1130 |
msgid "Parameters"
|
1131 |
msgstr ""
|
1132 |
|
1133 |
+
#: includes/ot-functions-docs-page.php:404
|
1134 |
+
#: includes/ot-functions-docs-page.php:408
|
1135 |
+
#: includes/ot-functions-docs-page.php:454
|
1136 |
msgid "string"
|
1137 |
msgstr ""
|
1138 |
|
1139 |
+
#: includes/ot-functions-docs-page.php:404
|
1140 |
+
#: includes/ot-functions-docs-page.php:454
|
1141 |
msgid "required"
|
1142 |
msgstr ""
|
1143 |
|
1144 |
+
#: includes/ot-functions-docs-page.php:404
|
1145 |
msgid "Enter the options unique identifier."
|
1146 |
msgstr ""
|
1147 |
|
1148 |
+
#: includes/ot-functions-docs-page.php:404
|
1149 |
+
#: includes/ot-functions-docs-page.php:454
|
1150 |
msgid "Default:"
|
1151 |
msgstr ""
|
1152 |
|
1153 |
+
#: includes/ot-functions-docs-page.php:404
|
1154 |
+
#: includes/ot-functions-docs-page.php:408
|
1155 |
+
#: includes/ot-functions-docs-page.php:454
|
1156 |
+
#: includes/ot-functions-docs-page.php:458
|
1157 |
msgid "None"
|
1158 |
msgstr ""
|
1159 |
|
1160 |
+
#: includes/ot-functions-docs-page.php:408
|
|
|
|
|
|
|
1161 |
#: includes/ot-functions-docs-page.php:458
|
1162 |
+
#: includes/ot-functions-docs-page.php:462
|
1163 |
+
#: includes/ot-functions-docs-page.php:466
|
1164 |
+
#: includes/ot-functions-docs-page.php:470
|
1165 |
msgid "optional"
|
1166 |
msgstr ""
|
1167 |
|
1168 |
+
#: includes/ot-functions-docs-page.php:408
|
1169 |
msgid ""
|
1170 |
"Enter a default return value. This is just incase the request returns null."
|
1171 |
msgstr ""
|
1172 |
|
1173 |
+
#: includes/ot-functions-docs-page.php:408
|
|
|
|
|
|
|
1174 |
#: includes/ot-functions-docs-page.php:458
|
1175 |
+
#: includes/ot-functions-docs-page.php:462
|
1176 |
+
#: includes/ot-functions-docs-page.php:466
|
1177 |
+
#: includes/ot-functions-docs-page.php:470
|
1178 |
msgid "Default"
|
1179 |
msgstr ""
|
1180 |
|
1181 |
+
#: includes/ot-functions-docs-page.php:438
|
1182 |
msgid ""
|
1183 |
"This function has been deprecated. That means it has been replaced by a new "
|
1184 |
"function or is no longer supported, and may be removed from future versions. "
|
1185 |
"All code that uses this function should be converted to use its replacement."
|
1186 |
msgstr ""
|
1187 |
|
1188 |
+
#: includes/ot-functions-docs-page.php:440
|
1189 |
msgid "Use"
|
1190 |
msgstr ""
|
1191 |
|
1192 |
+
#: includes/ot-functions-docs-page.php:440
|
1193 |
msgid "instead"
|
1194 |
msgstr ""
|
1195 |
|
1196 |
+
#: includes/ot-functions-docs-page.php:444
|
1197 |
msgid ""
|
1198 |
"This function returns, or echos if asked, a value from the \"option_tree\" "
|
1199 |
"array of saved values."
|
1200 |
msgstr ""
|
1201 |
|
1202 |
+
#: includes/ot-functions-docs-page.php:454
|
1203 |
msgid "Enter a unique Option Key to get a returned value or array."
|
1204 |
msgstr ""
|
1205 |
|
1206 |
+
#: includes/ot-functions-docs-page.php:458
|
1207 |
msgid "array"
|
1208 |
msgstr ""
|
1209 |
|
1210 |
+
#: includes/ot-functions-docs-page.php:458
|
1211 |
msgid "Used to cut down on database queries in template files."
|
1212 |
msgstr ""
|
1213 |
|
1214 |
+
#: includes/ot-functions-docs-page.php:462
|
1215 |
+
#: includes/ot-functions-docs-page.php:466
|
1216 |
msgid "boolean"
|
1217 |
msgstr ""
|
1218 |
|
1219 |
+
#: includes/ot-functions-docs-page.php:462
|
1220 |
msgid "Echo the output."
|
1221 |
msgstr ""
|
1222 |
|
1223 |
+
#: includes/ot-functions-docs-page.php:466
|
1224 |
msgid "Used to indicate the $item_id is an array of values."
|
1225 |
msgstr ""
|
1226 |
|
1227 |
+
#: includes/ot-functions-docs-page.php:470
|
1228 |
msgid "integer"
|
1229 |
msgstr ""
|
1230 |
|
1231 |
+
#: includes/ot-functions-docs-page.php:470
|
1232 |
msgid ""
|
1233 |
"Numeric offset key for the $item_id array, -1 will return all values (an "
|
1234 |
"array starts at 0)."
|
1235 |
msgstr ""
|
1236 |
|
1237 |
+
#: includes/ot-functions-docs-page.php:498
|
1238 |
msgid ""
|
1239 |
"If you're using the plugin version of OptionTree it is highly recommended to "
|
1240 |
"include a <code>function_exists</code> check in your code, as described in "
|
1244 |
"<code>ot_get_option()</code> function available."
|
1245 |
msgstr ""
|
1246 |
|
1247 |
+
#: includes/ot-functions-docs-page.php:500
|
1248 |
msgid "String Examples"
|
1249 |
msgstr ""
|
1250 |
|
1251 |
+
#: includes/ot-functions-docs-page.php:502
|
1252 |
msgid "Returns the value of <code>test_input</code>."
|
1253 |
msgstr ""
|
1254 |
|
1255 |
+
#: includes/ot-functions-docs-page.php:508
|
1256 |
msgid ""
|
1257 |
"Returns the value of <code>test_input</code>, but also has a default value "
|
1258 |
"if it returns empty."
|
1259 |
msgstr ""
|
1260 |
|
1261 |
+
#: includes/ot-functions-docs-page.php:514
|
1262 |
msgid "Array Examples"
|
1263 |
msgstr ""
|
1264 |
|
1265 |
+
#: includes/ot-functions-docs-page.php:516
|
1266 |
msgid ""
|
1267 |
"Assigns the value of <code>navigation_ids</code> to the variable <code>$ids</"
|
1268 |
"code>. It then echos an unordered list of links (navigation) using "
|
1269 |
"<code>wp_list_pages()</code>."
|
1270 |
msgstr ""
|
1271 |
|
1272 |
+
#: includes/ot-functions-docs-page.php:536
|
1273 |
msgid ""
|
1274 |
"The next two examples demonstrate how to use the <strong>Measurement</"
|
1275 |
"strong> option type. The Measurement option type is an array with two key/"
|
1277 |
"unit of measurement."
|
1278 |
msgstr ""
|
1279 |
|
1280 |
+
#: includes/ot-functions-docs-page.php:562
|
1281 |
msgid "This example displays a very basic slider loop."
|
1282 |
msgstr ""
|
1283 |
|
1284 |
+
#: includes/ot-functions-docs-page.php:607
|
1285 |
msgid "It's Super Simple"
|
1286 |
msgstr ""
|
1287 |
|
1288 |
+
#: includes/ot-functions-docs-page.php:609
|
1289 |
msgid ""
|
1290 |
"Layouts make your theme awesome! With theme options data that you can save/"
|
1291 |
"import/export you can package themes with different color variations, or "
|
1293 |
"a snapshot of your data as a layout."
|
1294 |
msgstr ""
|
1295 |
|
1296 |
+
#: includes/ot-functions-docs-page.php:611
|
1297 |
msgid ""
|
1298 |
"Once you have created all your different layouts, or theme variations, you "
|
1299 |
"can save them to a separate text file for repackaging with your theme. "
|
1302 |
"previous options data."
|
1303 |
msgstr ""
|
1304 |
|
1305 |
+
#: includes/ot-functions-docs-page.php:613
|
1306 |
msgid ""
|
1307 |
" Adding a layout is ridiculously easy, follow these steps and you'll be on "
|
1308 |
"your way to having a WordPress super theme."
|
1309 |
msgstr ""
|
1310 |
|
1311 |
+
#: includes/ot-functions-docs-page.php:615
|
1312 |
msgid "For Developers"
|
1313 |
msgstr ""
|
1314 |
|
1315 |
+
#: includes/ot-functions-docs-page.php:618
|
1316 |
+
#: includes/ot-functions-docs-page.php:648
|
1317 |
msgid "Creating a Layout"
|
1318 |
msgstr ""
|
1319 |
|
1320 |
+
#: includes/ot-functions-docs-page.php:620
|
1321 |
+
#: includes/ot-functions-docs-page.php:627
|
1322 |
+
#: includes/ot-functions-docs-page.php:633
|
1323 |
msgid "Go to the <code>OptionTre->Settings->Layouts</code> tab."
|
1324 |
msgstr ""
|
1325 |
|
1326 |
+
#: includes/ot-functions-docs-page.php:621
|
1327 |
msgid ""
|
1328 |
"Enter a name for your layout in the text field and hit \"Save Layouts\", "
|
1329 |
"you've created your first layout."
|
1330 |
msgstr ""
|
1331 |
|
1332 |
+
#: includes/ot-functions-docs-page.php:622
|
1333 |
+
#: includes/ot-functions-docs-page.php:652
|
1334 |
msgid "Adding a new layout is as easy as repeating the steps above."
|
1335 |
msgstr ""
|
1336 |
|
1337 |
+
#: includes/ot-functions-docs-page.php:625
|
1338 |
+
#: includes/ot-functions-docs-page.php:655
|
1339 |
msgid "Activating a Layout"
|
1340 |
msgstr ""
|
1341 |
|
1342 |
+
#: includes/ot-functions-docs-page.php:628
|
1343 |
msgid "Click on the activate layout button in the actions list."
|
1344 |
msgstr ""
|
1345 |
|
1346 |
+
#: includes/ot-functions-docs-page.php:631
|
1347 |
+
#: includes/ot-functions-docs-page.php:661
|
1348 |
msgid "Deleting a Layout"
|
1349 |
msgstr ""
|
1350 |
|
1351 |
+
#: includes/ot-functions-docs-page.php:634
|
1352 |
msgid "Click on the delete layout button in the actions list."
|
1353 |
msgstr ""
|
1354 |
|
1355 |
+
#: includes/ot-functions-docs-page.php:637
|
1356 |
+
#: includes/ot-functions-docs-page.php:666
|
1357 |
msgid "Edit Layout Data"
|
1358 |
msgstr ""
|
1359 |
|
1360 |
+
#: includes/ot-functions-docs-page.php:639
|
1361 |
+
#: includes/ot-functions-docs-page.php:650
|
1362 |
+
#: includes/ot-functions-docs-page.php:657
|
1363 |
msgid "Go to the <code>Appearance->Theme Options</code> page."
|
1364 |
msgstr ""
|
1365 |
|
1366 |
+
#: includes/ot-functions-docs-page.php:640
|
1367 |
+
#: includes/ot-functions-docs-page.php:669
|
1368 |
msgid ""
|
1369 |
"Modify and save your theme options and the layout will be updated "
|
1370 |
"automatically."
|
1371 |
msgstr ""
|
1372 |
|
1373 |
+
#: includes/ot-functions-docs-page.php:641
|
1374 |
+
#: includes/ot-functions-docs-page.php:670
|
1375 |
msgid ""
|
1376 |
"Saving theme options data will update the currently active layout, so before "
|
1377 |
"you start saving make sure you want to modify the current layout."
|
1378 |
msgstr ""
|
1379 |
|
1380 |
+
#: includes/ot-functions-docs-page.php:642
|
1381 |
msgid ""
|
1382 |
"If you want to edit a new layout, first create it then save your theme "
|
1383 |
"options."
|
1384 |
msgstr ""
|
1385 |
|
1386 |
+
#: includes/ot-functions-docs-page.php:645
|
1387 |
msgid "End-Users Mode"
|
1388 |
msgstr ""
|
1389 |
|
1390 |
+
#: includes/ot-functions-docs-page.php:651
|
1391 |
msgid ""
|
1392 |
"Enter a name for your layout in the text field and hit \"New Layout\", "
|
1393 |
"you've created your first layout."
|
1394 |
msgstr ""
|
1395 |
|
1396 |
+
#: includes/ot-functions-docs-page.php:658
|
1397 |
msgid ""
|
1398 |
"Choose a layout from the select list and click the \"Activate Layout\" "
|
1399 |
"button."
|
1400 |
msgstr ""
|
1401 |
|
1402 |
+
#: includes/ot-functions-docs-page.php:663
|
1403 |
msgid "End-Users mode does not allow deleting layouts."
|
1404 |
msgstr ""
|
1405 |
|
1406 |
+
#: includes/ot-functions-docs-page.php:668
|
1407 |
msgid "Go to the <code>Appearance->Theme Options</code> tab."
|
1408 |
msgstr ""
|
1409 |
|
1410 |
+
#: includes/ot-functions-docs-page.php:699
|
1411 |
+
#: includes/ot-functions-docs-page.php:781
|
1412 |
msgid "How-to-guide"
|
1413 |
msgstr ""
|
1414 |
|
1415 |
+
#: includes/ot-functions-docs-page.php:701
|
1416 |
msgid ""
|
1417 |
"There are a few simple steps you need to take in order to use OptionTree's "
|
1418 |
"built in Meta Box API. In the code below I'll show you a basic demo of how "
|
1423 |
"can reference."
|
1424 |
msgstr ""
|
1425 |
|
1426 |
+
#: includes/ot-functions-docs-page.php:703
|
1427 |
msgid ""
|
1428 |
"It's important to note that Meta Boxes do not support WYSIWYG editors at "
|
1429 |
"this time and if you set one of your options to Textarea it will "
|
1431 |
"WordPress released this statement regarding the wp_editor() function:"
|
1432 |
msgstr ""
|
1433 |
|
1434 |
+
#: includes/ot-functions-docs-page.php:705
|
1435 |
msgid ""
|
1436 |
"Once instantiated, the WYSIWYG editor cannot be moved around in the DOM. "
|
1437 |
"What this means in practical terms, is that you cannot put it in meta-boxes "
|
1438 |
"that can be dragged and placed elsewhere on the page."
|
1439 |
msgstr ""
|
1440 |
|
1441 |
+
#: includes/ot-functions-docs-page.php:707
|
1442 |
msgid "Create and include your custom meta boxes file."
|
1443 |
msgstr ""
|
1444 |
|
1445 |
+
#: includes/ot-functions-docs-page.php:709
|
1446 |
msgid ""
|
1447 |
"Create a file and name it anything you want, maybe <code>meta-boxes.php</"
|
1448 |
"code>."
|
1449 |
msgstr ""
|
1450 |
|
1451 |
+
#: includes/ot-functions-docs-page.php:710
|
1452 |
msgid ""
|
1453 |
"As well, you'll probably want to create a directory named <code>includes</"
|
1454 |
"code> to put your <code>meta-boxes.php</code> into which will help keep you "
|
1455 |
"file structure nice and tidy."
|
1456 |
msgstr ""
|
1457 |
|
1458 |
+
#: includes/ot-functions-docs-page.php:711
|
1459 |
+
#: includes/ot-functions-docs-page.php:822
|
1460 |
msgid "Add the following code to your <code>functions.php</code>."
|
1461 |
msgstr ""
|
1462 |
|
1463 |
+
#: includes/ot-functions-docs-page.php:721
|
1464 |
msgid ""
|
1465 |
"Add a variation of the following code to your <code>meta-boxes.php</code>. "
|
1466 |
"You'll obviously need to fill it in with all your custom array values. It's "
|
1469 |
"before OptionTree was loaded the sky would fall on your head."
|
1470 |
msgstr ""
|
1471 |
|
1472 |
+
#: includes/ot-functions-docs-page.php:783
|
1473 |
msgid ""
|
1474 |
"There are a few simple steps you need to take in order to use OptionTree as "
|
1475 |
"a theme included module. In the code below I'll show you a basic demo of how "
|
1480 |
"contains a file named <code>demo-theme-options.php</code> you can reference."
|
1481 |
msgstr ""
|
1482 |
|
1483 |
+
#: includes/ot-functions-docs-page.php:785
|
1484 |
msgid "Step 1: Include the plugin & turn on theme mode."
|
1485 |
msgstr ""
|
1486 |
|
1487 |
+
#: includes/ot-functions-docs-page.php:787
|
1488 |
msgid ""
|
1489 |
"Download the latest version of <a href=\"http://wordpress.org/extend/plugins/"
|
1490 |
"option-tree/\" rel=\"nofollow\" target=\"_blank\">OptionTree</a>."
|
1491 |
msgstr ""
|
1492 |
|
1493 |
+
#: includes/ot-functions-docs-page.php:788
|
1494 |
msgid "Unpack the ZIP archive."
|
1495 |
msgstr ""
|
1496 |
|
1497 |
+
#: includes/ot-functions-docs-page.php:789
|
1498 |
msgid ""
|
1499 |
"Put the <code>option-tree</code> directory in the root of your theme. For "
|
1500 |
"example, the server path would be <code>/wp-content/themes/theme-name/option-"
|
1501 |
"tree/</code>."
|
1502 |
msgstr ""
|
1503 |
|
1504 |
+
#: includes/ot-functions-docs-page.php:790
|
1505 |
msgid ""
|
1506 |
"Add the following code to the beginning of your <code>functions.php</code>."
|
1507 |
msgstr ""
|
1508 |
|
1509 |
+
#: includes/ot-functions-docs-page.php:816
|
1510 |
msgid ""
|
1511 |
"It's that simple! You now have OptionTree built into your theme and anytime "
|
1512 |
"there's an update to the plugin you just replace the old version and you're "
|
1513 |
"good to go.."
|
1514 |
msgstr ""
|
1515 |
|
1516 |
+
#: includes/ot-functions-docs-page.php:818
|
1517 |
msgid "Step 2: Create Theme Options without using the UI Builder."
|
1518 |
msgstr ""
|
1519 |
|
1520 |
+
#: includes/ot-functions-docs-page.php:820
|
1521 |
msgid ""
|
1522 |
"Create a file and name it anything you want, maybe <code>theme-options.php</"
|
1523 |
"code>, or use the built in file export to create it for you. Remember, you "
|
1524 |
"should always check the file for errors before including it in your theme."
|
1525 |
msgstr ""
|
1526 |
|
1527 |
+
#: includes/ot-functions-docs-page.php:821
|
1528 |
msgid ""
|
1529 |
"As well, you'll probably want to create a directory named <code>includes</"
|
1530 |
"code> to put your <code>theme-options.php</code> into which will help keep "
|
1531 |
"you file structure nice and tidy."
|
1532 |
msgstr ""
|
1533 |
|
1534 |
+
#: includes/ot-functions-docs-page.php:832
|
1535 |
msgid ""
|
1536 |
"Add a variation of the following code to your <code>theme-options.php</"
|
1537 |
"code>. You'll obviously need to fill it in with all your custom array values "
|
1538 |
"for contextual help (optional), sections (required), and settings (required)."
|
1539 |
msgstr ""
|
1540 |
|
1541 |
+
#: includes/ot-functions-docs-page.php:835
|
1542 |
msgid ""
|
1543 |
"The code below is a boilerplate to get your started. For a full list of the "
|
1544 |
"available option types click the \"Option Types\" tab above. Also a quick "
|
1553 |
msgid "Sorry, this function does not exist"
|
1554 |
msgstr ""
|
1555 |
|
1556 |
+
#: includes/ot-functions-option-types.php:120
|
1557 |
msgid "background-repeat"
|
1558 |
msgstr ""
|
1559 |
|
1560 |
+
#: includes/ot-functions-option-types.php:138
|
1561 |
msgid "background-attachment"
|
1562 |
msgstr ""
|
1563 |
|
1564 |
+
#: includes/ot-functions-option-types.php:157
|
1565 |
msgid "background-position"
|
1566 |
msgstr ""
|
1567 |
|
1568 |
+
#: includes/ot-functions-option-types.php:210
|
1569 |
+
msgid "background-size"
|
1570 |
+
msgstr ""
|
1571 |
+
|
1572 |
+
#: includes/ot-functions-option-types.php:227
|
1573 |
+
#: includes/ot-functions-option-types.php:2095
|
1574 |
msgid "Add Media"
|
1575 |
msgstr ""
|
1576 |
|
1577 |
+
#: includes/ot-functions-option-types.php:297
|
1578 |
+
#: includes/ot-functions-option-types.php:351
|
1579 |
msgid "No Categories Found"
|
1580 |
msgstr ""
|
1581 |
|
1582 |
+
#: includes/ot-functions-option-types.php:346
|
1583 |
+
#: includes/ot-functions-option-types.php:604
|
1584 |
+
#: includes/ot-functions-option-types.php:1039
|
1585 |
+
#: includes/ot-functions-option-types.php:1222
|
1586 |
+
#: includes/ot-functions-option-types.php:1553
|
1587 |
+
#: includes/ot-functions-option-types.php:1668
|
1588 |
msgid "Choose One"
|
1589 |
msgstr ""
|
1590 |
|
1591 |
+
#: includes/ot-functions-option-types.php:552
|
1592 |
+
#: includes/ot-functions-option-types.php:610
|
1593 |
+
#: includes/ot-functions-option-types.php:1173
|
1594 |
+
#: includes/ot-functions-option-types.php:1228
|
1595 |
msgid "No Posts Found"
|
1596 |
msgstr ""
|
1597 |
|
1598 |
+
#: includes/ot-functions-option-types.php:764
|
1599 |
+
#: includes/ot-functions-option-types.php:1117
|
1600 |
msgid "Add New"
|
1601 |
msgstr ""
|
1602 |
|
1603 |
+
#: includes/ot-functions-option-types.php:767
|
1604 |
+
#: includes/ot-functions-option-types.php:1120
|
1605 |
msgid "You can re-order with drag & drop, the order will update after saving."
|
1606 |
msgstr ""
|
1607 |
|
1608 |
+
#: includes/ot-functions-option-types.php:918
|
1609 |
+
msgid "On"
|
1610 |
+
msgstr ""
|
1611 |
+
|
1612 |
+
#: includes/ot-functions-option-types.php:922
|
1613 |
+
msgid "Off"
|
1614 |
+
msgstr ""
|
1615 |
+
|
1616 |
+
#: includes/ot-functions-option-types.php:990
|
1617 |
+
#: includes/ot-functions-option-types.php:1045
|
1618 |
msgid "No Pages Found"
|
1619 |
msgstr ""
|
1620 |
|
1621 |
+
#: includes/ot-functions-option-types.php:1444
|
1622 |
msgid "Choose Sidebar"
|
1623 |
msgstr ""
|
1624 |
|
1625 |
+
#: includes/ot-functions-option-types.php:1449
|
1626 |
msgid "No Sidebars"
|
1627 |
msgstr ""
|
1628 |
|
1629 |
+
#: includes/ot-functions-option-types.php:1504
|
1630 |
+
#: includes/ot-functions-option-types.php:1558
|
1631 |
msgid "No Tags Found"
|
1632 |
msgstr ""
|
1633 |
|
1634 |
+
#: includes/ot-functions-option-types.php:1616
|
1635 |
+
#: includes/ot-functions-option-types.php:1673
|
1636 |
msgid "No Taxonomies Found"
|
1637 |
msgstr ""
|
1638 |
|
ot-loader.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: OptionTree
|
4 |
* Plugin URI: http://wp.envato.com
|
5 |
* Description: Theme Options UI Builder for WordPress. A simple way to create & save Theme Options and Meta Boxes for free or premium themes.
|
6 |
-
* Version: 2.2.
|
7 |
* Author: Derek Herman
|
8 |
* Author URI: http://valendesigns.com
|
9 |
* License: GPLv3
|
@@ -142,7 +142,7 @@ if ( ! class_exists( 'OT_Loader' ) ) {
|
|
142 |
/**
|
143 |
* Current Version number.
|
144 |
*/
|
145 |
-
define( 'OT_VERSION', '2.2.
|
146 |
|
147 |
/**
|
148 |
* For developers: Allow Unfiltered HTML in all the textareas.
|
3 |
* Plugin Name: OptionTree
|
4 |
* Plugin URI: http://wp.envato.com
|
5 |
* Description: Theme Options UI Builder for WordPress. A simple way to create & save Theme Options and Meta Boxes for free or premium themes.
|
6 |
+
* Version: 2.2.2
|
7 |
* Author: Derek Herman
|
8 |
* Author URI: http://valendesigns.com
|
9 |
* License: GPLv3
|
142 |
/**
|
143 |
* Current Version number.
|
144 |
*/
|
145 |
+
define( 'OT_VERSION', '2.2.2' );
|
146 |
|
147 |
/**
|
148 |
* For developers: Allow Unfiltered HTML in all the textareas.
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: valendesigns
|
|
3 |
Donate link: http://bit.ly/NuXI3T
|
4 |
Tags: admin, theme options, meta boxes, options, admin interface, ajax
|
5 |
Requires at least: 3.5
|
6 |
-
Tested up to: 3.8
|
7 |
-
Stable tag: 2.2.
|
8 |
License: GPLv3
|
9 |
|
10 |
Theme Options UI Builder for WordPress. A simple way to create & save Theme Options and Meta Boxes for free or premium themes.
|
@@ -41,6 +41,12 @@ Yes. OptionTree & WordPress both require PHP5.
|
|
41 |
|
42 |
== Changelog ==
|
43 |
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
= 2.2.1 =
|
45 |
* Hotfix - Fixed a UI bug that caused the layouts input to cover the wp menu.
|
46 |
* Hotfix - Moved the screen shots to the WordPress SVN assets directory.
|
3 |
Donate link: http://bit.ly/NuXI3T
|
4 |
Tags: admin, theme options, meta boxes, options, admin interface, ajax
|
5 |
Requires at least: 3.5
|
6 |
+
Tested up to: 3.8.1
|
7 |
+
Stable tag: 2.2.2
|
8 |
License: GPLv3
|
9 |
|
10 |
Theme Options UI Builder for WordPress. A simple way to create & save Theme Options and Meta Boxes for free or premium themes.
|
41 |
|
42 |
== Changelog ==
|
43 |
|
44 |
+
= 2.2.2 =
|
45 |
+
* Hotfix - Added support for both upper and lower case conditions operator.
|
46 |
+
* Hotfix - Updated the color and font size of inline code.
|
47 |
+
* Hotfix - Fix an issue with IE filter and updated the style of the On/Off option type.
|
48 |
+
* Hotfix - Added opacity to radio images to improve distinction. Contributors via github @jetonr.
|
49 |
+
|
50 |
= 2.2.1 =
|
51 |
* Hotfix - Fixed a UI bug that caused the layouts input to cover the wp menu.
|
52 |
* Hotfix - Moved the screen shots to the WordPress SVN assets directory.
|