OptionTree - Version 2.4.2

Version Description

  • Hotfix - Fixed a PHP notice that was created when background-size in the Background option type is undefined.
  • Hotfix - Fixed an issue with the Upload option type, in attachment ID mode, not storing its value.
  • Hotfix - Replaced load_template with require throught the documentation.
  • Hotfix - Added a settings ID auto-fill that is based on the text of the settings label in the Theme Options UI Builder. Contributors via github @valendesigns and @Ore4444.
  • Hotfix - Added filter ot_override_forced_textarea_simple to allow the Textarea option type to be moved in the DOM and not replaced with the Textarea Simple option type in meta boxes and list items.
Download this release

Release Info

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

Code changes from version 2.4.1 to 2.4.2

assets/js/ot-admin.js CHANGED
@@ -150,6 +150,13 @@
150
  $(document).on('keyup', '.option-tree-setting-title', function() {
151
  OT_UI.edit_title(this);
152
  });
 
 
 
 
 
 
 
153
  },
154
  init_edit_id: function() {
155
  $(document).on('keyup', '.section-id', function(){
@@ -415,12 +422,7 @@
415
  btnContent += '<div class="option-tree-ui-image-wrap"><img src="'+href+'" alt="" /></div>';
416
  }
417
  btnContent += '<a href="javascript:(void);" class="option-tree-ui-remove-media option-tree-ui-button button button-secondary light" title="'+option_tree.remove_media_text+'"><span class="icon ot-icon-minus-circle"></span>'+option_tree.remove_media_text+'</a>';
418
- if ( save_attachment_id ) {
419
- $('#'+field_id).val(attachment_id).attr('disabled','disabled');
420
- $('#'+field_id).parents('.type-upload').addClass('ot-upload-attachment-id-wrap')
421
- } else {
422
- $('#'+field_id).val(href);
423
- }
424
  $('#'+field_id+'_media').remove();
425
  $('#'+field_id).parent().parent('div').append('<div class="option-tree-ui-media-wrap" id="'+field_id+'_media" />');
426
  $('#'+field_id+'_media').append(btnContent).slideDown();
150
  $(document).on('keyup', '.option-tree-setting-title', function() {
151
  OT_UI.edit_title(this);
152
  });
153
+ // Automatically fill option IDs with clean versions of their respective option labels
154
+ $(document).on('blur', '.option-tree-setting-title', function() {
155
+ var optionId = $(this).parents('.option-tree-setting-body').find('[type="text"][name$="id]"]')
156
+ if ( optionId.val() === '' ) {
157
+ optionId.val($(this).val().replace(/[^a-z0-9]/gi,'_').toLowerCase());
158
+ }
159
+ });
160
  },
161
  init_edit_id: function() {
162
  $(document).on('keyup', '.section-id', function(){
422
  btnContent += '<div class="option-tree-ui-image-wrap"><img src="'+href+'" alt="" /></div>';
423
  }
424
  btnContent += '<a href="javascript:(void);" class="option-tree-ui-remove-media option-tree-ui-button button button-secondary light" title="'+option_tree.remove_media_text+'"><span class="icon ot-icon-minus-circle"></span>'+option_tree.remove_media_text+'</a>';
425
+ $('#'+field_id).val( ( save_attachment_id ? attachment_id : href ) );
 
 
 
 
 
426
  $('#'+field_id+'_media').remove();
427
  $('#'+field_id).parent().parent('div').append('<div class="option-tree-ui-media-wrap" id="'+field_id+'_media" />');
428
  $('#'+field_id+'_media').append(btnContent).slideDown();
assets/theme-mode/demo-functions.php CHANGED
@@ -57,9 +57,9 @@
57
  /**
58
  * OptionTree in Theme Mode
59
  */
60
- # load_template( trailingslashit( get_template_directory() ) . 'option-tree/ot-loader.php' );
61
 
62
  /**
63
  * Theme Options
64
  */
65
- # load_template( trailingslashit( get_template_directory() ) . 'admin/theme-options.php' );
57
  /**
58
  * OptionTree in Theme Mode
59
  */
60
+ # require( trailingslashit( get_template_directory() ) . 'option-tree/ot-loader.php' );
61
 
62
  /**
63
  * Theme Options
64
  */
65
+ # require( trailingslashit( get_template_directory() ) . 'admin/theme-options.php' );
includes/ot-functions-admin.php CHANGED
@@ -3000,6 +3000,7 @@ if ( ! function_exists( 'ot_insert_css_with_markers' ) ) {
3000
  $value = '';
3001
  $option_id = str_replace( array( '{{', '}}' ), '', $option );
3002
  $option_array = explode( '|', $option_id );
 
3003
 
3004
  /* get the array value */
3005
  if ( $meta ) {
@@ -3078,9 +3079,26 @@ if ( ! function_exists( 'ot_insert_css_with_markers' ) ) {
3078
  if ( ! empty( $value['background-color'] ) )
3079
  $bg[] = $value['background-color'];
3080
 
3081
- if ( ! empty( $value['background-image'] ) )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3082
  $bg[] = 'url("' . $value['background-image'] . '")';
3083
 
 
 
3084
  if ( ! empty( $value['background-repeat'] ) )
3085
  $bg[] = $value['background-repeat'];
3086
 
@@ -3106,18 +3124,32 @@ if ( ! function_exists( 'ot_insert_css_with_markers' ) ) {
3106
  }
3107
 
3108
  } else {
3109
-
3110
  $value = $value[$option_array[1]];
3111
 
3112
  }
3113
 
3114
  }
3115
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3116
  // Filter the CSS
3117
- $value = apply_filters( 'ot_insert_css_with_markers_value', $value, $option_id );
3118
 
3119
  /* insert CSS, even if the value is empty */
3120
- $insertion = stripslashes( str_replace( $option, $value, $insertion ) );
3121
 
3122
  }
3123
 
@@ -3896,7 +3928,7 @@ if ( ! function_exists( 'ot_list_item_view' ) ) {
3896
  }
3897
 
3898
  /* only allow simple textarea inside a list-item due to known DOM issues with wp_editor() */
3899
- if ( $_args['type'] == 'textarea' )
3900
  $_args['type'] = 'textarea-simple';
3901
 
3902
  /* option body, list-item is not allowed inside another list-item */
@@ -4838,5 +4870,47 @@ function ot_meta_box_post_format_audio( $pages = 'post' ) {
4838
 
4839
  }
4840
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4841
  /* End of file ot-functions-admin.php */
4842
  /* Location: ./includes/ot-functions-admin.php */
3000
  $value = '';
3001
  $option_id = str_replace( array( '{{', '}}' ), '', $option );
3002
  $option_array = explode( '|', $option_id );
3003
+ $option_type = ot_get_option_type_by_id( $option_id );
3004
 
3005
  /* get the array value */
3006
  if ( $meta ) {
3079
  if ( ! empty( $value['background-color'] ) )
3080
  $bg[] = $value['background-color'];
3081
 
3082
+ if ( ! empty( $value['background-image'] ) ) {
3083
+
3084
+ /* If an attachment ID is stored here fetch its URL and replace the value */
3085
+ if ( wp_attachment_is_image( $value['background-image'] ) ) {
3086
+
3087
+ $attachment_data = wp_get_attachment_image_src( $value['background-image'], 'original' );
3088
+
3089
+ /* check for attachment data */
3090
+ if ( $attachment_data ) {
3091
+
3092
+ $value['background-image'] = $attachment_data[0];
3093
+
3094
+ }
3095
+
3096
+ }
3097
+
3098
  $bg[] = 'url("' . $value['background-image'] . '")';
3099
 
3100
+ }
3101
+
3102
  if ( ! empty( $value['background-repeat'] ) )
3103
  $bg[] = $value['background-repeat'];
3104
 
3124
  }
3125
 
3126
  } else {
3127
+
3128
  $value = $value[$option_array[1]];
3129
 
3130
  }
3131
 
3132
  }
3133
 
3134
+ /* If an attachment ID is stored here fetch its URL and replace the value */
3135
+ if ( $option_type == 'upload' && wp_attachment_is_image( $value ) ) {
3136
+
3137
+ $attachment_data = wp_get_attachment_image_src( $value, 'original' );
3138
+
3139
+ /* check for attachment data */
3140
+ if ( $attachment_data ) {
3141
+
3142
+ $value = $attachment_data[0];
3143
+
3144
+ }
3145
+
3146
+ }
3147
+
3148
  // Filter the CSS
3149
+ $value = apply_filters( 'ot_insert_css_with_markers_value', $value, $option_id );
3150
 
3151
  /* insert CSS, even if the value is empty */
3152
+ $insertion = stripslashes( str_replace( $option, $value, $insertion ) );
3153
 
3154
  }
