OptionTree - Version 2.4.3

Version Description

  • Hotfix - WordPress 4.0 compatible.
  • Hotfix - Fixed an issue where all media was being attached to the default OptionTree media post.
  • Hotfix - Removed the deprecated screen_icon() function.
  • Hotfix - Fixed the ot_line_height_range_interval filter being misnamed as ot_line_height_unit_type. Contributors via github @youri--.
  • Hotfix - Fixed a conflict with "Frontend Publishing Pro" when using the media uploader on the front-end.
  • Hotfix - Increase condition performance. Contributors via github @designst.
  • Hotfix - Add custom style classes to list-item settings. Contributors via github @designst.
  • Hotfix - Check for post_title instead of post_name in ot_get_media_post_ID(). Contributors via github @clifgriffin.
  • Hotfix - Store the return value of ot_get_media_post_ID() in the options table as ot_media_post_ID.
  • Hotfix - Added padding to List Items options to reflect the same UI as individual options. Contributors via github @valendesigns and @designst.
  • Hotfix - Fixed a bug that caused the Social Links option type to not properly import.
Download this release

Release Info

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

Code changes from version 2.4.2 to 2.4.3

assets/css/ot-admin.css CHANGED
@@ -1491,7 +1491,8 @@
1491
  position: relative;
1492
  width: 100%;
1493
  }
1494
- .format-setting-wrap {
 
1495
  padding: 10px 0 20px 0;
1496
  }
1497
 
1491
  position: relative;
1492
  width: 100%;
1493
  }
1494
+ .format-setting-wrap,
1495
+ .option-tree-sortable .format-settings {
1496
  padding: 10px 0 20px 0;
1497
  }
1498
 
assets/js/ot-admin.js CHANGED
@@ -14,7 +14,7 @@
14
  this.init_add();
15
  this.init_edit();
16
  this.init_remove();
17
- this.init_edit_title()
18
  this.init_edit_id();
19
  this.init_activate_layout();
20
  this.init_conditions();
@@ -24,6 +24,7 @@
24
  this.init_tabs();
25
  this.init_radio_image_select();
26
  this.init_select_wrapper();
 
27
  this.fix_upload_parent();
28
  this.fix_textarea();
29
  this.replicate_ajax();
@@ -56,8 +57,9 @@
56
  $(css).removeClass('active');
57
  }
58
  },
59
- init_sortable: function() {
60
- $('.option-tree-sortable').each( function() {
 
61
  if ( $(this).children('li').length ) {
62
  var elm = $(this);
63
  elm.show();
@@ -247,19 +249,18 @@
247
  OT_UI.init_remove_active();
248
  OT_UI.init_hide_body();
249
  }
250
- list.append('<li class="ui-state-default ' + list_class + '">' + data.responseText + '</li>');
 
251
  list.children().last().find('.option-tree-setting-edit').toggleClass('active');
252
  list.children().last().find('.option-tree-setting-body').toggle();
253
  list.children().last().find('.option-tree-setting-title').focus();
254
  if ( type != 'the_contextual_help' ) {
255
  OT_UI.update_ids(list);
256
  }
257
- setTimeout( function() {
258
- OT_UI.init_sortable();
259
- OT_UI.init_select_wrapper();
260
- OT_UI.init_numeric_slider();
261
- OT_UI.parse_condition();
262
- }, 500);
263
  self.processing = false;
264
  }
265
  });
@@ -393,8 +394,23 @@
393
  });
394
  },
395
  init_conditions: function() {
396
- $('.format-settings[id^="setting_"]').on( 'change.conditionals, keyup.conditionals', OT_UI.condition_objects(), function() {
397
- OT_UI.parse_condition();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
398
  });
399
  OT_UI.parse_condition();
400
  },
@@ -501,8 +517,9 @@
501
  $(elm).parent().next('.option-tree-ui-media-wrap').remove();
502
  }
503
  },
504
- init_numeric_slider: function() {
505
- $(".ot-numeric-slider-wrap").each(function() {
 
506
  var hidden = $(".ot-numeric-slider-hidden-input", this),
507
  value = hidden.val(),
508
  helper = $(".ot-numeric-slider-helper-input", this);
@@ -518,8 +535,11 @@
518
  slide: function(event, ui) {
519
  hidden.add(helper).val(ui.value);
520
  },
 
 
 
521
  change: function() {
522
- OT_UI.init_conditions();
523
  }
524
  });
525
  });
@@ -554,16 +574,19 @@
554
  $(this).parent().find('.option-tree-ui-radio').prop('checked', true).trigger('change');
555
  });
556
  },
557
- init_select_wrapper: function() {
558
- $('.option-tree-ui-select').each(function () {
 
559
  if ( ! $(this).parent().hasClass('select-wrapper') ) {
560
  $(this).wrap('<div class="select-wrapper" />');
561
  $(this).parent('.select-wrapper').prepend('<span>' + $(this).find('option:selected').text() + '</span>');
562
  }
563
  });
 
 
564
  $(document).on('change', '.option-tree-ui-select', function () {
565
  $(this).prev('span').replaceWith('<span>' + $(this).find('option:selected').text() + '</span>');
566
- })
567
  $(document).on($.browser.msie ? 'click' : 'change', '.option-tree-ui-select', function(event) {
568
  $(this).prev('span').replaceWith('<span>' + $(this).find('option:selected').text() + '</span>');
569
  });
@@ -706,14 +729,15 @@
706
  , ids: ids
707
  },
708
  success: function(res) {
709
- parent.children('.ot-gallery-list').html(res)
710
- if ( input.hasClass('ot-gallery-shortcode') )
711
- input.val(shortcode)
 
712
  if ( $(elm).parent().children('.ot-gallery-delete').length <= 0 ) {
713
- $(elm).parent().append('<a href="#" class="option-tree-ui-button button button-secondary hug-left ot-gallery-delete">' + option_tree.delete + '</a>')
714
  }
715
- $(elm).text(option_tree.edit)
716
- OT_UI.init_conditions()
717
  }
718
  })
719
  })
@@ -777,11 +801,11 @@
777
 
778
  if ( confirm( option_tree.confirm ) ) {
779
 
780
- $(elm).parents('.format-setting-inner').children('.ot-gallery-value').attr('value', '')
781
- $(elm).parents('.format-setting-inner').children('.ot-gallery-list').remove()
782
- $(elm).next('.ot-gallery-edit').text( option_tree.create )
783
- $(elm).remove()
784
- OT_UI.init_conditions()
785
 
786
  }
787
 
14
  this.init_add();
15
  this.init_edit();
16
  this.init_remove();
17
+ this.init_edit_title();
18
  this.init_edit_id();
19
  this.init_activate_layout();
20
  this.init_conditions();
24
  this.init_tabs();
25
  this.init_radio_image_select();
26
  this.init_select_wrapper();
27
+ this.bind_select_wrapper();
28
  this.fix_upload_parent();
29
  this.fix_textarea();
30
  this.replicate_ajax();
57
  $(css).removeClass('active');
58
  }
59
  },
60
+ init_sortable: function(scope) {
61
+ scope = scope || document;
62
+ $('.option-tree-sortable', scope).each( function() {
63
  if ( $(this).children('li').length ) {
64
  var elm = $(this);
65
  elm.show();
249
  OT_UI.init_remove_active();
250
  OT_UI.init_hide_body();
251
  }
252
+ var listItem = $('<li class="ui-state-default ' + list_class + '">' + data.responseText + '</li>');
253
+ list.append(listItem);
254
  list.children().last().find('.option-tree-setting-edit').toggleClass('active');
255
  list.children().last().find('.option-tree-setting-body').toggle();
256
  list.children().last().find('.option-tree-setting-title').focus();
257
  if ( type != 'the_contextual_help' ) {
258
  OT_UI.update_ids(list);
259
  }
260
+ OT_UI.init_sortable(listItem);
261
+ OT_UI.init_select_wrapper(listItem);
262
+ OT_UI.init_numeric_slider(listItem);
263
+ OT_UI.parse_condition();
 
 
264
  self.processing = false;
265
  }
266
  });
394
  });
395
  },
396
  init_conditions: function() {
397
+ var delay = (function() {
398
+ var timer = 0;
399
+ return function(callback, ms) {
400
+ clearTimeout(timer);
401
+ timer = setTimeout(callback, ms);
402
+ };
403
+ })();
404
+
405
+ $('.format-settings[id^="setting_"]').on( 'change.conditionals, keyup.conditionals', OT_UI.condition_objects(), function(e) {
406
+ if (e.type === 'keyup') {
407
+ // handle keyup event only once every 500ms
408
+ delay(function() {
409
+ OT_UI.parse_condition();
410
+ }, 500);
411
+ } else {
412
+ OT_UI.parse_condition();
413
+ }
414
  });
415
  OT_UI.parse_condition();
416
  },
517
  $(elm).parent().next('.option-tree-ui-media-wrap').remove();
518
  }
519
  },
520
+ init_numeric_slider: function(scope) {
521
+ scope = scope || document;
522
+ $(".ot-numeric-slider-wrap", scope).each(function() {
523
  var hidden = $(".ot-numeric-slider-hidden-input", this),
524
  value = hidden.val(),
525
  helper = $(".ot-numeric-slider-helper-input", this);
535
  slide: function(event, ui) {
536
  hidden.add(helper).val(ui.value);
537
  },
538
+ create: function() {
539
+ hidden.val($(this).slider('value'));
540
+ },
541
  change: function() {
542
+ OT_UI.parse_condition();
543
  }
544
  });
545
  });
574
  $(this).parent().find('.option-tree-ui-radio').prop('checked', true).trigger('change');
575
  });
576
  },
577
+ init_select_wrapper: function(scope) {
578
+ scope = scope || document;
579
+ $('.option-tree-ui-select', scope).each(function () {
580
  if ( ! $(this).parent().hasClass('select-wrapper') ) {
581
  $(this).wrap('<div class="select-wrapper" />');
582
  $(this).parent('.select-wrapper').prepend('<span>' + $(this).find('option:selected').text() + '</span>');
583
  }
584
  });
585
+ },
586
+ bind_select_wrapper: function() {
587
  $(document).on('change', '.option-tree-ui-select', function () {
588
  $(this).prev('span').replaceWith('<span>' + $(this).find('option:selected').text() + '</span>');
589
+ });
590
  $(document).on($.browser.msie ? 'click' : 'change', '.option-tree-ui-select', function(event) {
591
  $(this).prev('span').replaceWith('<span>' + $(this).find('option:selected').text() + '</span>');
592
  });
729
  , ids: ids
730
  },
731
  success: function(res) {
732
+ parent.children('.ot-gallery-list').html(res);
733
+ if ( input.hasClass('ot-gallery-shortcode') ) {
734
+ input.val(shortcode);
735
+ }
736
  if ( $(elm).parent().children('.ot-gallery-delete').length <= 0 ) {
737
+ $(elm).parent().append('<a href="#" class="option-tree-ui-button button button-secondary hug-left ot-gallery-delete">' + option_tree.delete + '</a>');
738
  }
739
+ $(elm).text(option_tree.edit);
740
+ OT_UI.parse_condition();
741
  }
742
  })
743
  })
801
 
802
  if ( confirm( option_tree.confirm ) ) {
803
 
804
+ $(elm).parents('.format-setting-inner').children('.ot-gallery-value').attr('value', '');
805
+ $(elm).parents('.format-setting-inner').children('.ot-gallery-list').remove();
806
+ $(elm).next('.ot-gallery-edit').text( option_tree.create );
807
+ $(elm).remove();
808
+ OT_UI.parse_condition();
809
 
810
  }
811
 
includes/ot-functions-admin.php CHANGED
@@ -56,7 +56,6 @@ if ( ! function_exists( 'ot_register_theme_options_page' ) ) {
56
  'updated_message' => apply_filters( 'ot_theme_options_updated_message', __( 'Theme Options updated.', 'option-tree' ) ),
57
  'reset_message' => apply_filters( 'ot_theme_options_reset_message', __( 'Theme Options reset.', 'option-tree' ) ),
58
  'button_text' => apply_filters( 'ot_theme_options_button_text', __( 'Save Changes', 'option-tree' ) ),
59
- 'screen_icon' => 'themes',
60
  'contextual_help' => apply_filters( 'ot_theme_options_contextual_help', $contextual_help ),
61
  'sections' => apply_filters( 'ot_theme_options_sections', $sections ),
62
  'settings' => apply_filters( 'ot_theme_options_settings', $settings )
@@ -128,7 +127,6 @@ if ( ! function_exists( 'ot_register_settings_page' ) ) {
128
  'reset_message' => __( 'Theme Options reset.', 'option-tree' ),
129
  'button_text' => __( 'Save Settings', 'option-tree' ),
130
  'show_buttons' => false,
131
- 'screen_icon' => 'themes',
132
  'sections' => array(
133
  array(
134
  'id' => 'create_setting',
@@ -223,7 +221,6 @@ if ( ! function_exists( 'ot_register_settings_page' ) ) {
223
  'reset_message' => __( 'Theme Options reset.', 'option-tree' ),
224
  'button_text' => __( 'Save Settings', 'option-tree' ),
225
  'show_buttons' => false,
226
- 'screen_icon' => 'themes',
227
  'sections' => array(
228
  array(
229
  'id' => 'creating_options',
@@ -548,9 +545,13 @@ if ( ! function_exists( 'ot_validate_setting' ) ) {
548
 
549
  // Loop over array and check for values, plus sanitize the text field
550
  foreach( (array) $input as $key => $value ) {
551
- if ( ! empty( $value ) ) {
552
- $has_value = true;
553
- $input[$key] = sanitize_text_field( $value );
 
 
 
 
554
  }
555
  }
556
 
@@ -678,7 +679,7 @@ if ( ! function_exists( 'ot_admin_scripts' ) ) {
678
  }
679
 
680
  /**
681
- * Returns the ID of a custom post type by post_name.
682
  *
683
  * @uses get_results()
684
  *
@@ -690,9 +691,26 @@ if ( ! function_exists( 'ot_admin_scripts' ) ) {
690
  if ( ! function_exists( 'ot_get_media_post_ID' ) ) {
691
 
692
  function ot_get_media_post_ID() {
693
- global $wpdb;
694
 
695
- return $wpdb->get_var( "SELECT ID FROM $wpdb->posts WHERE `post_name` = 'media' AND `post_type` = 'option-tree' AND `post_status` = 'private'" );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
696
 
697
  }
698
 
@@ -2511,7 +2529,7 @@ if ( ! function_exists( 'ot_recognized_line_heights' ) ) {
2511
  $range = ot_range(
2512
  apply_filters( 'ot_line_height_low_range', 0, $field_id ),
2513
  apply_filters( 'ot_line_height_high_range', 150, $field_id ),
2514
- apply_filters( 'ot_line_height_unit_type', 1, $field_id )
2515
  );
2516
 
2517
  $unit = apply_filters( 'ot_line_height_unit_type', 'px', $field_id );
@@ -3916,9 +3934,28 @@ if ( ! function_exists( 'ot_list_item_view' ) ) {
3916
  $conditions.= isset( $field['operator'] ) && in_array( $field['operator'], array( 'and', 'AND', 'or', 'OR' ) ) ? ' data-operator="' . $field['operator'] . '"' : '';
3917
 
3918
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3919
 
3920
  /* option label */
3921
- echo '<div id="setting_' . $_args['field_id'] . '" class="format-settings"' . $conditions . '>';
3922
 
3923
  /* don't show title with textblocks */
3924
  if ( $_args['type'] != 'textblock' && ! empty( $field['label'] ) ) {
56
  'updated_message' => apply_filters( 'ot_theme_options_updated_message', __( 'Theme Options updated.', 'option-tree' ) ),
57
  'reset_message' => apply_filters( 'ot_theme_options_reset_message', __( 'Theme Options reset.', 'option-tree' ) ),
58
  'button_text' => apply_filters( 'ot_theme_options_button_text', __( 'Save Changes', 'option-tree' ) ),
 
59
  'contextual_help' => apply_filters( 'ot_theme_options_contextual_help', $contextual_help ),
60
  'sections' => apply_filters( 'ot_theme_options_sections', $sections ),
61
  'settings' => apply_filters( 'ot_theme_options_settings', $settings )
127
  'reset_message' => __( 'Theme Options reset.', 'option-tree' ),
128
  'button_text' => __( 'Save Settings', 'option-tree' ),
129
  'show_buttons' => false,
 
130
  'sections' => array(
131
  array(
132
  'id' => 'create_setting',
221
  'reset_message' => __( 'Theme Options reset.', 'option-tree' ),
222
  'button_text' => __( 'Save Settings', 'option-tree' ),
223
  'show_buttons' => false,
 
224
  'sections' => array(
225
  array(
226
  'id' => 'creating_options',
545
 
546
  // Loop over array and check for values, plus sanitize the text field
547
  foreach( (array) $input as $key => $value ) {
548
+ if ( ! empty( $value ) && is_array( $value ) ) {
549
+ foreach( (array) $value as $item_key => $item_value ) {
550
+ if ( ! empty( $item_value ) ) {
551
+ $has_value = true;
552
+ $input[$key][$item_key] = sanitize_text_field( $item_value );
553
+ }
554
+ }
555
  }
556
  }
557
 
679
  }
680
 
681
  /**
682
+ * Returns the ID of a custom post type by post_title.
683
  *
684
  * @uses get_results()
685
  *
691
  if ( ! function_exists( 'ot_get_media_post_ID' ) ) {
692
 
693
  function ot_get_media_post_ID() {
 
694
 
695
+ // Option ID
696
+ $option_id = 'ot_media_post_ID';
697
+
698
+ // Get the media post ID
699
+ $post_ID = get_option( $option_id, false );
700
+
701
+ // Add $post_ID to the DB
702
+ if ( $post_ID === false ) {
703
+ global $wpdb;
704
+
705
+ // Get the media post ID
706
+ $post_ID = $wpdb->get_var( "SELECT ID FROM $wpdb->posts WHERE `post_title` = 'Media' AND `post_type` = 'option-tree' AND `post_status` = 'private'" );
707
+
708
+ // Add to the DB
709
+ add_option( $option_id, $post_ID );
710
+
711
+ }
712
+
713
+ return $post_ID;
714
 
715
  }
716
 
2529
  $range = ot_range(
2530
  apply_filters( 'ot_line_height_low_range', 0, $field_id ),
2531
  apply_filters( 'ot_line_height_high_range', 150, $field_id ),
2532
+ apply_filters( 'ot_line_height_range_interval', 1, $field_id )
2533
  );
2534
 
2535
  $unit = apply_filters( 'ot_line_height_unit_type', 'px', $field_id );
3934
  $conditions.= isset( $field['operator'] ) && in_array( $field['operator'], array( 'and', 'AND', 'or', 'OR' ) ) ? ' data-operator="' . $field['operator'] . '"' : '';
3935
 
3936
  }
3937
+
3938
+ // Build the setting CSS class
3939
+ if ( ! empty( $_args['field_class'] ) ) {
3940
+
3941
+ $classes = explode( ' ', $_args['field_class'] );
3942
+
3943
+ foreach( $classes as $_key => $value ) {
3944
+
3945
+ $classes[$_key] = $value . '-wrap';
3946
+
3947
+ }
3948
+
3949
+ $class = 'format-settings ' . implode( ' ', $classes );
3950
+
3951
+ } else {
3952
+
3953
+ $class = 'format-settings';
3954
+
3955
+ }
3956
 
3957
  /* option label */
3958
+ echo '<div id="setting_' . $_args['field_id'] . '" class="' . $class . '"' . $conditions . '>';
3959
 
3960
  /* don't show title with textblocks */
3961
  if ( $_args['type'] != 'textblock' && ! empty( $field['label'] ) ) {
includes/ot-settings-api.php CHANGED
@@ -246,7 +246,6 @@ if ( ! class_exists( 'OT_Settings' ) ) {
246
 
247
  echo '<div class="wrap settings-wrap" id ="page-' . $page['id'] . '">';
248
 
249
- screen_icon( ( isset( $page['screen_icon'] ) ? $page['screen_icon'] : 'options-general' ) );
250
  echo '<h2>' . $page['page_title'] . '</h2>';
251
 
252
  echo ot_alert_message( $page );
246
 
247
  echo '<div class="wrap settings-wrap" id ="page-' . $page['id'] . '">';
248
 
 
249
  echo '<h2>' . $page['page_title'] . '</h2>';
250
 
251
  echo ot_alert_message( $page );
languages/option-tree.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: OptionTree\n"
4
- "POT-Creation-Date: 2014-06-04 00:59-0800\n"
5
- "PO-Revision-Date: 2014-06-04 00:59-0800\n"
6
  "Last-Translator: Derek Herman <derek@valendesigns.com>\n"
7
  "Language-Team: Valen Designs\n"
8
  "Language: English\n"
@@ -24,8 +24,8 @@ msgid ""
24
  "OptionTree, and remove this warning."
25
  msgstr ""
26
 
27
- #: ../ot-loader.php:744 ../assets/theme-mode/demo-theme-options.php:639
28
- #: ../includes/ot-functions-admin.php:652
29
  #: ../includes/ot-functions-docs-page.php:374
30
  #: ../includes/ot-functions-settings-page.php:170
31
  msgid "Send to OptionTree"
@@ -54,8 +54,8 @@ msgstr ""
54
 
55
  #: ../assets/theme-mode/demo-meta-boxes.php:50
56
  #: ../assets/theme-mode/demo-theme-options.php:208
57
- #: ../includes/ot-functions-admin.php:2212
58
- #: ../includes/ot-functions-admin.php:4670
59
  #: ../includes/ot-functions-docs-page.php:156
60
  msgid "Gallery"
61
  msgstr ""
@@ -71,7 +71,7 @@ msgstr ""
71
 
72
  #: ../assets/theme-mode/demo-meta-boxes.php:62
73
  #: ../assets/theme-mode/demo-theme-options.php:548
74
- #: ../includes/ot-functions-admin.php:2232
75
  #: ../includes/ot-functions-docs-page.php:269
76
  msgid "Text"
77
  msgstr ""
@@ -82,7 +82,7 @@ msgstr ""
82
 
83
  #: ../assets/theme-mode/demo-meta-boxes.php:68
84
  #: ../assets/theme-mode/demo-theme-options.php:563
85
- #: ../includes/ot-functions-admin.php:2233
86
  #: ../includes/ot-functions-docs-page.php:272
87
  msgid "Textarea"
88
  msgstr ""
@@ -93,7 +93,7 @@ msgstr ""
93
 
94
  #: ../assets/theme-mode/demo-theme-options.php:29
95
  #: ../assets/theme-mode/demo-theme-options.php:38
96
- #: ../includes/ot-functions-admin.php:234
97
  msgid "Option Types"
98
  msgstr ""
99
 
@@ -106,7 +106,7 @@ msgid "Sidebar content goes here!"
106
  msgstr ""
107
 
108
  #: ../assets/theme-mode/demo-theme-options.php:44
109
- #: ../includes/ot-functions-admin.php:2202
110
  #: ../includes/ot-functions-docs-page.php:110
111
  msgid "Background"
112
  msgstr ""
@@ -125,14 +125,14 @@ msgstr ""
125
 
126
  #: ../assets/theme-mode/demo-theme-options.php:45
127
  #: ../assets/theme-mode/demo-theme-options.php:624
128
- #: ../includes/ot-functions-admin.php:3616
129
  #: ../includes/ot-functions-docs-page.php:111
130
  #: ../includes/ot-functions-docs-page.php:354
131
  msgid "and"
132
  msgstr ""
133
 
134
  #: ../assets/theme-mode/demo-theme-options.php:59
135
- #: ../includes/ot-functions-admin.php:2203
136
  #: ../includes/ot-functions-docs-page.php:113
137
  msgid "Category Checkbox"
138
  msgstr ""
@@ -146,7 +146,7 @@ msgid ""
146
  msgstr ""
147
 
148
  #: ../assets/theme-mode/demo-theme-options.php:74
149
- #: ../includes/ot-functions-admin.php:2204
150
  #: ../includes/ot-functions-docs-page.php:116
151
  msgid "Category Select"
152
  msgstr ""
@@ -160,7 +160,7 @@ msgid ""
160
  msgstr ""
161
 
162
  #: ../assets/theme-mode/demo-theme-options.php:89
163
- #: ../includes/ot-functions-admin.php:2205
164
  #: ../includes/ot-functions-docs-page.php:119
165
  msgid "Checkbox"
166
  msgstr ""
@@ -198,7 +198,7 @@ msgid ""
198
  msgstr ""
199
 
200
  #: ../assets/theme-mode/demo-theme-options.php:131
201
- #: ../includes/ot-functions-admin.php:2207
202
  #: ../includes/ot-functions-docs-page.php:125
203
  msgid "CSS"
204
  msgstr ""
@@ -227,7 +227,7 @@ msgid ""
227
  msgstr ""
228
 
229
  #: ../assets/theme-mode/demo-theme-options.php:148
230
- #: ../includes/ot-functions-admin.php:2208
231
  #: ../includes/ot-functions-docs-page.php:144
232
  msgid "Custom Post Type Checkbox"
233
  msgstr ""
@@ -243,7 +243,7 @@ msgid ""
243
  msgstr ""
244
 
245
  #: ../assets/theme-mode/demo-theme-options.php:163
246
- #: ../includes/ot-functions-admin.php:2209
247
  #: ../includes/ot-functions-docs-page.php:147
248
  msgid "Custom Post Type Select"
249
  msgstr ""
@@ -259,7 +259,7 @@ msgid ""
259
  msgstr ""
260
 
261
  #: ../assets/theme-mode/demo-theme-options.php:178
262
- #: ../includes/ot-functions-admin.php:2210
263
  #: ../includes/ot-functions-docs-page.php:150
264
  msgid "Date Picker"
265
  msgstr ""
@@ -273,7 +273,7 @@ msgid ""
273
  msgstr ""
274
 
275
  #: ../assets/theme-mode/demo-theme-options.php:193
276
- #: ../includes/ot-functions-admin.php:2211
277
  #: ../includes/ot-functions-docs-page.php:153
278
  msgid "Date Time Picker"
279
  msgstr ""
@@ -309,7 +309,7 @@ msgid ""
309
  msgstr ""
310
 
311
  #: ../assets/theme-mode/demo-theme-options.php:238
312
- #: ../includes/ot-functions-admin.php:2213
313
  #: ../includes/ot-functions-docs-page.php:159
314
  msgid "List Item"
315
  msgstr ""
@@ -327,7 +327,7 @@ msgid "Content"
327
  msgstr ""
328
 
329
  #: ../assets/theme-mode/demo-theme-options.php:269
330
- #: ../includes/ot-functions-admin.php:2214
331
  #: ../includes/ot-functions-docs-page.php:162
332
  msgid "Measurement"
333
  msgstr ""
@@ -343,7 +343,7 @@ msgid ""
343
  msgstr ""
344
 
345
  #: ../assets/theme-mode/demo-theme-options.php:284
346
- #: ../includes/ot-functions-admin.php:2215
347
  #: ../includes/ot-functions-docs-page.php:193
348
  msgid "Numeric Slider"
349
  msgstr ""
@@ -356,7 +356,7 @@ msgid ""
356
  msgstr ""
357
 
358
  #: ../assets/theme-mode/demo-theme-options.php:299
359
- #: ../includes/ot-functions-admin.php:2216
360
  #: ../includes/ot-functions-docs-page.php:196
361
  msgid "On/Off"
362
  msgstr ""
@@ -370,7 +370,7 @@ msgid ""
370
  msgstr ""
371
 
372
  #: ../assets/theme-mode/demo-theme-options.php:314
373
- #: ../includes/ot-functions-admin.php:2217
374
  #: ../includes/ot-functions-docs-page.php:199
375
  msgid "Page Checkbox"
376
  msgstr ""
@@ -383,7 +383,7 @@ msgid ""
383
  msgstr ""
384
 
385
  #: ../assets/theme-mode/demo-theme-options.php:329
386
- #: ../includes/ot-functions-admin.php:2218
387
  #: ../includes/ot-functions-docs-page.php:202
388
  msgid "Page Select"
389
  msgstr ""
@@ -396,7 +396,7 @@ msgid ""
396
  msgstr ""
397
 
398
  #: ../assets/theme-mode/demo-theme-options.php:344
399
- #: ../includes/ot-functions-admin.php:2219
400
  #: ../includes/ot-functions-docs-page.php:205
401
  msgid "Post Checkbox"
402
  msgstr ""
@@ -409,7 +409,7 @@ msgid ""
409
  msgstr ""
410
 
411
  #: ../assets/theme-mode/demo-theme-options.php:359
412
- #: ../includes/ot-functions-admin.php:2220
413
  #: ../includes/ot-functions-docs-page.php:208
414
  msgid "Post Select"
415
  msgstr ""
@@ -422,7 +422,7 @@ msgid ""
422
  msgstr ""
423
 
424
  #: ../assets/theme-mode/demo-theme-options.php:374
425
- #: ../includes/ot-functions-admin.php:2221
426
  #: ../includes/ot-functions-docs-page.php:211
427
  msgid "Radio"
428
  msgstr ""
@@ -441,7 +441,7 @@ msgid "Maybe"
441
  msgstr ""
442
 
443
  #: ../assets/theme-mode/demo-theme-options.php:406
444
- #: ../includes/ot-functions-admin.php:2222
445
  #: ../includes/ot-functions-docs-page.php:214
446
  msgid "Radio Image"
447
  msgstr ""
@@ -456,7 +456,7 @@ msgid ""
456
  msgstr ""
457
 
458
  #: ../assets/theme-mode/demo-theme-options.php:421
459
- #: ../includes/ot-functions-admin.php:2223
460
  #: ../includes/ot-functions-docs-page.php:241
461
  msgid "Select"
462
  msgstr ""
@@ -473,7 +473,7 @@ msgid "-- Choose One --"
473
  msgstr ""
474
 
475
  #: ../assets/theme-mode/demo-theme-options.php:458
476
- #: ../includes/ot-functions-admin.php:2224
477
  #: ../includes/ot-functions-docs-page.php:244
478
  msgid "Sidebar Select"
479
  msgstr ""
@@ -499,7 +499,7 @@ msgid ""
499
  msgstr ""
500
 
501
  #: ../assets/theme-mode/demo-theme-options.php:473
502
- #: ../includes/ot-functions-admin.php:2228
503
  #: ../includes/ot-functions-docs-page.php:257
504
  msgid "Tag Checkbox"
505
  msgstr ""
@@ -513,7 +513,7 @@ msgid ""
513
  msgstr ""
514
 
515
  #: ../assets/theme-mode/demo-theme-options.php:488
516
- #: ../includes/ot-functions-admin.php:2229
517
  #: ../includes/ot-functions-docs-page.php:260
518
  msgid "Tag Select"
519
  msgstr ""
@@ -527,7 +527,7 @@ msgid ""
527
  msgstr ""
528
 
529
  #: ../assets/theme-mode/demo-theme-options.php:503
530
- #: ../includes/ot-functions-admin.php:2226
531
  #: ../includes/ot-functions-docs-page.php:251
532
  msgid "Social Links"
533
  msgstr ""
@@ -544,7 +544,7 @@ msgid ""
544
  msgstr ""
545
 
546
  #: ../assets/theme-mode/demo-theme-options.php:518
547
- #: ../includes/ot-functions-admin.php:2230
548
  #: ../includes/ot-functions-docs-page.php:263
549
  msgid "Taxonomy Checkbox"
550
  msgstr ""
@@ -558,7 +558,7 @@ msgid ""
558
  msgstr ""
559
 
560
  #: ../assets/theme-mode/demo-theme-options.php:533
561
- #: ../includes/ot-functions-admin.php:2231
562
  #: ../includes/ot-functions-docs-page.php:266
563
  msgid "Taxonomy Select"
564
  msgstr ""
@@ -588,7 +588,7 @@ msgid ""
588
  msgstr ""
589
 
590
  #: ../assets/theme-mode/demo-theme-options.php:578
591
- #: ../includes/ot-functions-admin.php:2234
592
  #: ../includes/ot-functions-docs-page.php:331
593
  msgid "Textarea Simple"
594
  msgstr ""
@@ -601,7 +601,7 @@ msgid ""
601
  msgstr ""
602
 
603
  #: ../assets/theme-mode/demo-theme-options.php:593
604
- #: ../includes/ot-functions-admin.php:2235
605
  #: ../includes/ot-functions-docs-page.php:347
606
  msgid "Textblock"
607
  msgstr ""
@@ -617,7 +617,7 @@ msgid ""
617
  msgstr ""
618
 
619
  #: ../assets/theme-mode/demo-theme-options.php:608
620
- #: ../includes/ot-functions-admin.php:2236
621
  #: ../includes/ot-functions-docs-page.php:350
622
  msgid "Textblock Titled"
623
  msgstr ""
@@ -633,7 +633,7 @@ msgid ""
633
  msgstr ""
634
 
635
  #: ../assets/theme-mode/demo-theme-options.php:623
636
- #: ../includes/ot-functions-admin.php:2237
637
  #: ../includes/ot-functions-docs-page.php:353
638
  msgid "Typography"
639
  msgstr ""
@@ -651,7 +651,7 @@ msgid ""
651
  msgstr ""
652
 
653
  #: ../assets/theme-mode/demo-theme-options.php:638
654
- #: ../includes/ot-functions-admin.php:2238
655
  #: ../includes/ot-functions-docs-page.php:373
656
  msgid "Upload"
657
  msgstr ""
@@ -680,20 +680,20 @@ msgid ""
680
  msgstr ""
681
 
682
  #: ../includes/ot-functions-admin.php:50 ../includes/ot-functions-admin.php:51
683
- #: ../includes/ot-functions-admin.php:171
684
- #: ../includes/ot-functions-admin.php:195 ../includes/ot-functions.php:284
685
  msgid "Theme Options"
686
  msgstr ""
687
 
688
  #: ../includes/ot-functions-admin.php:56
689
- #: ../includes/ot-functions-admin.php:127
690
- #: ../includes/ot-functions-admin.php:222
691
  msgid "Theme Options updated."
692
  msgstr ""
693
 
694
  #: ../includes/ot-functions-admin.php:57
695
- #: ../includes/ot-functions-admin.php:128
696
- #: ../includes/ot-functions-admin.php:223
697
  msgid "Theme Options reset."
698
  msgstr ""
699
 
@@ -703,449 +703,449 @@ msgstr ""
703
  msgid "Save Changes"
704
  msgstr ""
705
 
706
- #: ../includes/ot-functions-admin.php:98
707
  msgid ""
708
  "The Theme Options UI Builder is being overridden by a custom file in your "
709
  "theme. Any changes you make via the UI Builder will not be saved."
710
  msgstr ""
711
 
 
712
  #: ../includes/ot-functions-admin.php:110
713
- #: ../includes/ot-functions-admin.php:111
714
  #: ../includes/ot-functions-docs-page.php:797
715
  msgid "OptionTree"
716
  msgstr ""
717
 
 
718
  #: ../includes/ot-functions-admin.php:121
719
- #: ../includes/ot-functions-admin.php:122
720
- #: ../includes/ot-functions-admin.php:165
721
- #: ../includes/ot-functions-admin.php:189
722
  #: ../includes/ot-functions-docs-page.php:49
723
  msgid "Settings"
724
  msgstr ""
725
 
726
- #: ../includes/ot-functions-admin.php:129
727
- #: ../includes/ot-functions-admin.php:224
728
  msgid "Save Settings"
729
  msgstr ""
730
 
731
- #: ../includes/ot-functions-admin.php:135
732
  msgid "Theme Options UI"
733
  msgstr ""
734
 
735
- #: ../includes/ot-functions-admin.php:139
736
  msgid "Import"
737
  msgstr ""
738
 
739
- #: ../includes/ot-functions-admin.php:143
740
  msgid "Export"
741
  msgstr ""
742
 
743
- #: ../includes/ot-functions-admin.php:147
744
- #: ../includes/ot-functions-admin.php:177
745
- #: ../includes/ot-functions-admin.php:201
746
  msgid "Layouts"
747
  msgstr ""
748
 
749
- #: ../includes/ot-functions-admin.php:153
750
  msgid "Theme Options UI Builder"
751
  msgstr ""
752
 
753
- #: ../includes/ot-functions-admin.php:159
754
  msgid "Settings XML"
755
  msgstr ""
756
 
757
- #: ../includes/ot-functions-admin.php:183
758
  msgid "Settings PHP File"
759
  msgstr ""
760
 
761
- #: ../includes/ot-functions-admin.php:207
762
  msgid "Layout Management"
763
  msgstr ""
764
 
765
- #: ../includes/ot-functions-admin.php:216
766
- #: ../includes/ot-functions-admin.php:217
767
  msgid "Documentation"
768
  msgstr ""
769
 
770
- #: ../includes/ot-functions-admin.php:230
771
  msgid "Creating Options"
772
  msgstr ""
773
 
774
- #: ../includes/ot-functions-admin.php:238
775
  msgid "Function References"
776
  msgstr ""
777
 
778
- #: ../includes/ot-functions-admin.php:242
779
- #: ../includes/ot-functions-admin.php:284
780
  #: ../includes/ot-functions-settings-page.php:366
781
  msgid "Theme Mode"
782
  msgstr ""
783
 
784
- #: ../includes/ot-functions-admin.php:246
785
- #: ../includes/ot-functions-admin.php:290
786
  msgid "Meta Boxes"
787
  msgstr ""
788
 
789
- #: ../includes/ot-functions-admin.php:250
790
  msgid "Code Examples"
791
  msgstr ""
792
 
793
- #: ../includes/ot-functions-admin.php:254
794
  msgid "Layouts Overview"
795
  msgstr ""
796
 
797
- #: ../includes/ot-functions-admin.php:260
798
  msgid "Overview of available Theme Option fields."
799
  msgstr ""
800
 
801
- #: ../includes/ot-functions-admin.php:266
802
  msgid "Option types in alphabetical order & hooks to filter them."
803
  msgstr ""
804
 
805
- #: ../includes/ot-functions-admin.php:272
806
  msgid "Function Reference:ot_get_option()"
807
  msgstr ""
808
 
809
- #: ../includes/ot-functions-admin.php:278
810
  msgid "Function Reference:get_option_tree()"
811
  msgstr ""
812
 
813
- #: ../includes/ot-functions-admin.php:296
814
  msgid "Code examples for front-end development."
815
  msgstr ""
816
 
817
- #: ../includes/ot-functions-admin.php:302
818
  msgid "What's a layout anyhow?"
819
  msgstr ""
820
 
821
- #: ../includes/ot-functions-admin.php:502
822
  msgid "The Colorpicker only allows valid hexadecimal values."
823
  msgstr ""
824
 
825
- #: ../includes/ot-functions-admin.php:653
826
  #: ../includes/ot-functions-option-types.php:257
827
  #: ../includes/ot-functions-option-types.php:2453
828
  msgid "Remove Media"
829
  msgstr ""
830
 
831
- #: ../includes/ot-functions-admin.php:654
832
  msgid "Are you sure you want to reset back to the defaults?"
833
  msgstr ""
834
 
835
- #: ../includes/ot-functions-admin.php:655
836
  msgid "You can't remove this! But you can edit the values."
837
  msgstr ""
838
 
839
- #: ../includes/ot-functions-admin.php:656
840
  msgid "Are you sure you want to remove this?"
841
  msgstr ""
842
 
843
- #: ../includes/ot-functions-admin.php:657
844
  msgid "Are you sure you want to activate this layout?"
845
  msgstr ""
846
 
847
- #: ../includes/ot-functions-admin.php:658
848
  msgid "Sorry, you can't have settings three levels deep."
849
  msgstr ""
850
 
851
- #: ../includes/ot-functions-admin.php:659
852
  #: ../includes/ot-functions-option-types.php:812
853
  msgid "Delete Gallery"
854
  msgstr ""
855
 
856
- #: ../includes/ot-functions-admin.php:660
857
  #: ../includes/ot-functions-option-types.php:813
858
  msgid "Edit Gallery"
859
  msgstr ""
860
 
861
- #: ../includes/ot-functions-admin.php:661
862
  #: ../includes/ot-functions-option-types.php:820
863
  msgid "Create Gallery"
864
  msgstr ""
865
 
866
- #: ../includes/ot-functions-admin.php:662
867
  msgid "Are you sure you want to delete this Gallery?"
868
  msgstr ""
869
 
870
- #: ../includes/ot-functions-admin.php:663
871
  msgid "Today"
872
  msgstr ""
873
 
874
- #: ../includes/ot-functions-admin.php:664
875
  msgid "Now"
876
  msgstr ""
877
 
878
- #: ../includes/ot-functions-admin.php:665
879
  msgid "Close"
880
  msgstr ""
881
 
882
- #: ../includes/ot-functions-admin.php:666
883
  msgid "Featured Image"
884
  msgstr ""
885
 
886
- #: ../includes/ot-functions-admin.php:667
887
- #: ../includes/ot-functions-admin.php:2786
888
- #: ../includes/ot-functions-admin.php:2847
889
  msgid "Image"
890
  msgstr ""
891
 
892
- #: ../includes/ot-functions-admin.php:716
893
  msgid "Option Tree"
894
  msgstr ""
895
 
896
- #: ../includes/ot-functions-admin.php:853
897
  msgid "General"
898
  msgstr ""
899
 
900
- #: ../includes/ot-functions-admin.php:859
901
  msgid "Sample Text Field Label"
902
  msgstr ""
903
 
904
- #: ../includes/ot-functions-admin.php:860
905
  msgid "Description for the sample text field."
906
  msgstr ""
907
 
908
- #: ../includes/ot-functions-admin.php:2102
909
  msgid "Settings updated."
910
  msgstr ""
911
 
912
- #: ../includes/ot-functions-admin.php:2106
913
  msgid "Settings could not be saved."
914
  msgstr ""
915
 
916
- #: ../includes/ot-functions-admin.php:2114
917
  msgid "Settings Imported."
918
  msgstr ""
919
 
920
- #: ../includes/ot-functions-admin.php:2118
921
  msgid "Settings could not be imported."
922
  msgstr ""
923
 
924
- #: ../includes/ot-functions-admin.php:2125
925
  msgid "Data Imported."
926
  msgstr ""
927
 
928
- #: ../includes/ot-functions-admin.php:2129
929
  msgid "Data could not be imported."
930
  msgstr ""
931
 
932
- #: ../includes/ot-functions-admin.php:2137
933
  msgid "Layouts Imported."
934
  msgstr ""
935
 
936
- #: ../includes/ot-functions-admin.php:2141
937
  msgid "Layouts could not be imported."
938
  msgstr ""
939
 
940
- #: ../includes/ot-functions-admin.php:2149
941
  msgid "Layouts Updated."
942
  msgstr ""
943
 
944
- #: ../includes/ot-functions-admin.php:2153
945
  msgid "Layouts could not be updated."
946
  msgstr ""
947
 
948
- #: ../includes/ot-functions-admin.php:2157
949
  msgid "Layouts have been deleted."
950
  msgstr ""
951
 
952
- #: ../includes/ot-functions-admin.php:2163
953
  msgid "Layout activated."
954
  msgstr ""
955
 
956
- #: ../includes/ot-functions-admin.php:2206
957
  msgid "Color Picker"
958
  msgstr ""
959
 
960
- #: ../includes/ot-functions-admin.php:2225
961
  #: ../includes/ot-functions-docs-page.php:248
962
  msgid "Slider"
963
  msgstr ""
964
 
965
- #: ../includes/ot-functions-admin.php:2227
966
  #: ../includes/ot-functions-docs-page.php:254
967
  msgid "Tab"
968
  msgstr ""
969
 
970
- #: ../includes/ot-functions-admin.php:2731
971
  msgid "Left Sidebar"
972
  msgstr ""
973
 
974
- #: ../includes/ot-functions-admin.php:2736
975
  msgid "Right Sidebar"
976
  msgstr ""
977
 
978
- #: ../includes/ot-functions-admin.php:2741
979
  msgid "Full Width (no sidebar)"
980
  msgstr ""
981
 
982
- #: ../includes/ot-functions-admin.php:2746
983
  msgid "Dual Sidebar"
984
  msgstr ""
985
 
986
- #: ../includes/ot-functions-admin.php:2751
987
  msgid "Left Dual Sidebar"
988
  msgstr ""
989
 
990
- #: ../includes/ot-functions-admin.php:2756
991
  msgid "Right Dual Sidebar"
992
  msgstr ""
993
 
994
- #: ../includes/ot-functions-admin.php:2797
995
- #: ../includes/ot-functions-admin.php:2853
996
- #: ../includes/ot-functions-admin.php:4710
997
  msgid "Link"
998
  msgstr ""
999
 
1000
- #: ../includes/ot-functions-admin.php:2808
1001
- #: ../includes/ot-functions-admin.php:2859
1002
  #: ../includes/ot-functions-docs-page.php:43
1003
  #: ../includes/ot-functions-docs-page.php:404
1004
  #: ../includes/ot-functions-docs-page.php:454
1005
  msgid "Description"
1006
  msgstr ""
1007
 
1008
- #: ../includes/ot-functions-admin.php:2923
1009
  msgid "Name"
1010
  msgstr ""
1011
 
1012
- #: ../includes/ot-functions-admin.php:2924
1013
  msgid "Enter the name of the social website."
1014
  msgstr ""
1015
 
1016
- #: ../includes/ot-functions-admin.php:2932
1017
  msgid "Enter the text shown in the title attribute of the link."
1018
  msgstr ""
1019
 
1020
- #: ../includes/ot-functions-admin.php:2938
1021
  #, php-format
1022
  msgid ""
1023
  "Enter a link to the profile or page on the social website. Remember to add "
1024
  "the %s part to the front of the link."
1025
  msgstr ""
1026
 
1027
- #: ../includes/ot-functions-admin.php:3421
1028
  msgid "edit"
1029
  msgstr ""
1030
 
1031
- #: ../includes/ot-functions-admin.php:3422
1032
- #: ../includes/ot-functions-admin.php:3490
1033
- #: ../includes/ot-functions-admin.php:3491
1034
- #: ../includes/ot-functions-admin.php:3653
1035
- #: ../includes/ot-functions-admin.php:3654
1036
- #: ../includes/ot-functions-admin.php:3719
1037
- #: ../includes/ot-functions-admin.php:3720
1038
- #: ../includes/ot-functions-admin.php:3847
1039
- #: ../includes/ot-functions-admin.php:3848
1040
- #: ../includes/ot-functions-admin.php:3981
1041
- #: ../includes/ot-functions-admin.php:3982
1042
  msgid "Edit"
1043
  msgstr ""
1044
 
1045
- #: ../includes/ot-functions-admin.php:3424
1046
- #: ../includes/ot-functions-admin.php:3425
1047
- #: ../includes/ot-functions-admin.php:3493
1048
- #: ../includes/ot-functions-admin.php:3494
1049
- #: ../includes/ot-functions-admin.php:3656
1050
- #: ../includes/ot-functions-admin.php:3657
1051
- #: ../includes/ot-functions-admin.php:3722
1052
- #: ../includes/ot-functions-admin.php:3723
1053
- #: ../includes/ot-functions-admin.php:3781
1054
- #: ../includes/ot-functions-admin.php:3782
1055
- #: ../includes/ot-functions-admin.php:3850
1056
- #: ../includes/ot-functions-admin.php:3851
1057
- #: ../includes/ot-functions-admin.php:3984
1058
- #: ../includes/ot-functions-admin.php:3985
1059
  msgid "Delete"
1060
  msgstr ""
1061
 
1062
- #: ../includes/ot-functions-admin.php:3431
1063
  msgid ""
1064
  "<strong>Section Title</strong>: Displayed as a menu item on the Theme "
1065
  "Options page."
1066
  msgstr ""
1067
 
1068
- #: ../includes/ot-functions-admin.php:3439
1069
  msgid ""
1070
  "<strong>Section ID</strong>: A unique lower case alphanumeric string, "
1071
  "underscores allowed."
1072
  msgstr ""
1073
 
1074
- #: ../includes/ot-functions-admin.php:3500
1075
  msgid ""
1076
  "<strong>Label</strong>: Displayed as the label of a form element on the "
1077
  "Theme Options page."
1078
  msgstr ""
1079
 
1080
- #: ../includes/ot-functions-admin.php:3508
1081
- #: ../includes/ot-functions-admin.php:3737
1082
  msgid ""
1083
  "<strong>ID</strong>: A unique lower case alphanumeric string, underscores "
1084
  "allowed."
1085
  msgstr ""
1086
 
1087
- #: ../includes/ot-functions-admin.php:3516
1088
  msgid ""
1089
  "<strong>Type</strong>: Choose one of the available option types from the "
1090
  "dropdown."
1091
  msgstr ""
1092
 
1093
- #: ../includes/ot-functions-admin.php:3527
1094
  msgid ""
1095
  "<strong>Description</strong>: Enter a detailed description for the users to "
1096
  "read on the Theme Options page, HTML is allowed. This is also where you "
1097
  "enter content for both the Textblock & Textblock Titled option types."
1098
  msgstr ""
1099
 
1100
- #: ../includes/ot-functions-admin.php:3535
1101
  msgid ""
1102
  "<strong>Choices</strong>: This will only affect the following option types: "
1103
  "Checkbox, Radio, Select & Select Image."
1104
  msgstr ""
1105
 
1106
- #: ../includes/ot-functions-admin.php:3540
1107
  msgid "Add Choice"
1108
  msgstr ""
1109
 
1110
- #: ../includes/ot-functions-admin.php:3546
1111
  msgid ""
1112
  "<strong>Settings</strong>: This will only affect the List Item option type."
1113
  msgstr ""
1114
 
1115
- #: ../includes/ot-functions-admin.php:3551
1116
  #: ../includes/ot-functions-settings-page.php:93
1117
  msgid "Add Setting"
1118
  msgstr ""
1119
 
1120
- #: ../includes/ot-functions-admin.php:3557
1121
  msgid ""
1122
  "<strong>Standard</strong>: Setting the standard value for your option only "
1123
  "works for some option types. Read the <code>OptionTree->Documentation</code> "
1124
  "for more information on which ones."
1125
  msgstr ""
1126
 
1127
- #: ../includes/ot-functions-admin.php:3565
1128
  msgid ""
1129
  "<strong>Rows</strong>: Enter a numeric value for the number of rows in your "
1130
  "textarea. This will only affect the following option types: CSS, Textarea, & "
1131
  "Textarea Simple."
1132
  msgstr ""
1133
 
1134
- #: ../includes/ot-functions-admin.php:3573
1135
  msgid ""
1136
  "<strong>Post Type</strong>: Add a comma separated list of post type like "
1137
  "'post,page'. This will only affect the following option types: Custom Post "
1138
  "Type Checkbox, & Custom Post Type Select."
1139
  msgstr ""
1140
 
1141
- #: ../includes/ot-functions-admin.php:3581
1142
  msgid ""
1143
  "<strong>Taxonomy</strong>: Add a comma separated list of any registered "
1144
  "taxonomy like 'category,post_tag'. This will only affect the following "
1145
  "option types: Taxonomy Checkbox, & Taxonomy Select."
1146
  msgstr ""
1147
 
1148
- #: ../includes/ot-functions-admin.php:3589
1149
  msgid ""
1150
  "<strong>Min, Max, & Step</strong>: Add a comma separated list of options in "
1151
  "the following format <code>0,100,1</code> (slide from <code>0-100</code> in "
@@ -1154,11 +1154,11 @@ msgid ""
1154
  "type."
1155
  msgstr ""
1156
 
1157
- #: ../includes/ot-functions-admin.php:3597
1158
  msgid "<strong>CSS Class</strong>: Add and optional class to this option type."
1159
  msgstr ""
1160
 
1161
- #: ../includes/ot-functions-admin.php:3605
1162
  #, php-format
1163
  msgid ""
1164
  "<strong>Condition</strong>: Add a comma separated list (no spaces) of "
@@ -1167,92 +1167,92 @@ msgid ""
1167
  "placeholder for your condition, which can be in the form of %s."
1168
  msgstr ""
1169
 
1170
- #: ../includes/ot-functions-admin.php:3613
1171
  msgid ""
1172
  "<strong>Operator</strong>: Choose the logical operator to compute the result "
1173
  "of the conditions."
1174
  msgstr ""
1175
 
1176
- #: ../includes/ot-functions-admin.php:3617
1177
  msgid "or"
1178
  msgstr ""
1179
 
1180
- #: ../includes/ot-functions-admin.php:3663
1181
  #: ../includes/ot-functions-docs-page.php:29
1182
  msgid "Label"
1183
  msgstr ""
1184
 
1185
- #: ../includes/ot-functions-admin.php:3673
1186
  msgid "Value"
1187
  msgstr ""
1188
 
1189
- #: ../includes/ot-functions-admin.php:3683
1190
  msgid "Image Source (Radio Image only)"
1191
  msgstr ""
1192
 
1193
- #: ../includes/ot-functions-admin.php:3729
1194
  msgid ""
1195
  "<strong>Title</strong>: Displayed as a contextual help menu item on the "
1196
  "Theme Options page."
1197
  msgstr ""
1198
 
1199
- #: ../includes/ot-functions-admin.php:3745
1200
  msgid ""
1201
  "<strong>Content</strong>: Enter the HTML content about this contextual help "
1202
  "item displayed on the Theme Option page for end users to read."
1203
  msgstr ""
1204
 
1205
- #: ../includes/ot-functions-admin.php:3776
1206
  msgid "Layout"
1207
  msgstr ""
1208
 
1209
- #: ../includes/ot-functions-admin.php:3778
1210
- #: ../includes/ot-functions-admin.php:3779
1211
  msgid "Activate"
1212
  msgstr ""
1213
 
1214
- #: ../includes/ot-functions-admin.php:3815 ../includes/ot-meta-box-api.php:223
1215
- #: ../includes/ot-settings-api.php:595
1216
  msgid "Title"
1217
  msgstr ""
1218
 
1219
- #: ../includes/ot-functions-admin.php:4136
1220
  msgid "New Layout"
1221
  msgstr ""
1222
 
1223
- #: ../includes/ot-functions-admin.php:4719
1224
  msgid "Link URL"
1225
  msgstr ""
1226
 
1227
- #: ../includes/ot-functions-admin.php:4726
1228
  msgid "Link Title"
1229
  msgstr ""
1230
 
1231
- #: ../includes/ot-functions-admin.php:4756
1232
  msgid "Quote"
1233
  msgstr ""
1234
 
1235
- #: ../includes/ot-functions-admin.php:4765
1236
  msgid "Source Name (ex. author, singer, actor)"
1237
  msgstr ""
1238
 
1239
- #: ../includes/ot-functions-admin.php:4772
1240
  msgid "Source URL"
1241
  msgstr ""
1242
 
1243
- #: ../includes/ot-functions-admin.php:4779
1244
  msgid "Source Title (ex. book, song, movie)"
1245
  msgstr ""
1246
 
1247
- #: ../includes/ot-functions-admin.php:4786
1248
  msgid "Source Date"
1249
  msgstr ""
1250
 
1251
- #: ../includes/ot-functions-admin.php:4816
1252
  msgid "Video"
1253
  msgstr ""
1254
 
1255
- #: ../includes/ot-functions-admin.php:4825
1256
  #, php-format
1257
  msgid ""
1258
  "Embed video from services like Youtube, Vimeo, or Hulu. You can find a list "
@@ -1260,16 +1260,16 @@ msgid ""
1260
  "built-in %2$s shortcode."
1261
  msgstr ""
1262
 
1263
- #: ../includes/ot-functions-admin.php:4825
1264
- #: ../includes/ot-functions-admin.php:4864
1265
  msgid "Wordpress Codex"
1266
  msgstr ""
1267
 
1268
- #: ../includes/ot-functions-admin.php:4855
1269
  msgid "Audio"
1270
  msgstr ""
1271
 
1272
- #: ../includes/ot-functions-admin.php:4864
1273
  #, php-format
1274
  msgid ""
1275
  "Embed audio from services like SoundCloud and Rdio. You can find a list of "
@@ -2325,6 +2325,6 @@ msgstr ""
2325
  msgid "Save Layouts"
2326
  msgstr ""
2327
 
2328
- #: ../includes/ot-settings-api.php:356
2329
  msgid "Reset Options"
2330
  msgstr ""
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: OptionTree\n"
4
+ "POT-Creation-Date: 2014-11-03 23:58-0800\n"
5
+ "PO-Revision-Date: 2014-11-03 23:58-0800\n"
6
  "Last-Translator: Derek Herman <derek@valendesigns.com>\n"
7
  "Language-Team: Valen Designs\n"
8
  "Language: English\n"
24
  "OptionTree, and remove this warning."
25
  msgstr ""
26
 
27
+ #: ../ot-loader.php:749 ../assets/theme-mode/demo-theme-options.php:639
28
+ #: ../includes/ot-functions-admin.php:653
29
  #: ../includes/ot-functions-docs-page.php:374
30
  #: ../includes/ot-functions-settings-page.php:170
31
  msgid "Send to OptionTree"
54
 
55
  #: ../assets/theme-mode/demo-meta-boxes.php:50
56
  #: ../assets/theme-mode/demo-theme-options.php:208
57
+ #: ../includes/ot-functions-admin.php:2230
58
+ #: ../includes/ot-functions-admin.php:4707
59
  #: ../includes/ot-functions-docs-page.php:156
60
  msgid "Gallery"
61
  msgstr ""
71
 
72
  #: ../assets/theme-mode/demo-meta-boxes.php:62
73
  #: ../assets/theme-mode/demo-theme-options.php:548
74
+ #: ../includes/ot-functions-admin.php:2250
75
  #: ../includes/ot-functions-docs-page.php:269
76
  msgid "Text"
77
  msgstr ""
82
 
83
  #: ../assets/theme-mode/demo-meta-boxes.php:68
84
  #: ../assets/theme-mode/demo-theme-options.php:563
85
+ #: ../includes/ot-functions-admin.php:2251
86
  #: ../includes/ot-functions-docs-page.php:272
87
  msgid "Textarea"
88
  msgstr ""
93
 
94
  #: ../assets/theme-mode/demo-theme-options.php:29
95
  #: ../assets/theme-mode/demo-theme-options.php:38
96
+ #: ../includes/ot-functions-admin.php:231
97
  msgid "Option Types"
98
  msgstr ""
99
 
106
  msgstr ""
107
 
108
  #: ../assets/theme-mode/demo-theme-options.php:44
109
+ #: ../includes/ot-functions-admin.php:2220
110
  #: ../includes/ot-functions-docs-page.php:110
111
  msgid "Background"
112
  msgstr ""
125
 
126
  #: ../assets/theme-mode/demo-theme-options.php:45
127
  #: ../assets/theme-mode/demo-theme-options.php:624
128
+ #: ../includes/ot-functions-admin.php:3634
129
  #: ../includes/ot-functions-docs-page.php:111
130
  #: ../includes/ot-functions-docs-page.php:354
131
  msgid "and"
132
  msgstr ""
133
 
134
  #: ../assets/theme-mode/demo-theme-options.php:59
135
+ #: ../includes/ot-functions-admin.php:2221
136
  #: ../includes/ot-functions-docs-page.php:113
137
  msgid "Category Checkbox"
138
  msgstr ""
146
  msgstr ""
147
 
148
  #: ../assets/theme-mode/demo-theme-options.php:74
149
+ #: ../includes/ot-functions-admin.php:2222
150
  #: ../includes/ot-functions-docs-page.php:116
151
  msgid "Category Select"
152
  msgstr ""
160
  msgstr ""
161
 
162
  #: ../assets/theme-mode/demo-theme-options.php:89
163
+ #: ../includes/ot-functions-admin.php:2223
164
  #: ../includes/ot-functions-docs-page.php:119
165
  msgid "Checkbox"
166
  msgstr ""
198
  msgstr ""
199
 
200
  #: ../assets/theme-mode/demo-theme-options.php:131
201
+ #: ../includes/ot-functions-admin.php:2225
202
  #: ../includes/ot-functions-docs-page.php:125
203
  msgid "CSS"
204
  msgstr ""
227
  msgstr ""
228
 
229
  #: ../assets/theme-mode/demo-theme-options.php:148
230
+ #: ../includes/ot-functions-admin.php:2226
231
  #: ../includes/ot-functions-docs-page.php:144
232
  msgid "Custom Post Type Checkbox"
233
  msgstr ""
243
  msgstr ""
244
 
245
  #: ../assets/theme-mode/demo-theme-options.php:163
246
+ #: ../includes/ot-functions-admin.php:2227
247
  #: ../includes/ot-functions-docs-page.php:147
248
  msgid "Custom Post Type Select"
249
  msgstr ""
259
  msgstr ""
260
 
261
  #: ../assets/theme-mode/demo-theme-options.php:178
262
+ #: ../includes/ot-functions-admin.php:2228
263
  #: ../includes/ot-functions-docs-page.php:150
264
  msgid "Date Picker"
265
  msgstr ""
273
  msgstr ""
274
 
275
  #: ../assets/theme-mode/demo-theme-options.php:193
276
+ #: ../includes/ot-functions-admin.php:2229
277
  #: ../includes/ot-functions-docs-page.php:153
278
  msgid "Date Time Picker"
279
  msgstr ""
309
  msgstr ""
310
 
311
  #: ../assets/theme-mode/demo-theme-options.php:238
312
+ #: ../includes/ot-functions-admin.php:2231
313
  #: ../includes/ot-functions-docs-page.php:159
314
  msgid "List Item"
315
  msgstr ""
327
  msgstr ""
328
 
329
  #: ../assets/theme-mode/demo-theme-options.php:269
330
+ #: ../includes/ot-functions-admin.php:2232
331
  #: ../includes/ot-functions-docs-page.php:162
332
  msgid "Measurement"
333
  msgstr ""
343
  msgstr ""
344
 
345
  #: ../assets/theme-mode/demo-theme-options.php:284
346
+ #: ../includes/ot-functions-admin.php:2233
347
  #: ../includes/ot-functions-docs-page.php:193
348
  msgid "Numeric Slider"
349
  msgstr ""
356
  msgstr ""
357
 
358
  #: ../assets/theme-mode/demo-theme-options.php:299
359
+ #: ../includes/ot-functions-admin.php:2234
360
  #: ../includes/ot-functions-docs-page.php:196
361
  msgid "On/Off"
362
  msgstr ""
370
  msgstr ""
371
 
372
  #: ../assets/theme-mode/demo-theme-options.php:314
373
+ #: ../includes/ot-functions-admin.php:2235
374
  #: ../includes/ot-functions-docs-page.php:199
375
  msgid "Page Checkbox"
376
  msgstr ""
383
  msgstr ""
384
 
385
  #: ../assets/theme-mode/demo-theme-options.php:329
386
+ #: ../includes/ot-functions-admin.php:2236
387
  #: ../includes/ot-functions-docs-page.php:202
388
  msgid "Page Select"
389
  msgstr ""
396
  msgstr ""
397
 
398
  #: ../assets/theme-mode/demo-theme-options.php:344
399
+ #: ../includes/ot-functions-admin.php:2237
400
  #: ../includes/ot-functions-docs-page.php:205
401
  msgid "Post Checkbox"
402
  msgstr ""
409
  msgstr ""
410
 
411
  #: ../assets/theme-mode/demo-theme-options.php:359
412
+ #: ../includes/ot-functions-admin.php:2238
413
  #: ../includes/ot-functions-docs-page.php:208
414
  msgid "Post Select"
415
  msgstr ""
422
  msgstr ""
423
 
424
  #: ../assets/theme-mode/demo-theme-options.php:374
425
+ #: ../includes/ot-functions-admin.php:2239
426
  #: ../includes/ot-functions-docs-page.php:211
427
  msgid "Radio"
428
  msgstr ""
441
  msgstr ""
442
 
443
  #: ../assets/theme-mode/demo-theme-options.php:406
444
+ #: ../includes/ot-functions-admin.php:2240
445
  #: ../includes/ot-functions-docs-page.php:214
446
  msgid "Radio Image"
447
  msgstr ""
456
  msgstr ""
457
 
458
  #: ../assets/theme-mode/demo-theme-options.php:421
459
+ #: ../includes/ot-functions-admin.php:2241
460
  #: ../includes/ot-functions-docs-page.php:241
461
  msgid "Select"
462
  msgstr ""
473
  msgstr ""
474
 
475
  #: ../assets/theme-mode/demo-theme-options.php:458
476
+ #: ../includes/ot-functions-admin.php:2242
477
  #: ../includes/ot-functions-docs-page.php:244
478
  msgid "Sidebar Select"
479
  msgstr ""
499
  msgstr ""
500
 
501
  #: ../assets/theme-mode/demo-theme-options.php:473
502
+ #: ../includes/ot-functions-admin.php:2246
503
  #: ../includes/ot-functions-docs-page.php:257
504
  msgid "Tag Checkbox"
505
  msgstr ""
513
  msgstr ""
514
 
515
  #: ../assets/theme-mode/demo-theme-options.php:488
516
+ #: ../includes/ot-functions-admin.php:2247
517
  #: ../includes/ot-functions-docs-page.php:260
518
  msgid "Tag Select"
519
  msgstr ""
527
  msgstr ""
528
 
529
  #: ../assets/theme-mode/demo-theme-options.php:503
530
+ #: ../includes/ot-functions-admin.php:2244
531
  #: ../includes/ot-functions-docs-page.php:251
532
  msgid "Social Links"
533
  msgstr ""
544
  msgstr ""
545
 
546
  #: ../assets/theme-mode/demo-theme-options.php:518
547
+ #: ../includes/ot-functions-admin.php:2248
548
  #: ../includes/ot-functions-docs-page.php:263
549
  msgid "Taxonomy Checkbox"
550
  msgstr ""
558
  msgstr ""
559
 
560
  #: ../assets/theme-mode/demo-theme-options.php:533
561
+ #: ../includes/ot-functions-admin.php:2249
562
  #: ../includes/ot-functions-docs-page.php:266
563
  msgid "Taxonomy Select"
564
  msgstr ""
588
  msgstr ""
589
 
590
  #: ../assets/theme-mode/demo-theme-options.php:578
591
+ #: ../includes/ot-functions-admin.php:2252
592
  #: ../includes/ot-functions-docs-page.php:331
593
  msgid "Textarea Simple"
594
  msgstr ""
601
  msgstr ""
602
 
603
  #: ../assets/theme-mode/demo-theme-options.php:593
604
+ #: ../includes/ot-functions-admin.php:2253
605
  #: ../includes/ot-functions-docs-page.php:347
606
  msgid "Textblock"
607
  msgstr ""
617
  msgstr ""
618
 
619
  #: ../assets/theme-mode/demo-theme-options.php:608
620
+ #: ../includes/ot-functions-admin.php:2254
621
  #: ../includes/ot-functions-docs-page.php:350
622
  msgid "Textblock Titled"
623
  msgstr ""
633
  msgstr ""
634
 
635
  #: ../assets/theme-mode/demo-theme-options.php:623
636
+ #: ../includes/ot-functions-admin.php:2255
637
  #: ../includes/ot-functions-docs-page.php:353
638
  msgid "Typography"
639
  msgstr ""
651
  msgstr ""
652
 
653
  #: ../assets/theme-mode/demo-theme-options.php:638
654
+ #: ../includes/ot-functions-admin.php:2256
655
  #: ../includes/ot-functions-docs-page.php:373
656
  msgid "Upload"
657
  msgstr ""
680
  msgstr ""
681
 
682
  #: ../includes/ot-functions-admin.php:50 ../includes/ot-functions-admin.php:51
683
+ #: ../includes/ot-functions-admin.php:169
684
+ #: ../includes/ot-functions-admin.php:193 ../includes/ot-functions.php:284
685
  msgid "Theme Options"
686
  msgstr ""
687
 
688
  #: ../includes/ot-functions-admin.php:56
689
+ #: ../includes/ot-functions-admin.php:126
690
+ #: ../includes/ot-functions-admin.php:220
691
  msgid "Theme Options updated."
692
  msgstr ""
693
 
694
  #: ../includes/ot-functions-admin.php:57
695
+ #: ../includes/ot-functions-admin.php:127
696
+ #: ../includes/ot-functions-admin.php:221
697
  msgid "Theme Options reset."
698
  msgstr ""
699
 
703
  msgid "Save Changes"
704
  msgstr ""
705
 
706
+ #: ../includes/ot-functions-admin.php:97
707
  msgid ""
708
  "The Theme Options UI Builder is being overridden by a custom file in your "
709
  "theme. Any changes you make via the UI Builder will not be saved."
710
  msgstr ""
711
 
712
+ #: ../includes/ot-functions-admin.php:109
713
  #: ../includes/ot-functions-admin.php:110
 
714
  #: ../includes/ot-functions-docs-page.php:797
715
  msgid "OptionTree"
716
  msgstr ""
717
 
718
+ #: ../includes/ot-functions-admin.php:120
719
  #: ../includes/ot-functions-admin.php:121
720
+ #: ../includes/ot-functions-admin.php:163
721
+ #: ../includes/ot-functions-admin.php:187
 
722
  #: ../includes/ot-functions-docs-page.php:49
723
  msgid "Settings"
724
  msgstr ""
725
 
726
+ #: ../includes/ot-functions-admin.php:128
727
+ #: ../includes/ot-functions-admin.php:222
728
  msgid "Save Settings"
729
  msgstr ""
730
 
731
+ #: ../includes/ot-functions-admin.php:133
732
  msgid "Theme Options UI"
733
  msgstr ""
734
 
735
+ #: ../includes/ot-functions-admin.php:137
736
  msgid "Import"
737
  msgstr ""
738
 
739
+ #: ../includes/ot-functions-admin.php:141
740
  msgid "Export"
741
  msgstr ""
742
 
743
+ #: ../includes/ot-functions-admin.php:145
744
+ #: ../includes/ot-functions-admin.php:175
745
+ #: ../includes/ot-functions-admin.php:199
746
  msgid "Layouts"
747
  msgstr ""
748
 
749
+ #: ../includes/ot-functions-admin.php:151
750
  msgid "Theme Options UI Builder"
751
  msgstr ""
752
 
753
+ #: ../includes/ot-functions-admin.php:157
754
  msgid "Settings XML"
755
  msgstr ""
756
 
757
+ #: ../includes/ot-functions-admin.php:181
758
  msgid "Settings PHP File"
759
  msgstr ""
760
 
761
+ #: ../includes/ot-functions-admin.php:205
762
  msgid "Layout Management"
763
  msgstr ""
764
 
765
+ #: ../includes/ot-functions-admin.php:214
766
+ #: ../includes/ot-functions-admin.php:215
767
  msgid "Documentation"
768
  msgstr ""
769
 
770
+ #: ../includes/ot-functions-admin.php:227
771
  msgid "Creating Options"
772
  msgstr ""
773
 
774
+ #: ../includes/ot-functions-admin.php:235
775
  msgid "Function References"
776
  msgstr ""
777
 
778
+ #: ../includes/ot-functions-admin.php:239
779
+ #: ../includes/ot-functions-admin.php:281
780
  #: ../includes/ot-functions-settings-page.php:366
781
  msgid "Theme Mode"
782
  msgstr ""
783
 
784
+ #: ../includes/ot-functions-admin.php:243
785
+ #: ../includes/ot-functions-admin.php:287
786
  msgid "Meta Boxes"
787
  msgstr ""
788
 
789
+ #: ../includes/ot-functions-admin.php:247
790
  msgid "Code Examples"
791
  msgstr ""
792
 
793
+ #: ../includes/ot-functions-admin.php:251
794
  msgid "Layouts Overview"
795
  msgstr ""
796
 
797
+ #: ../includes/ot-functions-admin.php:257
798
  msgid "Overview of available Theme Option fields."
799
  msgstr ""
800
 
801
+ #: ../includes/ot-functions-admin.php:263
802
  msgid "Option types in alphabetical order & hooks to filter them."
803
  msgstr ""
804
 
805
+ #: ../includes/ot-functions-admin.php:269
806
  msgid "Function Reference:ot_get_option()"
807
  msgstr ""
808
 
809
+ #: ../includes/ot-functions-admin.php:275
810
  msgid "Function Reference:get_option_tree()"
811
  msgstr ""
812
 
813
+ #: ../includes/ot-functions-admin.php:293
814
  msgid "Code examples for front-end development."
815
  msgstr ""
816
 
817
+ #: ../includes/ot-functions-admin.php:299
818
  msgid "What's a layout anyhow?"
819
  msgstr ""
820
 
821
+ #: ../includes/ot-functions-admin.php:499
822
  msgid "The Colorpicker only allows valid hexadecimal values."
823
  msgstr ""
824
 
825
+ #: ../includes/ot-functions-admin.php:654
826
  #: ../includes/ot-functions-option-types.php:257
827
  #: ../includes/ot-functions-option-types.php:2453
828
  msgid "Remove Media"
829
  msgstr ""
830
 
831
+ #: ../includes/ot-functions-admin.php:655
832
  msgid "Are you sure you want to reset back to the defaults?"
833
  msgstr ""
834
 
835
+ #: ../includes/ot-functions-admin.php:656
836
  msgid "You can't remove this! But you can edit the values."
837
  msgstr ""
838
 
839
+ #: ../includes/ot-functions-admin.php:657
840
  msgid "Are you sure you want to remove this?"
841
  msgstr ""
842
 
843
+ #: ../includes/ot-functions-admin.php:658
844
  msgid "Are you sure you want to activate this layout?"
845
  msgstr ""
846
 
847
+ #: ../includes/ot-functions-admin.php:659
848
  msgid "Sorry, you can't have settings three levels deep."
849
  msgstr ""
850
 
851
+ #: ../includes/ot-functions-admin.php:660
852
  #: ../includes/ot-functions-option-types.php:812
853
  msgid "Delete Gallery"
854
  msgstr ""
855
 
856
+ #: ../includes/ot-functions-admin.php:661
857
  #: ../includes/ot-functions-option-types.php:813
858
  msgid "Edit Gallery"
859
  msgstr ""
860
 
861
+ #: ../includes/ot-functions-admin.php:662
862
  #: ../includes/ot-functions-option-types.php:820
863
  msgid "Create Gallery"
864
  msgstr ""
865
 
866
+ #: ../includes/ot-functions-admin.php:663
867
  msgid "Are you sure you want to delete this Gallery?"
868
  msgstr ""
869
 
870
+ #: ../includes/ot-functions-admin.php:664
871
  msgid "Today"
872
  msgstr ""
873
 
874
+ #: ../includes/ot-functions-admin.php:665
875
  msgid "Now"
876
  msgstr ""
877
 
878
+ #: ../includes/ot-functions-admin.php:666
879
  msgid "Close"
880
  msgstr ""
881
 
882
+ #: ../includes/ot-functions-admin.php:667
883
  msgid "Featured Image"
884
  msgstr ""
885
 
886
+ #: ../includes/ot-functions-admin.php:668
887
+ #: ../includes/ot-functions-admin.php:2804
888
+ #: ../includes/ot-functions-admin.php:2865
889
  msgid "Image"
890
  msgstr ""
891
 
892
+ #: ../includes/ot-functions-admin.php:734
893
  msgid "Option Tree"
894
  msgstr ""
895
 
896
+ #: ../includes/ot-functions-admin.php:871
897
  msgid "General"
898
  msgstr ""
899
 
900
+ #: ../includes/ot-functions-admin.php:877
901
  msgid "Sample Text Field Label"
902
  msgstr ""
903
 
904
+ #: ../includes/ot-functions-admin.php:878
905
  msgid "Description for the sample text field."
906
  msgstr ""
907
 
908
+ #: ../includes/ot-functions-admin.php:2120
909
  msgid "Settings updated."
910
  msgstr ""
911
 
912
+ #: ../includes/ot-functions-admin.php:2124
913
  msgid "Settings could not be saved."
914
  msgstr ""
915
 
916
+ #: ../includes/ot-functions-admin.php:2132
917
  msgid "Settings Imported."
918
  msgstr ""
919
 
920
+ #: ../includes/ot-functions-admin.php:2136
921
  msgid "Settings could not be imported."
922
  msgstr ""
923
 
924
+ #: ../includes/ot-functions-admin.php:2143
925
  msgid "Data Imported."
926
  msgstr ""
927
 
928
+ #: ../includes/ot-functions-admin.php:2147
929
  msgid "Data could not be imported."
930
  msgstr ""
931
 
932
+ #: ../includes/ot-functions-admin.php:2155
933
  msgid "Layouts Imported."
934
  msgstr ""
935
 
936
+ #: ../includes/ot-functions-admin.php:2159
937
  msgid "Layouts could not be imported."
938
  msgstr ""
939
 
940
+ #: ../includes/ot-functions-admin.php:2167
941
  msgid "Layouts Updated."
942
  msgstr ""
943
 
944
+ #: ../includes/ot-functions-admin.php:2171
945
  msgid "Layouts could not be updated."
946
  msgstr ""
947
 
948
+ #: ../includes/ot-functions-admin.php:2175
949
  msgid "Layouts have been deleted."
950
  msgstr ""
951
 
952
+ #: ../includes/ot-functions-admin.php:2181
953
  msgid "Layout activated."
954
  msgstr ""
955
 
956
+ #: ../includes/ot-functions-admin.php:2224
957
  msgid "Color Picker"
958
  msgstr ""
959
 
960
+ #: ../includes/ot-functions-admin.php:2243
961
  #: ../includes/ot-functions-docs-page.php:248
962
  msgid "Slider"
963
  msgstr ""
964
 
965
+ #: ../includes/ot-functions-admin.php:2245
966
  #: ../includes/ot-functions-docs-page.php:254
967
  msgid "Tab"
968
  msgstr ""
969
 
970
+ #: ../includes/ot-functions-admin.php:2749
971
  msgid "Left Sidebar"
972
  msgstr ""
973
 
974
+ #: ../includes/ot-functions-admin.php:2754
975
  msgid "Right Sidebar"
976
  msgstr ""
977
 
978
+ #: ../includes/ot-functions-admin.php:2759
979
  msgid "Full Width (no sidebar)"
980
  msgstr ""
981
 
982
+ #: ../includes/ot-functions-admin.php:2764
983
  msgid "Dual Sidebar"
984
  msgstr ""
985
 
986
+ #: ../includes/ot-functions-admin.php:2769
987
  msgid "Left Dual Sidebar"
988
  msgstr ""
989
 
990
+ #: ../includes/ot-functions-admin.php:2774
991
  msgid "Right Dual Sidebar"
992
  msgstr ""
993
 
994
+ #: ../includes/ot-functions-admin.php:2815
995
+ #: ../includes/ot-functions-admin.php:2871
996
+ #: ../includes/ot-functions-admin.php:4747
997
  msgid "Link"
998
  msgstr ""
999
 
1000
+ #: ../includes/ot-functions-admin.php:2826
1001
+ #: ../includes/ot-functions-admin.php:2877
1002
  #: ../includes/ot-functions-docs-page.php:43
1003
  #: ../includes/ot-functions-docs-page.php:404
1004
  #: ../includes/ot-functions-docs-page.php:454
1005
  msgid "Description"
1006
  msgstr ""
1007
 
1008
+ #: ../includes/ot-functions-admin.php:2941
1009
  msgid "Name"
1010
  msgstr ""
1011
 
1012
+ #: ../includes/ot-functions-admin.php:2942
1013
  msgid "Enter the name of the social website."
1014
  msgstr ""
1015
 
1016
+ #: ../includes/ot-functions-admin.php:2950
1017
  msgid "Enter the text shown in the title attribute of the link."
1018
  msgstr ""
1019
 
1020
+ #: ../includes/ot-functions-admin.php:2956
1021
  #, php-format
1022
  msgid ""
1023
  "Enter a link to the profile or page on the social website. Remember to add "
1024
  "the %s part to the front of the link."
1025
  msgstr ""
1026
 
1027
+ #: ../includes/ot-functions-admin.php:3439
1028
  msgid "edit"
1029
  msgstr ""
1030
 
1031
+ #: ../includes/ot-functions-admin.php:3440
1032
+ #: ../includes/ot-functions-admin.php:3508
1033
+ #: ../includes/ot-functions-admin.php:3509
1034
+ #: ../includes/ot-functions-admin.php:3671
1035
+ #: ../includes/ot-functions-admin.php:3672
1036
+ #: ../includes/ot-functions-admin.php:3737
1037
+ #: ../includes/ot-functions-admin.php:3738
1038
+ #: ../includes/ot-functions-admin.php:3865
1039
+ #: ../includes/ot-functions-admin.php:3866
1040
+ #: ../includes/ot-functions-admin.php:4018
1041
+ #: ../includes/ot-functions-admin.php:4019
1042
  msgid "Edit"
1043
  msgstr ""
1044
 
1045
+ #: ../includes/ot-functions-admin.php:3442
1046
+ #: ../includes/ot-functions-admin.php:3443
1047
+ #: ../includes/ot-functions-admin.php:3511
1048
+ #: ../includes/ot-functions-admin.php:3512
1049
+ #: ../includes/ot-functions-admin.php:3674
1050
+ #: ../includes/ot-functions-admin.php:3675
1051
+ #: ../includes/ot-functions-admin.php:3740
1052
+ #: ../includes/ot-functions-admin.php:3741
1053
+ #: ../includes/ot-functions-admin.php:3799
1054
+ #: ../includes/ot-functions-admin.php:3800
1055
+ #: ../includes/ot-functions-admin.php:3868
1056
+ #: ../includes/ot-functions-admin.php:3869
1057
+ #: ../includes/ot-functions-admin.php:4021
1058
+ #: ../includes/ot-functions-admin.php:4022
1059
  msgid "Delete"
1060
  msgstr ""
1061
 
1062
+ #: ../includes/ot-functions-admin.php:3449
1063
  msgid ""
1064
  "<strong>Section Title</strong>: Displayed as a menu item on the Theme "
1065
  "Options page."
1066
  msgstr ""
1067
 
1068
+ #: ../includes/ot-functions-admin.php:3457
1069
  msgid ""
1070
  "<strong>Section ID</strong>: A unique lower case alphanumeric string, "
1071
  "underscores allowed."
1072
  msgstr ""
1073
 
1074
+ #: ../includes/ot-functions-admin.php:3518
1075
  msgid ""
1076
  "<strong>Label</strong>: Displayed as the label of a form element on the "
1077
  "Theme Options page."
1078
  msgstr ""
1079
 
1080
+ #: ../includes/ot-functions-admin.php:3526
1081
+ #: ../includes/ot-functions-admin.php:3755
1082
  msgid ""
1083
  "<strong>ID</strong>: A unique lower case alphanumeric string, underscores "
1084
  "allowed."
1085
  msgstr ""
1086
 
1087
+ #: ../includes/ot-functions-admin.php:3534
1088
  msgid ""
1089
  "<strong>Type</strong>: Choose one of the available option types from the "
1090
  "dropdown."
1091
  msgstr ""
1092
 
1093
+ #: ../includes/ot-functions-admin.php:3545
1094
  msgid ""
1095
  "<strong>Description</strong>: Enter a detailed description for the users to "
1096
  "read on the Theme Options page, HTML is allowed. This is also where you "
1097
  "enter content for both the Textblock & Textblock Titled option types."
1098
  msgstr ""
1099
 
1100
+ #: ../includes/ot-functions-admin.php:3553
1101
  msgid ""
1102
  "<strong>Choices</strong>: This will only affect the following option types: "
1103
  "Checkbox, Radio, Select & Select Image."
1104
  msgstr ""
1105
 
1106
+ #: ../includes/ot-functions-admin.php:3558
1107
  msgid "Add Choice"
1108
  msgstr ""
1109
 
1110
+ #: ../includes/ot-functions-admin.php:3564
1111
  msgid ""
1112
  "<strong>Settings</strong>: This will only affect the List Item option type."
1113
  msgstr ""
1114
 
1115
+ #: ../includes/ot-functions-admin.php:3569
1116
  #: ../includes/ot-functions-settings-page.php:93
1117
  msgid "Add Setting"
1118
  msgstr ""
1119
 
1120
+ #: ../includes/ot-functions-admin.php:3575
1121
  msgid ""
1122
  "<strong>Standard</strong>: Setting the standard value for your option only "
1123
  "works for some option types. Read the <code>OptionTree->Documentation</code> "
1124
  "for more information on which ones."
1125
  msgstr ""
1126
 
1127
+ #: ../includes/ot-functions-admin.php:3583
1128
  msgid ""
1129
  "<strong>Rows</strong>: Enter a numeric value for the number of rows in your "
1130
  "textarea. This will only affect the following option types: CSS, Textarea, & "
1131
  "Textarea Simple."
1132
  msgstr ""
1133
 
1134
+ #: ../includes/ot-functions-admin.php:3591
1135
  msgid ""
1136
  "<strong>Post Type</strong>: Add a comma separated list of post type like "
1137
  "'post,page'. This will only affect the following option types: Custom Post "
1138
  "Type Checkbox, & Custom Post Type Select."
1139
  msgstr ""
1140
 
1141
+ #: ../includes/ot-functions-admin.php:3599
1142
  msgid ""
1143
  "<strong>Taxonomy</strong>: Add a comma separated list of any registered "
1144
  "taxonomy like 'category,post_tag'. This will only affect the following "
1145
  "option types: Taxonomy Checkbox, & Taxonomy Select."
1146
  msgstr ""
1147
 
1148
+ #: ../includes/ot-functions-admin.php:3607
1149
  msgid ""
1150
  "<strong>Min, Max, & Step</strong>: Add a comma separated list of options in "
1151
  "the following format <code>0,100,1</code> (slide from <code>0-100</code> in "
1154
  "type."
1155
  msgstr ""
1156
 
1157
+ #: ../includes/ot-functions-admin.php:3615
1158
  msgid "<strong>CSS Class</strong>: Add and optional class to this option type."
1159
  msgstr ""
1160
 
1161
+ #: ../includes/ot-functions-admin.php:3623
1162
  #, php-format
1163
  msgid ""
1164
  "<strong>Condition</strong>: Add a comma separated list (no spaces) of "
1167
  "placeholder for your condition, which can be in the form of %s."
1168
  msgstr ""
1169
 
1170
+ #: ../includes/ot-functions-admin.php:3631
1171
  msgid ""
1172
  "<strong>Operator</strong>: Choose the logical operator to compute the result "
1173
  "of the conditions."
1174
  msgstr ""
1175
 
1176
+ #: ../includes/ot-functions-admin.php:3635
1177
  msgid "or"
1178
  msgstr ""
1179
 
1180
+ #: ../includes/ot-functions-admin.php:3681
1181
  #: ../includes/ot-functions-docs-page.php:29
1182
  msgid "Label"
1183
  msgstr ""
1184
 
1185
+ #: ../includes/ot-functions-admin.php:3691
1186
  msgid "Value"
1187
  msgstr ""
1188
 
1189
+ #: ../includes/ot-functions-admin.php:3701
1190
  msgid "Image Source (Radio Image only)"
1191
  msgstr ""
1192
 
1193
+ #: ../includes/ot-functions-admin.php:3747
1194
  msgid ""
1195
  "<strong>Title</strong>: Displayed as a contextual help menu item on the "
1196
  "Theme Options page."
1197
  msgstr ""
1198
 
1199
+ #: ../includes/ot-functions-admin.php:3763
1200
  msgid ""
1201
  "<strong>Content</strong>: Enter the HTML content about this contextual help "
1202
  "item displayed on the Theme Option page for end users to read."
1203
  msgstr ""
1204
 
1205
+ #: ../includes/ot-functions-admin.php:3794
1206
  msgid "Layout"
1207
  msgstr ""
1208
 
1209
+ #: ../includes/ot-functions-admin.php:3796
1210
+ #: ../includes/ot-functions-admin.php:3797
1211
  msgid "Activate"
1212
  msgstr ""
1213
 
1214
+ #: ../includes/ot-functions-admin.php:3833 ../includes/ot-meta-box-api.php:223
1215
+ #: ../includes/ot-settings-api.php:594
1216
  msgid "Title"
1217
  msgstr ""
1218
 
1219
+ #: ../includes/ot-functions-admin.php:4173
1220
  msgid "New Layout"
1221
  msgstr ""
1222
 
1223
+ #: ../includes/ot-functions-admin.php:4756
1224
  msgid "Link URL"
1225
  msgstr ""
1226
 
1227
+ #: ../includes/ot-functions-admin.php:4763
1228
  msgid "Link Title"
1229
  msgstr ""
1230
 
1231
+ #: ../includes/ot-functions-admin.php:4793
1232
  msgid "Quote"
1233
  msgstr ""
1234
 
1235
+ #: ../includes/ot-functions-admin.php:4802
1236
  msgid "Source Name (ex. author, singer, actor)"
1237
  msgstr ""
1238
 
1239
+ #: ../includes/ot-functions-admin.php:4809
1240
  msgid "Source URL"
1241
  msgstr ""
1242
 
1243
+ #: ../includes/ot-functions-admin.php:4816
1244
  msgid "Source Title (ex. book, song, movie)"
1245
  msgstr ""
1246
 
1247
+ #: ../includes/ot-functions-admin.php:4823
1248
  msgid "Source Date"
1249
  msgstr ""
1250
 
1251
+ #: ../includes/ot-functions-admin.php:4853
1252
  msgid "Video"
1253
  msgstr ""
1254
 
1255
+ #: ../includes/ot-functions-admin.php:4862
1256
  #, php-format
1257
  msgid ""
1258
  "Embed video from services like Youtube, Vimeo, or Hulu. You can find a list "
1260
  "built-in %2$s shortcode."
1261
  msgstr ""
1262
 
1263
+ #: ../includes/ot-functions-admin.php:4862
1264
+ #: ../includes/ot-functions-admin.php:4901
1265
  msgid "Wordpress Codex"
1266
  msgstr ""
1267
 
1268
+ #: ../includes/ot-functions-admin.php:4892
1269
  msgid "Audio"
1270
  msgstr ""
1271
 
1272
+ #: ../includes/ot-functions-admin.php:4901
1273
  #, php-format
1274
  msgid ""
1275
  "Embed audio from services like SoundCloud and Rdio. You can find a list of "
2325
  msgid "Save Layouts"
2326
  msgstr ""
2327
 
2328
+ #: ../includes/ot-settings-api.php:355
2329
  msgid "Reset Options"
2330
  msgstr ""
ot-loader.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: OptionTree
4
  * Plugin URI: https://github.com/valendesigns/option-tree/
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.4.2
7
  * Author: Derek Herman
8
  * Author URI: http://valendesigns.com
9
  * License: GPLv3
@@ -178,7 +178,7 @@ if ( ! class_exists( 'OT_Loader' ) ) {
178
  /**
179
  * Current Version number.
180
  */
181
- define( 'OT_VERSION', '2.4.2' );
182
 
183
  /**
184
  * For developers: Theme mode.
@@ -682,8 +682,13 @@ if ( ! class_exists( 'OT_Loader' ) ) {
682
  public function shortcode( $settings, $post ) {
683
 
684
  // Set the OptionTree post ID
685
- if ( ! is_object( $post ) )
686
- $settings['post']['id'] = ot_get_media_post_ID();
 
 
 
 
 
687
 
688
  // No ID return settings
689
  if ( $settings['post']['id'] == 0 )
3
  * Plugin Name: OptionTree
4
  * Plugin URI: https://github.com/valendesigns/option-tree/
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.4.3
7
  * Author: Derek Herman
8
  * Author URI: http://valendesigns.com
9
  * License: GPLv3
178
  /**
179
  * Current Version number.
180
  */
181
+ define( 'OT_VERSION', '2.4.3' );
182
 
183
  /**
184
  * For developers: Theme mode.
682
  public function shortcode( $settings, $post ) {
683
 
684
  // Set the OptionTree post ID
685
+ if ( ! is_object( $post ) ) {
686
+ $post_id = isset( $_GET['post'] ) ? $_GET['post'] : isset( $_GET['post_ID'] ) ? $_GET['post_ID'] : 0;
687
+ if ( $post_id == 0 && function_exists( 'ot_get_media_post_ID' ) ) {
688
+ $post_id = ot_get_media_post_ID();
689
+ }
690
+ $settings['post']['id'] = $post_id;
691
+ }
692
 
693
  // No ID return settings
694
  if ( $settings['post']['id'] == 0 )
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: valendesigns
3
  Donate link: http://bit.ly/NuXI3T
4
  Tags: options, theme options, meta boxes
5
  Requires at least: 3.5
6
- Tested up to: 3.9.1
7
- Stable tag: 2.4.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.
@@ -118,6 +118,19 @@ The most likely scenario is your theme already has OptionTree installed in Theme
118
 
119
  == Changelog ==
120
 
 
 
 
 
 
 
 
 
 
 
 
 
 
121
  = 2.4.2 =
122
  * Hotfix - Fixed a PHP notice that was created when `background-size` in the Background option type is undefined.
123
  * Hotfix - Fixed an issue with the Upload option type, in attachment ID mode, not storing its value.
3
  Donate link: http://bit.ly/NuXI3T
4
  Tags: options, theme options, meta boxes
5
  Requires at least: 3.5
6
+ Tested up to: 4.0
7
+ Stable tag: 2.4.3
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.
118
 
119
  == Changelog ==
120
 
121
+ = 2.4.3 =
122
+ * Hotfix - WordPress 4.0 compatible.
123
+ * Hotfix - Fixed an issue where all media was being attached to the default OptionTree media post.
124
+ * Hotfix - Removed the deprecated `screen_icon()` function.
125
+ * Hotfix - Fixed the `ot_line_height_range_interval` filter being misnamed as `ot_line_height_unit_type`. Contributors via github @youri--.
126
+ * Hotfix - Fixed a conflict with "Frontend Publishing Pro" when using the media uploader on the front-end.
127
+ * Hotfix - Increase condition performance. Contributors via github @designst.
128
+ * Hotfix - Add custom style classes to list-item settings. Contributors via github @designst.
129
+ * Hotfix - Check for `post_title` instead of `post_name` in `ot_get_media_post_ID()`. Contributors via github @clifgriffin.
130
+ * Hotfix - Store the return value of `ot_get_media_post_ID()` in the options table as `ot_media_post_ID`.
131
+ * Hotfix - Added padding to List Items options to reflect the same UI as individual options. Contributors via github @valendesigns and @designst.
132
+ * Hotfix - Fixed a bug that caused the Social Links option type to not properly import.
133
+
134
  = 2.4.2 =
135
  * Hotfix - Fixed a PHP notice that was created when `background-size` in the Background option type is undefined.
136
  * Hotfix - Fixed an issue with the Upload option type, in attachment ID mode, not storing its value.