3155
 
3928
  }
3929
 
3930
  /* only allow simple textarea inside a list-item due to known DOM issues with wp_editor() */
3931
+ if ( apply_filters( 'ot_override_forced_textarea_simple', false, $field['id'] ) == false && $_args['type'] == 'textarea' )
3932
  $_args['type'] = 'textarea-simple';
3933
 
3934
  /* option body, list-item is not allowed inside another list-item */
4870
 
4871
  }
4872
 
4873
+ /**
4874
+ * Returns the option type by ID.
4875
+ *
4876
+ * @param string $option_id The option ID
4877
+ * @return string $settings_id The settings array ID
4878
+ * @return string The option type.
4879
+ *
4880
+ * @access public
4881
+ * @since 2.4.2
4882
+ */
4883
+ if ( ! function_exists( 'ot_get_option_type_by_id' ) ) {
4884
+
4885
+ function ot_get_option_type_by_id( $option_id, $settings_id = '' ) {
4886
+
4887
+ if ( empty( $settings_id ) ) {
4888
+
4889
+ $settings_id = ot_settings_id();
4890
+
4891
+ }
4892
+
4893
+ $settings = get_option( $settings_id, array() );
4894
+
4895
+ if ( isset( $settings['settings'] ) ) {
4896
+
4897
+ foreach( $settings['settings'] as $value ) {
4898
+
4899
+ if ( $option_id == $value['id'] && isset( $value['type'] ) ) {
4900
+
4901
+ return $value['type'];
4902
+
4903
+ }
4904
+
4905
+ }
4906
+
4907
+ }
4908
+
4909
+ return false;
4910
+
4911
+ }
4912
+
4913
+ }
4914
+
4915
  /* End of file ot-functions-admin.php */
4916
  /* Location: ./includes/ot-functions-admin.php */
includes/ot-functions-docs-page.php CHANGED
@@ -724,7 +724,7 @@ if ( ! function_exists( 'ot_type_meta_boxes' ) ) {
724
  echo '<pre><code>/**
725
  * Meta Boxes
726
  */
727
- load_template( trailingslashit( get_template_directory() ) . \'includes/meta-boxes.php\' );
728
  </code></pre>';
729
 
730
  echo '<ul class="docs-ul">';
@@ -807,7 +807,7 @@ add_filter( \'ot_theme_mode\', \'__return_true\' );
807
  /**
808
  * Required: include OptionTree.
809
  */
810
- load_template( trailingslashit( get_template_directory() ) . \'option-tree/ot-loader.php\' );
811
  </code></pre>';
812
 
813
  echo '<p>' . sprintf( __( 'For a list of all the OptionTree UI display filters refer to the %s file found in the %s directory of this plugin. This file is the starting point for developing themes with Theme Mode.', 'option-tree' ), '<code>demo-functions.php</code>', '<code>/assets/theme-mode/</code>' ) . '</p>';
@@ -824,7 +824,7 @@ load_template( trailingslashit( get_template_directory() ) . \'option-tree/ot-lo
824
  echo '<pre><code>/**
825
  * Theme Options
826
  */
827
- load_template( trailingslashit( get_template_directory() ) . \'includes/theme-options.php\' );
828
  </code></pre>';
829
 
830
  echo '<ul class="docs-ul">';
724
  echo '<pre><code>/**
725
  * Meta Boxes
726
  */
727
+ require( trailingslashit( get_template_directory() ) . \'includes/meta-boxes.php\' );
728
  </code></pre>';
729
 
730
  echo '<ul class="docs-ul">';
807
  /**
808
  * Required: include OptionTree.
809
  */
810
+ require( trailingslashit( get_template_directory() ) . \'option-tree/ot-loader.php\' );
811
  </code></pre>';
812
 
813
  echo '<p>' . sprintf( __( 'For a list of all the OptionTree UI display filters refer to the %s file found in the %s directory of this plugin. This file is the starting point for developing themes with Theme Mode.', 'option-tree' ), '<code>demo-functions.php</code>', '<code>/assets/theme-mode/</code>' ) . '</p>';
824
  echo '<pre><code>/**
825
  * Theme Options
826
  */
827
+ require( trailingslashit( get_template_directory() ) . \'includes/theme-options.php\' );
828
  </code></pre>';
829
 
830
  echo '<ul class="docs-ul">';
includes/ot-functions-option-types.php CHANGED
@@ -71,6 +71,20 @@ if ( ! function_exists( 'ot_type_background' ) ) {
71
  /* verify a description */
72
  $has_desc = $field_desc ? true : false;
73
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
74
  /* format setting outer wrapper */
75
  echo '<div class="format-setting type-background ' . ( $has_desc ? 'has-desc' : 'no-desc' ) . '">';
76
 
@@ -199,7 +213,7 @@ if ( ! function_exists( 'ot_type_background' ) ) {
199
 
200
  foreach ( (array) $choices as $choice ) {
201
  if ( isset( $choice['value'] ) && isset( $choice['label'] ) ) {
202
- echo '<option value="' . esc_attr( $choice['value'] ) . '"' . selected( $field_value['background-size'], $choice['value'], false ) . '>' . esc_attr( $choice['label'] ) . '</option>';
203
  }
204
  }
205
 
@@ -230,6 +244,10 @@ if ( ! function_exists( 'ot_type_background' ) ) {
230
 
231
  /* media */
232
  if ( isset( $field_value['background-image'] ) && $field_value['background-image'] !== '' ) {
 
 
 
 
233
 
234
  echo '<div class="option-tree-ui-media-wrap" id="' . esc_attr( $field_id ) . '_media">';
235
 
@@ -2401,7 +2419,7 @@ if ( ! function_exists( 'ot_type_upload' ) ) {
2401
  }
2402
 
2403
  /* format setting outer wrapper */
2404
- echo '<div class="format-setting type-upload ' . ( $has_desc ? 'has-desc' : 'no-desc' ) . ( isset( $field_src ) ? ' ot-upload-attachment-id-wrap' : '' ) . '">';
2405
 
2406
  /* description */
2407
  echo $has_desc ? '<div class="description">' . htmlspecialchars_decode( $field_desc ) . '</div>' : '';
@@ -2413,7 +2431,7 @@ if ( ! function_exists( 'ot_type_upload' ) ) {
2413
  echo '<div class="option-tree-ui-upload-parent">';
2414
 
2415
  /* input */
2416
- echo '<input type="text" name="' . esc_attr( $field_name ) . '" id="' . esc_attr( $field_id ) . '" value="' . esc_attr( $field_value ) . '" class="widefat option-tree-ui-upload-input ' . esc_attr( $field_class ) . '"' . ( isset( $field_src ) ? ' disabled' : '' ) . ' />';
2417
 
2418
  /* add media button */
2419
  echo '<a href="javascript:void(0);" class="ot_upload_media option-tree-ui-button button button-primary light" rel="' . $post_id . '" title="' . __( 'Add Media', 'option-tree' ) . '"><span class="icon ot-icon-plus-circle"></span>' . __( 'Add Media', 'option-tree' ) . '</a>';
71
  /* verify a description */
72
  $has_desc = $field_desc ? true : false;
73
 
74
+ /* If an attachment ID is stored here fetch its URL and replace the value */
75
+ if ( isset( $field_value['background-image'] ) && wp_attachment_is_image( $field_value['background-image'] ) ) {
76
+
77
+ $attachment_data = wp_get_attachment_image_src( $field_value['background-image'], 'original' );
78
+
79
+ /* check for attachment data */
80
+ if ( $attachment_data ) {
81
+
82
+ $field_src = $attachment_data[0];
83
+
84
+ }
85
+
86
+ }
87
+
88
  /* format setting outer wrapper */
89
  echo '<div class="format-setting type-background ' . ( $has_desc ? 'has-desc' : 'no-desc' ) . '">';
90
 
213
 
214
  foreach ( (array) $choices as $choice ) {
215
  if ( isset( $choice['value'] ) && isset( $choice['label'] ) ) {
216
+ echo '<option value="' . esc_attr( $choice['value'] ) . '"' . selected( ( isset( $field_value['background-size'] ) ? $field_value['background-size'] : '' ), $choice['value'], false ) . '>' . esc_attr( $choice['label'] ) . '</option>';
217
  }
218
  }
219
 
244
 
245
  /* media */
246
  if ( isset( $field_value['background-image'] ) && $field_value['background-image'] !== '' ) {
247
+
248
+ /* replace image src */
249
+ if ( isset( $field_src ) )
250
+ $field_value['background-image'] = $field_src;
251
 
252
  echo '<div class="option-tree-ui-media-wrap" id="' . esc_attr( $field_id ) . '_media">';
253
 
2419
  }
2420
 
2421
  /* format setting outer wrapper */
2422
+ echo '<div class="format-setting type-upload ' . ( $has_desc ? 'has-desc' : 'no-desc' ) . '">';
2423
 
2424
  /* description */
2425
  echo $has_desc ? '<div class="description">' . htmlspecialchars_decode( $field_desc ) . '</div>' : '';
2431
  echo '<div class="option-tree-ui-upload-parent">';
2432
 
2433
  /* input */
2434
+ echo '<input type="text" name="' . esc_attr( $field_name ) . '" id="' . esc_attr( $field_id ) . '" value="' . esc_attr( $field_value ) . '" class="widefat option-tree-ui-upload-input ' . esc_attr( $field_class ) . '" />';
2435
 
2436
  /* add media button */
2437
  echo '<a href="javascript:void(0);" class="ot_upload_media option-tree-ui-button button button-primary light" rel="' . $post_id . '" title="' . __( 'Add Media', 'option-tree' ) . '"><span class="icon ot-icon-plus-circle"></span>' . __( 'Add Media', 'option-tree' ) . '</a>';
includes/ot-meta-box-api.php CHANGED
@@ -116,7 +116,7 @@ if ( ! class_exists( 'OT_Meta_Box' ) ) {
116
  }
117
 
118
  /* only allow simple textarea due to DOM issues with wp_editor() */
119
- if ( $_args['type'] == 'textarea' )
120
  $_args['type'] = 'textarea-simple';
121
 
122
  // Build the setting CSS class
116
  }
117
 
118
  /* only allow simple textarea due to DOM issues with wp_editor() */
119
+ if ( apply_filters( 'ot_override_forced_textarea_simple', false, $field['id'] ) == false && $_args['type'] == 'textarea' )
120
  $_args['type'] = 'textarea-simple';
121
 
122
  // Build the setting CSS class
languages/option-tree.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: OptionTree\n"
4
- "POT-Creation-Date: 2014-05-19 23:29-0800\n"
5
- "PO-Revision-Date: 2014-05-19 23:30-0800\n"
6
  "Last-Translator: Derek Herman <derek@valendesigns.com>\n"
7
  "Language-Team: Valen Designs\n"
8
  "Language: English\n"
@@ -55,7 +55,7 @@ msgstr ""
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:4638
59
  #: ../includes/ot-functions-docs-page.php:156
60
  msgid "Gallery"
61
  msgstr ""
@@ -125,7 +125,7 @@ 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:3584
129
  #: ../includes/ot-functions-docs-page.php:111
130
  #: ../includes/ot-functions-docs-page.php:354
131
  msgid "and"
@@ -823,8 +823,8 @@ 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:239
827
- #: ../includes/ot-functions-option-types.php:2435
828
  msgid "Remove Media"
829
  msgstr ""
830
 
@@ -849,17 +849,17 @@ 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:794
853
  msgid "Delete Gallery"
854
  msgstr ""
855
 
856
  #: ../includes/ot-functions-admin.php:660
857
- #: ../includes/ot-functions-option-types.php:795
858
  msgid "Edit Gallery"
859
  msgstr ""
860
 
861
  #: ../includes/ot-functions-admin.php:661
862
- #: ../includes/ot-functions-option-types.php:802
863
  msgid "Create Gallery"
864
  msgstr ""
865
 
@@ -993,7 +993,7 @@ msgstr ""
993
 
994
  #: ../includes/ot-functions-admin.php:2797
995
  #: ../includes/ot-functions-admin.php:2853
996
- #: ../includes/ot-functions-admin.php:4678
997
  msgid "Link"
998
  msgstr ""
999
 
@@ -1024,128 +1024,128 @@ msgid ""
1024
  "the %s part to the front of the link."
1025
  msgstr ""
1026
 
1027
- #: ../includes/ot-functions-admin.php:3389
1028
  msgid "edit"
1029
  msgstr ""
1030
 
1031
- #: ../includes/ot-functions-admin.php:3390
1032
- #: ../includes/ot-functions-admin.php:3458
1033
- #: ../includes/ot-functions-admin.php:3459
1034
- #: ../includes/ot-functions-admin.php:3621
1035
- #: ../includes/ot-functions-admin.php:3622
1036
- #: ../includes/ot-functions-admin.php:3687
1037
- #: ../includes/ot-functions-admin.php:3688
1038
- #: ../includes/ot-functions-admin.php:3815
1039
- #: ../includes/ot-functions-admin.php:3816
1040
- #: ../includes/ot-functions-admin.php:3949
1041
- #: ../includes/ot-functions-admin.php:3950
1042
  msgid "Edit"
1043
  msgstr ""
1044
 
1045
- #: ../includes/ot-functions-admin.php:3392
1046
- #: ../includes/ot-functions-admin.php:3393
1047
- #: ../includes/ot-functions-admin.php:3461
1048
- #: ../includes/ot-functions-admin.php:3462
1049
- #: ../includes/ot-functions-admin.php:3624
1050
- #: ../includes/ot-functions-admin.php:3625
1051
- #: ../includes/ot-functions-admin.php:3690
1052
- #: ../includes/ot-functions-admin.php:3691
1053
- #: ../includes/ot-functions-admin.php:3749
1054
- #: ../includes/ot-functions-admin.php:3750
1055
- #: ../includes/ot-functions-admin.php:3818
1056
- #: ../includes/ot-functions-admin.php:3819
1057
- #: ../includes/ot-functions-admin.php:3952
1058
- #: ../includes/ot-functions-admin.php:3953
1059
  msgid "Delete"
1060
  msgstr ""
1061
 
1062
- #: ../includes/ot-functions-admin.php:3399
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:3407
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:3468
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:3476
1081
- #: ../includes/ot-functions-admin.php:3705
1082
  msgid ""
1083
  "<strong>ID</strong>: A unique lower case alphanumeric string, underscores "
1084
  "allowed."
1085
  msgstr ""
1086
 
1087
- #: ../includes/ot-functions-admin.php:3484
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:3495
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:3503
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:3508
1107
  msgid "Add Choice"
1108
  msgstr ""
1109
 
1110
- #: ../includes/ot-functions-admin.php:3514
1111
  msgid ""
1112
  "<strong>Settings</strong>: This will only affect the List Item option type."
1113
  msgstr ""
1114
 
1115
- #: ../includes/ot-functions-admin.php:3519
1116
  #: ../includes/ot-functions-settings-page.php:93
1117
  msgid "Add Setting"
1118
  msgstr ""
1119
 
1120
- #: ../includes/ot-functions-admin.php:3525
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:3533
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:3541
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:3549
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:3557
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:3565
1158
  msgid "<strong>CSS Class</strong>: Add and optional class to this option type."
1159
  msgstr ""
1160
 
1161
- #: ../includes/ot-functions-admin.php:3573
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:3581
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:3585
1177
  msgid "or"
1178
  msgstr ""
1179
 
1180
- #: ../includes/ot-functions-admin.php:3631
1181
  #: ../includes/ot-functions-docs-page.php:29
1182
  msgid "Label"
1183
  msgstr ""
1184
 
1185
- #: ../includes/ot-functions-admin.php:3641
1186
  msgid "Value"
1187
  msgstr ""
1188
 
1189
- #: ../includes/ot-functions-admin.php:3651
1190
  msgid "Image Source (Radio Image only)"
1191
  msgstr ""
1192
 
1193
- #: ../includes/ot-functions-admin.php:3697
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:3713
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:3744
1206
  msgid "Layout"
1207
  msgstr ""
1208
 
1209
- #: ../includes/ot-functions-admin.php:3746
1210
- #: ../includes/ot-functions-admin.php:3747
1211
  msgid "Activate"
1212
  msgstr ""
1213
 
1214
- #: ../includes/ot-functions-admin.php:3783 ../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:4104
1220
  msgid "New Layout"
1221
  msgstr ""
1222
 
1223
- #: ../includes/ot-functions-admin.php:4687
1224
  msgid "Link URL"
1225
  msgstr ""
1226
 
1227
- #: ../includes/ot-functions-admin.php:4694
1228
  msgid "Link Title"
1229
  msgstr ""
1230
 
1231
- #: ../includes/ot-functions-admin.php:4724
1232
  msgid "Quote"
1233
  msgstr ""
1234
 
1235
- #: ../includes/ot-functions-admin.php:4733
1236
  msgid "Source Name (ex. author, singer, actor)"
1237
  msgstr ""
1238
 
1239
- #: ../includes/ot-functions-admin.php:4740
1240
  msgid "Source URL"
1241
  msgstr ""
1242
 
1243
- #: ../includes/ot-functions-admin.php:4747
1244
  msgid "Source Title (ex. book, song, movie)"
1245
  msgstr ""
1246
 
1247
- #: ../includes/ot-functions-admin.php:4754
1248
  msgid "Source Date"
1249
  msgstr ""
1250
 
1251
- #: ../includes/ot-functions-admin.php:4784
1252
  msgid "Video"
1253
  msgstr ""
1254
 
1255
- #: ../includes/ot-functions-admin.php:4793
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:4793
1264
- #: ../includes/ot-functions-admin.php:4832
1265
  msgid "Wordpress Codex"
1266
  msgstr ""
1267
 
1268
- #: ../includes/ot-functions-admin.php:4823
1269
  msgid "Audio"
1270
  msgstr ""
1271
 
1272
- #: ../includes/ot-functions-admin.php:4832
1273
  #, php-format
1274
  msgid ""
1275
  "Embed audio from services like SoundCloud and Rdio. You can find a list of "
@@ -1960,156 +1960,156 @@ msgstr ""
1960
  msgid "Sorry, this function does not exist"
1961
  msgstr ""
1962
 
1963
- #: ../includes/ot-functions-option-types.php:120
1964
  msgid "background-repeat"
1965
  msgstr ""
1966
 
1967
- #: ../includes/ot-functions-option-types.php:138
1968
  msgid "background-attachment"
1969
  msgstr ""
1970
 
1971
- #: ../includes/ot-functions-option-types.php:157
1972
  msgid "background-position"
1973
  msgstr ""
1974
 
1975
- #: ../includes/ot-functions-option-types.php:210
1976
  msgid "background-size"
1977
  msgstr ""
1978
 
1979
- #: ../includes/ot-functions-option-types.php:227
1980
- #: ../includes/ot-functions-option-types.php:2419
1981
  msgid "Add Media"
1982
  msgstr ""
1983
 
1984
- #: ../includes/ot-functions-option-types.php:297
1985
- #: ../includes/ot-functions-option-types.php:351
1986
  msgid "No Categories Found"
1987
  msgstr ""
1988
 
1989
- #: ../includes/ot-functions-option-types.php:346
1990
- #: ../includes/ot-functions-option-types.php:607
1991
- #: ../includes/ot-functions-option-types.php:1149
1992
- #: ../includes/ot-functions-option-types.php:1260
1993
- #: ../includes/ot-functions-option-types.php:1863
1994
- #: ../includes/ot-functions-option-types.php:1978
1995
  msgid "Choose One"
1996
  msgstr ""
1997
 
1998
- #: ../includes/ot-functions-option-types.php:555
1999
- #: ../includes/ot-functions-option-types.php:613
2000
- #: ../includes/ot-functions-option-types.php:1211
2001
- #: ../includes/ot-functions-option-types.php:1266
2002
  msgid "No Posts Found"
2003
  msgstr ""
2004
 
2005
- #: ../includes/ot-functions-option-types.php:874
2006
- #: ../includes/ot-functions-option-types.php:1565
2007
- #: ../includes/ot-functions-option-types.php:1730
2008
  msgid "Add New"
2009
  msgstr ""
2010
 
2011
- #: ../includes/ot-functions-option-types.php:877
2012
- #: ../includes/ot-functions-option-types.php:1568
2013
- #: ../includes/ot-functions-option-types.php:1733
2014
  msgid "You can re-order with drag & drop, the order will update after saving."
2015
  msgstr ""
2016
 
2017
- #: ../includes/ot-functions-option-types.php:1028
2018
  msgid "On"
2019
  msgstr ""
2020
 
2021
- #: ../includes/ot-functions-option-types.php:1032
2022
  msgid "Off"
2023
  msgstr ""
2024
 
2025
- #: ../includes/ot-functions-option-types.php:1100
2026
- #: ../includes/ot-functions-option-types.php:1155
2027
  msgid "No Pages Found"
2028
  msgstr ""
2029
 
2030
- #: ../includes/ot-functions-option-types.php:1488
2031
  msgid "Choose Sidebar"
2032
  msgstr ""
2033
 
2034
- #: ../includes/ot-functions-option-types.php:1493
2035
  msgid "No Sidebars"
2036
  msgstr ""
2037
 
2038
- #: ../includes/ot-functions-option-types.php:1601
2039
  msgid "Facebook"
2040
  msgstr ""
2041
 
2042
- #: ../includes/ot-functions-option-types.php:1606
2043
  msgid "Twitter"
2044
  msgstr ""
2045
 
2046
- #: ../includes/ot-functions-option-types.php:1611
2047
  msgid "Google+"
2048
  msgstr ""
2049
 
2050
- #: ../includes/ot-functions-option-types.php:1616
2051
  msgid "LinkedIn"
2052
  msgstr ""
2053
 
2054
- #: ../includes/ot-functions-option-types.php:1621
2055
  msgid "Pinterest"
2056
  msgstr ""
2057
 
2058
- #: ../includes/ot-functions-option-types.php:1626
2059
  msgid "Youtube"
2060
  msgstr ""
2061
 
2062
- #: ../includes/ot-functions-option-types.php:1631
2063
  msgid "Dribbble"
2064
  msgstr ""
2065
 
2066
- #: ../includes/ot-functions-option-types.php:1636
2067
  msgid "Github"
2068
  msgstr ""
2069
 
2070
- #: ../includes/ot-functions-option-types.php:1641
2071
  msgid "Forrst"
2072
  msgstr ""
2073
 
2074
- #: ../includes/ot-functions-option-types.php:1646
2075
  msgid "Digg"
2076
  msgstr ""
2077
 
2078
- #: ../includes/ot-functions-option-types.php:1651
2079
  msgid "Delicious"
2080
  msgstr ""
2081
 
2082
- #: ../includes/ot-functions-option-types.php:1656
2083
  msgid "Tumblr"
2084
  msgstr ""
2085
 
2086
- #: ../includes/ot-functions-option-types.php:1661
2087
  msgid "Skype"
2088
  msgstr ""
2089
 
2090
- #: ../includes/ot-functions-option-types.php:1666
2091
  msgid "SoundCloud"
2092
  msgstr ""
2093
 
2094
- #: ../includes/ot-functions-option-types.php:1671
2095
  msgid "Vimeo"
2096
  msgstr ""
2097
 
2098
- #: ../includes/ot-functions-option-types.php:1676
2099
  msgid "Flickr"
2100
  msgstr ""
2101
 
2102
- #: ../includes/ot-functions-option-types.php:1681
2103
  msgid "VK.com"
2104
  msgstr ""
2105
 
2106
- #: ../includes/ot-functions-option-types.php:1814
2107
- #: ../includes/ot-functions-option-types.php:1868
2108
  msgid "No Tags Found"
2109
  msgstr ""
2110
 
2111
- #: ../includes/ot-functions-option-types.php:1926
2112
- #: ../includes/ot-functions-option-types.php:1983
2113
  msgid "No Taxonomies Found"
2114
  msgstr ""
2115
 
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"
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 ""
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"
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
 
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
 
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
 
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
  "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
  "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
  "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 "
1960
  msgid "Sorry, this function does not exist"
1961
  msgstr ""
1962
 
1963
+ #: ../includes/ot-functions-option-types.php:134
1964
  msgid "background-repeat"
1965
  msgstr ""
1966
 
1967
+ #: ../includes/ot-functions-option-types.php:152
1968
  msgid "background-attachment"
1969
  msgstr ""
1970
 
1971
+ #: ../includes/ot-functions-option-types.php:171
1972
  msgid "background-position"
1973
  msgstr ""
1974
 
1975
+ #: ../includes/ot-functions-option-types.php:224
1976
  msgid "background-size"
1977
  msgstr ""
1978
 
1979
+ #: ../includes/ot-functions-option-types.php:241
1980
+ #: ../includes/ot-functions-option-types.php:2437
1981
  msgid "Add Media"
1982
  msgstr ""
1983
 
1984
+ #: ../includes/ot-functions-option-types.php:315
1985
+ #: ../includes/ot-functions-option-types.php:369
1986
  msgid "No Categories Found"
1987
  msgstr ""
1988
 
1989
+ #: ../includes/ot-functions-option-types.php:364
1990
+ #: ../includes/ot-functions-option-types.php:625
1991
+ #: ../includes/ot-functions-option-types.php:1167
1992
+ #: ../includes/ot-functions-option-types.php:1278
1993
+ #: ../includes/ot-functions-option-types.php:1881
1994
+ #: ../includes/ot-functions-option-types.php:1996
1995
  msgid "Choose One"
1996
  msgstr ""
1997
 
1998
+ #: ../includes/ot-functions-option-types.php:573
1999
+ #: ../includes/ot-functions-option-types.php:631
2000
+ #: ../includes/ot-functions-option-types.php:1229
2001
+ #: ../includes/ot-functions-option-types.php:1284
2002
  msgid "No Posts Found"
2003
  msgstr ""
2004
 
2005
+ #: ../includes/ot-functions-option-types.php:892
2006
+ #: ../includes/ot-functions-option-types.php:1583
2007
+ #: ../includes/ot-functions-option-types.php:1748
2008
  msgid "Add New"
2009
  msgstr ""
2010
 
2011
+ #: ../includes/ot-functions-option-types.php:895
2012
+ #: ../includes/ot-functions-option-types.php:1586
2013
+ #: ../includes/ot-functions-option-types.php:1751
2014
  msgid "You can re-order with drag & drop, the order will update after saving."
2015
  msgstr ""
2016
 
2017
+ #: ../includes/ot-functions-option-types.php:1046
2018
  msgid "On"
2019
  msgstr ""
2020
 
2021
+ #: ../includes/ot-functions-option-types.php:1050
2022
  msgid "Off"
2023
  msgstr ""
2024
 
2025
+ #: ../includes/ot-functions-option-types.php:1118
2026
+ #: ../includes/ot-functions-option-types.php:1173
2027
  msgid "No Pages Found"
2028
  msgstr ""
2029
 
2030
+ #: ../includes/ot-functions-option-types.php:1506
2031
  msgid "Choose Sidebar"
2032
  msgstr ""
2033
 
2034
+ #: ../includes/ot-functions-option-types.php:1511
2035
  msgid "No Sidebars"
2036
  msgstr ""
2037
 
2038
+ #: ../includes/ot-functions-option-types.php:1619
2039
  msgid "Facebook"
2040
  msgstr ""
2041
 
2042
+ #: ../includes/ot-functions-option-types.php:1624
2043
  msgid "Twitter"
2044
  msgstr ""
2045
 
2046
+ #: ../includes/ot-functions-option-types.php:1629
2047
  msgid "Google+"
2048
  msgstr ""
2049
 
2050
+ #: ../includes/ot-functions-option-types.php:1634
2051
  msgid "LinkedIn"
2052
  msgstr ""
2053
 
2054
+ #: ../includes/ot-functions-option-types.php:1639
2055
  msgid "Pinterest"
2056
  msgstr ""
2057
 
2058
+ #: ../includes/ot-functions-option-types.php:1644
2059
  msgid "Youtube"
2060
  msgstr ""
2061
 
2062
+ #: ../includes/ot-functions-option-types.php:1649
2063
  msgid "Dribbble"
2064
  msgstr ""
2065
 
2066
+ #: ../includes/ot-functions-option-types.php:1654
2067
  msgid "Github"
2068
  msgstr ""
2069
 
2070
+ #: ../includes/ot-functions-option-types.php:1659
2071
  msgid "Forrst"
2072
  msgstr ""
2073
 
2074
+ #: ../includes/ot-functions-option-types.php:1664
2075
  msgid "Digg"
2076
  msgstr ""
2077
 
2078
+ #: ../includes/ot-functions-option-types.php:1669
2079
  msgid "Delicious"
2080
  msgstr ""
2081
 
2082
+ #: ../includes/ot-functions-option-types.php:1674
2083
  msgid "Tumblr"
2084
  msgstr ""
2085
 
2086
+ #: ../includes/ot-functions-option-types.php:1679
2087
  msgid "Skype"
2088
  msgstr ""
2089
 
2090
+ #: ../includes/ot-functions-option-types.php:1684
2091
  msgid "SoundCloud"
2092
  msgstr ""
2093
 
2094
+ #: ../includes/ot-functions-option-types.php:1689
2095
  msgid "Vimeo"
2096
  msgstr ""
2097
 
2098
+ #: ../includes/ot-functions-option-types.php:1694
2099
  msgid "Flickr"
2100
  msgstr ""
2101
 
2102
+ #: ../includes/ot-functions-option-types.php:1699
2103
  msgid "VK.com"
2104
  msgstr ""
2105
 
2106
+ #: ../includes/ot-functions-option-types.php:1832
2107
+ #: ../includes/ot-functions-option-types.php:1886
2108
  msgid "No Tags Found"
2109
  msgstr ""
2110
 
2111
+ #: ../includes/ot-functions-option-types.php:1944
2112
+ #: ../includes/ot-functions-option-types.php:2001
2113
  msgid "No Taxonomies Found"
2114
  msgstr ""
2115
 
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.1
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.1' );
182
 
183
  /**
184
  * For developers: Theme mode.
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
  /**
179
  * Current Version number.
180
  */
181
+ define( 'OT_VERSION', '2.4.2' );
182
 
183
  /**
184
  * For developers: Theme mode.
readme.txt CHANGED
@@ -4,7 +4,7 @@ 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.1
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.
@@ -92,7 +92,7 @@ add_filter( 'ot_theme_mode', '__return_true' );
92
  /**
93
  * Required: include OptionTree.
94
  */
95
- load_template( trailingslashit( get_template_directory() ) . 'option-tree/ot-loader.php' );`
96
 
97
  For a list of all the OptionTree UI display filters refer to the `demo-functions.php` file found in the `/assets/theme-mode/` directory of this plugin. This file is the starting point for developing themes with Theme Mode.
98
 
@@ -118,6 +118,13 @@ The most likely scenario is your theme already has OptionTree installed in Theme
118
 
119
  == Changelog ==
120
 
 
 
 
 
 
 
 
121
  = 2.4.1 =
122
  * Hotfix - Fixed a typo in the demo Theme Options related to the `social-links`.
123
  * Hotfix - Fixed the language directory path conflict between IIS and Linux while in Theme Mode.
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.
92
  /**
93
  * Required: include OptionTree.
94
  */
95
+ require( trailingslashit( get_template_directory() ) . 'option-tree/ot-loader.php' );`
96
 
97
  For a list of all the OptionTree UI display filters refer to the `demo-functions.php` file found in the `/assets/theme-mode/` directory of this plugin. This file is the starting point for developing themes with Theme Mode.
98
 
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.
124
+ * Hotfix - Replaced `load_template` with `require` throught the documentation.
125
+ * Hotfix - Added a settings ID auto-fill that is based on the text of the settings label in the Theme Options UI Builder. Contributors via github @valendesigns and @Ore4444.
126
+ * Hotfix - Added filter `ot_override_forced_textarea_simple` to allow the Textarea option type to be moved in the DOM and not replaced with the Textarea Simple option type in meta boxes and list items.
127
+
128
  = 2.4.1 =
129
  * Hotfix - Fixed a typo in the demo Theme Options related to the `social-links`.
130
  * Hotfix - Fixed the language directory path conflict between IIS and Linux while in Theme Mode.