Ivory Search – WordPress Search Plugin - Version 4.4.12

Version Description

  • Added - Colorpicker option to change menu magnifier icon color.
  • Added - Option to display search form at the start of the navigation menu.
  • Improved - Set default menu search form style to Dropdown.
  • Fixed - Whole fuzzy matching was not working with MySQL version 8.
Download this release

Release Info

Developer vinod dalvi
Plugin Icon 128x128 Ivory Search – WordPress Search Plugin
Version 4.4.12
Comparing to
See all releases

Code changes from version 4.4.11 to 4.4.12

add-search-to-menu.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Ivory Search
4
  * Plugin URI: https://ivorysearch.com
5
  * Description: The WordPress Search plugin that includes Search Form Customizer, WooCommerce Search, Image Search, Search Shortcode, AJAX Search & Live Search support!
6
- * Version: 4.4.11
7
  * Author: Ivory Search
8
  * Author URI: https://ivorysearch.com/
9
  * License: GPL2+
@@ -107,7 +107,7 @@ final class Ivory_Search {
107
  private function define_constants() {
108
 
109
  if ( ! defined( 'IS_VERSION' ) ) {
110
- define( 'IS_VERSION', '4.4.11' );
111
  }
112
  if ( ! defined( 'IS_PLUGIN_FILE' ) ) {
113
  define( 'IS_PLUGIN_FILE', __FILE__ );
3
  * Plugin Name: Ivory Search
4
  * Plugin URI: https://ivorysearch.com
5
  * Description: The WordPress Search plugin that includes Search Form Customizer, WooCommerce Search, Image Search, Search Shortcode, AJAX Search & Live Search support!
6
+ * Version: 4.4.12
7
  * Author: Ivory Search
8
  * Author URI: https://ivorysearch.com/
9
  * License: GPL2+
107
  private function define_constants() {
108
 
109
  if ( ! defined( 'IS_VERSION' ) ) {
110
+ define( 'IS_VERSION', '4.4.12' );
111
  }
112
  if ( ! defined( 'IS_PLUGIN_FILE' ) ) {
113
  define( 'IS_PLUGIN_FILE', __FILE__ );
admin/class-is-admin.php CHANGED
@@ -59,6 +59,8 @@ class IS_Admin
59
  if ( false === strpos( $hook_suffix, 'ivory-search' ) ) {
60
  return;
61
  }
 
 
62
  wp_enqueue_style(
63
  'is-admin-styles',
64
  plugins_url( '/admin/css/ivory-search-admin.css', IS_PLUGIN_FILE ),
@@ -69,7 +71,12 @@ class IS_Admin
69
  wp_register_script(
70
  'is-admin-scripts',
71
  plugins_url( '/admin/js/ivory-search-admin.js', IS_PLUGIN_FILE ),
72
- array( 'jquery', 'jquery-ui-tabs', 'jquery-ui-accordion' ),
 
 
 
 
 
73
  IS_VERSION,
74
  true
75
  );
59
  if ( false === strpos( $hook_suffix, 'ivory-search' ) ) {
60
  return;
61
  }
62
+ // Css rules for Color Picker
63
+ wp_enqueue_style( 'wp-color-picker' );
64
  wp_enqueue_style(
65
  'is-admin-styles',
66
  plugins_url( '/admin/css/ivory-search-admin.css', IS_PLUGIN_FILE ),
71
  wp_register_script(
72
  'is-admin-scripts',
73
  plugins_url( '/admin/js/ivory-search-admin.js', IS_PLUGIN_FILE ),
74
+ array(
75
+ 'jquery',
76
+ 'jquery-ui-tabs',
77
+ 'jquery-ui-accordion',
78
+ 'wp-color-picker'
79
+ ),
80
  IS_VERSION,
81
  true
82
  );
admin/class-is-editor.php CHANGED
@@ -2282,8 +2282,8 @@ class IS_Search_Editor
2282
  echo '<p class="check-radio"><label for="' . $id . '-highlight_terms" ><input class="_is_settings-highlight_terms" type="checkbox" id="' . $id . '-highlight_terms" name="' . $id . '[highlight_terms]" value="1" ' . checked( 1, $checked, false ) . '/>' ;
2283
  echo '<span class="toggle-check-text"></span>' . esc_html__( "Highlight searched terms on search results page", 'add-search-to-menu' ) . '</label></p>' ;
2284
  $color = ( isset( $settings['highlight_color'] ) ? $settings['highlight_color'] : '#FFFFB9' );
2285
- echo '<br /><input style="width: 80px;" class="_is_settings-highlight_terms" size="5" type="text" id="' . $id . '-highlight_color" name="' . $id . '[highlight_color]" value="' . $color . '" />' ;
2286
- echo '<label for="' . $id . '-highlight_color" > ' . esc_html__( "Set highlight color in Hex format", 'add-search-to-menu' ) . '</label>' ;
2287
  ?>
2288
  </div></div>
2289
 
2282
  echo '<p class="check-radio"><label for="' . $id . '-highlight_terms" ><input class="_is_settings-highlight_terms" type="checkbox" id="' . $id . '-highlight_terms" name="' . $id . '[highlight_terms]" value="1" ' . checked( 1, $checked, false ) . '/>' ;
2283
  echo '<span class="toggle-check-text"></span>' . esc_html__( "Highlight searched terms on search results page", 'add-search-to-menu' ) . '</label></p>' ;
2284
  $color = ( isset( $settings['highlight_color'] ) ? $settings['highlight_color'] : '#FFFFB9' );
2285
+ echo '<div class="highlight-container"><br /><input style="width: 80px;" class="_is_settings-highlight_terms is-colorpicker" size="5" type="text" id="' . $id . '-highlight_color" name="' . $id . '[highlight_color]" value="' . $color . '" />' ;
2286
+ echo '<br /><i> ' . esc_html__( "Select text highlight color", 'add-search-to-menu' ) . '</i></div>' ;
2287
  ?>
2288
  </div></div>
2289
 
admin/class-is-settings-fields.php CHANGED
@@ -257,7 +257,15 @@ class IS_Settings_Fields
257
  if ( !isset( $this->opt['menus'] ) || '' === $check_value ) {
258
  return;
259
  }
260
- echo '<br /><br />' ;
 
 
 
 
 
 
 
 
261
  /**
262
  * Displays form style field.
263
  */
@@ -271,10 +279,10 @@ class IS_Settings_Fields
271
  'popup' => __( 'Popup', 'add-search-to-menu' ),
272
  );
273
  if ( empty($this->opt) || !isset( $this->opt['menu_style'] ) ) {
274
- $this->opt['menu_style'] = 'default';
275
  }
276
  $html = '';
277
- $check_value = ( isset( $this->opt['menu_style'] ) ? $this->opt['menu_style'] : 'default' );
278
  foreach ( $styles as $key => $style ) {
279
  $html .= '<p>';
280
  $html .= '<label for="is_menu_style' . esc_attr( $key ) . '"><input class="ivory_search_style" type="radio" id="is_menu_style' . esc_attr( $key ) . '" name="is_menu_search[menu_style]"';
@@ -282,38 +290,38 @@ class IS_Settings_Fields
282
  $html .= '<span class="toggle-check-text"></span>' . esc_html( $style ) . '</label>';
283
  $html .= '</p>';
284
  }
285
- echo '<div>' . $html . '</div><br /><br />' ;
286
-
287
- if ( 'default' != $check_value ) {
288
-
289
- if ( 'popup' != $check_value ) {
290
- /**
291
- * Displays search form close icon field.
292
- */
293
- $check_value = ( isset( $this->opt['menu_close_icon'] ) ? $this->opt['menu_close_icon'] : 0 );
294
- $check_string = checked( 'menu_close_icon', $check_value, false );
295
- $html = '<label for="menu_close_icon"><input class="ivory_search_close_icon" type="checkbox" id="menu_close_icon" name="is_menu_search[menu_close_icon]" value="menu_close_icon" ' . $check_string . ' />';
296
- $html .= '<span class="toggle-check-text"></span>' . esc_html__( 'Display search form close icon', 'add-search-to-menu' ) . '</label>';
297
- echo '<div>' . $html . '</div> <br /><br />' ;
298
- }
299
-
300
- /**
301
- * Displays search menu title field.
302
- */
303
- $content = __( 'Add menu title to display in place of search icon.', 'add-search-to-menu' );
304
- IS_Help::help_info( $content );
305
- $this->opt['menu_title'] = ( isset( $this->opt['menu_title'] ) ? $this->opt['menu_title'] : '' );
306
- $html = '<input class="ivory_search_title" type="text" class="ivory_search_title" id="is_menu_title" name="is_menu_search[menu_title]" value="' . esc_attr( $this->opt['menu_title'] ) . '" />';
307
- echo '<div>' . $html . '</div> <br /><br />' ;
308
- }
309
-
310
  /**
311
  * Displays search menu classes field.
312
  */
313
  $content = __( 'Add class to search form menu item.', 'add-search-to-menu' );
314
  IS_Help::help_info( $content );
315
  $this->opt['menu_classes'] = ( isset( $this->opt['menu_classes'] ) ? $this->opt['menu_classes'] : '' );
316
- $html = '<input class="ivory_search_classes" type="text" class="ivory_search_classes" id="is_menu_classes" name="is_menu_search[menu_classes]" value="' . esc_attr( $this->opt['menu_classes'] ) . '" />';
317
  $html .= '<br /><label for="is_menu_classes" style="font-size: 10px;">' . esc_html__( "Add multiple classes seperated by space.", 'add-search-to-menu' ) . '</label>';
318
  echo '<div>' . $html . '</div> <br /><br />' ;
319
  /**
@@ -356,8 +364,8 @@ class IS_Settings_Fields
356
  $content = __( 'Add Google Custom Search( CSE ) search form code that will replace default search form.', 'add-search-to-menu' );
357
  IS_Help::help_info( $content );
358
  $this->opt['menu_gcse'] = ( isset( $this->opt['menu_gcse'] ) ? $this->opt['menu_gcse'] : '' );
359
- $html = '<input class="ivory_search_gcse" type="text" class="large-text" id="is_menu_gcse" name="is_menu_search[menu_gcse]" value="' . esc_attr( $this->opt['menu_gcse'] ) . '" />';
360
- echo '<div>' . $html . '</div>' ;
361
  }
362
 
363
  /**
257
  if ( !isset( $this->opt['menus'] ) || '' === $check_value ) {
258
  return;
259
  }
260
+ echo '<div class="menu-settings-container"><br /><br />' ;
261
+ /**
262
+ * Displays search form at the beginning of menu field.
263
+ */
264
+ $check_value = ( isset( $this->opt['first_menu_item'] ) ? $this->opt['first_menu_item'] : 0 );
265
+ $check_string = checked( 'first_menu_item', $check_value, false );
266
+ $html = '<label for="first_menu_item"><input class="ivory_search_first_menu_item" type="checkbox" id="first_menu_item" name="is_menu_search[first_menu_item]" value="first_menu_item" ' . $check_string . ' />';
267
+ $html .= '<span class="toggle-check-text"></span>' . esc_html__( 'Display search form at the start of the navigation menu', 'add-search-to-menu' ) . '</label>';
268
+ echo '<div>' . $html . '</div> <br /><br />' ;
269
  /**
270
  * Displays form style field.
271
  */
279
  'popup' => __( 'Popup', 'add-search-to-menu' ),
280
  );
281
  if ( empty($this->opt) || !isset( $this->opt['menu_style'] ) ) {
282
+ $this->opt['menu_style'] = 'dropdown';
283
  }
284
  $html = '';
285
+ $check_value = ( isset( $this->opt['menu_style'] ) ? $this->opt['menu_style'] : 'dropdown' );
286
  foreach ( $styles as $key => $style ) {
287
  $html .= '<p>';
288
  $html .= '<label for="is_menu_style' . esc_attr( $key ) . '"><input class="ivory_search_style" type="radio" id="is_menu_style' . esc_attr( $key ) . '" name="is_menu_search[menu_style]"';
290
  $html .= '<span class="toggle-check-text"></span>' . esc_html( $style ) . '</label>';
291
  $html .= '</p>';
292
  }
293
+ echo '<div class="search-form-style">' . $html . '</div><br /><br />' ;
294
+ echo '<div class="form-style-dependent">' ;
295
+ /**
296
+ * Displays menu search magnifier colorpicker field.
297
+ */
298
+ $color = ( isset( $this->opt['menu_magnifier_color'] ) ? $this->opt['menu_magnifier_color'] : '#848484' );
299
+ echo '<input style="width: 80px;" class="menu-magnifier-color is-colorpicker" size="5" type="text" id="is-menu-magnifier-color" name="is_menu_search[menu_magnifier_color]" value="' . $color . '" />' ;
300
+ echo '<br /><i> ' . esc_html__( "Select menu magnifier icon color.", 'add-search-to-menu' ) . '</i><br /><br />' ;
301
+ /**
302
+ * Displays search form close icon field.
303
+ */
304
+ $check_value = ( isset( $this->opt['menu_close_icon'] ) ? $this->opt['menu_close_icon'] : 0 );
305
+ $check_string = checked( 'menu_close_icon', $check_value, false );
306
+ $html = '<label for="menu_close_icon"><input class="ivory_search_close_icon" type="checkbox" id="menu_close_icon" name="is_menu_search[menu_close_icon]" value="menu_close_icon" ' . $check_string . ' />';
307
+ $html .= '<span class="toggle-check-text"></span>' . esc_html__( 'Display search form close icon', 'add-search-to-menu' ) . '</label>';
308
+ echo '<div>' . $html . '</div> <br /><br />' ;
309
+ /**
310
+ * Displays search menu title field.
311
+ */
312
+ $content = __( 'Add menu title to display in place of search icon.', 'add-search-to-menu' );
313
+ IS_Help::help_info( $content );
314
+ $this->opt['menu_title'] = ( isset( $this->opt['menu_title'] ) ? $this->opt['menu_title'] : '' );
315
+ $html = '<input type="text" class="ivory_search_title" id="is_menu_title" name="is_menu_search[menu_title]" value="' . esc_attr( $this->opt['menu_title'] ) . '" />';
316
+ echo '<div>' . $html . '</div> <br /><br />' ;
317
+ echo '</div>' ;
318
  /**
319
  * Displays search menu classes field.
320
  */
321
  $content = __( 'Add class to search form menu item.', 'add-search-to-menu' );
322
  IS_Help::help_info( $content );
323
  $this->opt['menu_classes'] = ( isset( $this->opt['menu_classes'] ) ? $this->opt['menu_classes'] : '' );
324
+ $html = '<input type="text" class="ivory_search_classes" id="is_menu_classes" name="is_menu_search[menu_classes]" value="' . esc_attr( $this->opt['menu_classes'] ) . '" />';
325
  $html .= '<br /><label for="is_menu_classes" style="font-size: 10px;">' . esc_html__( "Add multiple classes seperated by space.", 'add-search-to-menu' ) . '</label>';
326
  echo '<div>' . $html . '</div> <br /><br />' ;
327
  /**
364
  $content = __( 'Add Google Custom Search( CSE ) search form code that will replace default search form.', 'add-search-to-menu' );
365
  IS_Help::help_info( $content );
366
  $this->opt['menu_gcse'] = ( isset( $this->opt['menu_gcse'] ) ? $this->opt['menu_gcse'] : '' );
367
+ $html = '<input class="ivory_search_gcse" type="text" id="is_menu_gcse" name="is_menu_search[menu_gcse]" value="' . esc_attr( $this->opt['menu_gcse'] ) . '" />';
368
+ echo '<div>' . $html . '</div></div>' ;
369
  }
370
 
371
  /**
admin/js/ivory-search-admin.js CHANGED
@@ -112,7 +112,6 @@
112
  collapsible: true,
113
  heightStyle: "content",
114
  icons: false,
115
- active: false,
116
  create: function( event, ui ) {
117
  if ( 2 === accordion_id.length ) {
118
  var temp_id = accordion_id[1].split('-');
@@ -156,6 +155,8 @@
156
  }
157
  } );
158
 
 
 
159
  $('#search-body select[multiple] option').mousedown(function(e) {
160
  if ($(this).attr('selected')) {
161
  $(this).removeAttr('selected');
@@ -205,6 +206,7 @@
205
  $( window ).on( 'beforeunload', function( event ) {
206
 
207
  $( '#search-body :input[type!="hidden"]' ).each( function() {
 
208
  if ( $( this ).is( ':checkbox, :radio' ) ) {
209
  if ( this.defaultChecked != $( this ).is( ':checked' ) ) {
210
  changed = true;
@@ -220,6 +222,7 @@
220
  changed = true;
221
  }
222
  }
 
223
  } );
224
 
225
  if ( changed ) {
@@ -554,6 +557,45 @@
554
  }
555
  } );
556
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
557
  function toggle_description_inputs() {
558
  if( $( '#_is_ajax-show_description' ).is(':checked') ) {
559
  $( '._is_ajax-description_source_wrap, ._is_ajax-description_length_wrap' ).removeClass('is-field-disabled').show();
112
  collapsible: true,
113
  heightStyle: "content",
114
  icons: false,
 
115
  create: function( event, ui ) {
116
  if ( 2 === accordion_id.length ) {
117
  var temp_id = accordion_id[1].split('-');
155
  }
156
  } );
157
 
158
+ $('.is-colorpicker').wpColorPicker();
159
+
160
  $('#search-body select[multiple] option').mousedown(function(e) {
161
  if ($(this).attr('selected')) {
162
  $(this).removeAttr('selected');
206
  $( window ).on( 'beforeunload', function( event ) {
207
 
208
  $( '#search-body :input[type!="hidden"]' ).each( function() {
209
+ if ( ! $( this ).hasClass('wp-color-result') ){
210
  if ( $( this ).is( ':checkbox, :radio' ) ) {
211
  if ( this.defaultChecked != $( this ).is( ':checked' ) ) {
212
  changed = true;
222
  changed = true;
223
  }
224
  }
225
+ }
226
  } );
227
 
228
  if ( changed ) {
557
  }
558
  } );
559
 
560
+ function toggle_highlight_color_inputs() {
561
+ if( $( '._is_settings-highlight_terms' ).is(':checked') ) {
562
+ $( '.highlight-container' ).removeClass('is-field-disabled').show();
563
+ } else {
564
+ $( '.highlight-container' ).addClass('is-field-disabled').hide();
565
+ }
566
+ }
567
+
568
+ toggle_highlight_color_inputs();
569
+ $( '._is_settings-highlight_terms' ).on( 'click', function() {
570
+ toggle_highlight_color_inputs();
571
+ } );
572
+
573
+ function toggle_menu_search_inputs() {
574
+ if( $( '.ivory_search_locations' ).is(':checked') ) {
575
+ $( '.menu-settings-container' ).removeClass('is-field-disabled').show();
576
+ } else {
577
+ $( '.menu-settings-container' ).addClass('is-field-disabled').hide();
578
+ }
579
+ }
580
+
581
+ toggle_menu_search_inputs();
582
+ $( '.ivory_search_locations' ).on( 'click', function() {
583
+ toggle_menu_search_inputs();
584
+ } );
585
+
586
+ function toggle_menu_style_inputs( style ) {
587
+ if( ( undefined !== style && 'default' !== style ) || ! $('#is_menu_styledefault').is(":checked") ) {
588
+ $( '.form-style-dependent' ).removeClass('is-field-disabled').show();
589
+ } else {
590
+ $( '.form-style-dependent' ).addClass('is-field-disabled').hide();
591
+ }
592
+ }
593
+
594
+ toggle_menu_style_inputs();
595
+ $( '.ivory_search_style' ).on( 'click', function() {
596
+ toggle_menu_style_inputs($(this).val());
597
+ } );
598
+
599
  function toggle_description_inputs() {
600
  if( $( '#_is_ajax-show_description' ).is(':checked') ) {
601
  $( '._is_ajax-description_source_wrap, ._is_ajax-description_length_wrap' ).removeClass('is-field-disabled').show();
includes/freemius.php CHANGED
@@ -29,6 +29,7 @@ function is_fs()
29
  'has_affiliation' => 'selected',
30
  'menu' => array(
31
  'slug' => 'ivory-search',
 
32
  'support' => false,
33
  'affiliation' => false,
34
  ),
29
  'has_affiliation' => 'selected',
30
  'menu' => array(
31
  'slug' => 'ivory-search',
32
+ 'first-path' => 'plugins.php',
33
  'support' => false,
34
  'affiliation' => false,
35
  ),
languages/add-search-to-menu.pot CHANGED
@@ -2,7 +2,7 @@
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: Ivory Search\n"
5
- "POT-Creation-Date: 2020-06-18 14:47+0530\n"
6
  "PO-Revision-Date: 2020-03-17 21:05+0530\n"
7
  "Last-Translator: \n"
8
  "Language-Team: Ivory Search <admin@ivorysearch.com>\n"
@@ -17,212 +17,212 @@ msgstr ""
17
  "X-Poedit-SourceCharset: UTF-8\n"
18
  "X-Poedit-SearchPath-0: ..\n"
19
 
20
- #: ../admin/class-is-admin.php:73
21
  msgid "The changes you made will be lost if you navigate away from this page."
22
  msgstr ""
23
 
24
- #: ../admin/class-is-admin.php:137 ../admin/class-is-settings-fields.php:292
25
  #: ../admin/partials/search-form.php:23
26
  msgid "Edit Search Form"
27
  msgstr ""
28
 
29
- #: ../admin/class-is-admin.php:138
30
  msgid "Click on the search form title to edit it."
31
  msgstr ""
32
 
33
- #: ../admin/class-is-admin.php:139
34
  msgid "Edit the Default Search Form to manage the default WordPress search."
35
  msgstr ""
36
 
37
- #: ../admin/class-is-admin.php:163 ../admin/class-is-admin.php:460
38
  #: ../admin/class-is-help.php:64 ../admin/class-is-help.php:97
39
  msgid "Settings"
40
  msgstr ""
41
 
42
- #: ../admin/class-is-admin.php:181 ../admin/class-is-help.php:110
43
  msgid "Docs"
44
  msgstr ""
45
 
46
- #: ../admin/class-is-admin.php:182 ../admin/class-is-help.php:111
47
  #: ../admin/partials/search-form.php:200
48
  #: ../admin/partials/settings-form.php:100
49
  msgid "Support"
50
  msgstr ""
51
 
52
- #: ../admin/class-is-admin.php:203
53
  #, php-format
54
  msgid ""
55
  "If you like %1$s please leave us a %2$s rating. A huge thanks in advance!"
56
  msgstr ""
57
 
58
- #: ../admin/class-is-admin.php:204 ../admin/class-is-admin.php:447
59
  #: ../includes/class-is-admin-public.php:100 ../includes/class-is-widget.php:13
60
  msgid "Ivory Search"
61
  msgstr ""
62
 
63
- #: ../admin/class-is-admin.php:227 ../admin/class-is-admin.php:253
64
  msgid "Dismiss"
65
  msgstr ""
66
 
67
- #: ../admin/class-is-admin.php:228
68
  msgid "Thank you for using"
69
  msgstr ""
70
 
71
- #: ../admin/class-is-admin.php:229
72
  msgid "You can configure its"
73
  msgstr ""
74
 
75
- #: ../admin/class-is-admin.php:229
76
  msgid "settings"
77
  msgstr ""
78
 
79
- #: ../admin/class-is-admin.php:230
80
  msgid "and get support on"
81
  msgstr ""
82
 
83
- #: ../admin/class-is-admin.php:230
84
  msgid "support forum"
85
  msgstr ""
86
 
87
- #: ../admin/class-is-admin.php:231
88
  msgid "or"
89
  msgstr ""
90
 
91
- #: ../admin/class-is-admin.php:231
92
  msgid "contact us"
93
  msgstr ""
94
 
95
- #: ../admin/class-is-admin.php:255
96
  #, php-format
97
  msgid ""
98
  "Hey %s, it's Vinod Dalvi from %s. You have used this free plugin for some "
99
  "time now, and I hope you like it!"
100
  msgstr ""
101
 
102
- #: ../admin/class-is-admin.php:258
103
  #, php-format
104
  msgid ""
105
  "I have spent countless hours developing it, and it would mean a lot to me if "
106
  "you %ssupport it with a quick review on WordPress.org.%s"
107
  msgstr ""
108
 
109
- #: ../admin/class-is-admin.php:263
110
  msgid "Review Ivory Search"
111
  msgstr ""
112
 
113
- #: ../admin/class-is-admin.php:264
114
  msgid "No, thanks"
115
  msgstr ""
116
 
117
- #: ../admin/class-is-admin.php:302
118
  msgid "No posts found"
119
  msgstr ""
120
 
121
- #: ../admin/class-is-admin.php:403
122
  msgid "Search form created."
123
  msgstr ""
124
 
125
- #: ../admin/class-is-admin.php:405
126
  msgid "Search form saved."
127
  msgstr ""
128
 
129
- #: ../admin/class-is-admin.php:407
130
  msgid "Search form deleted."
131
  msgstr ""
132
 
133
- #: ../admin/class-is-admin.php:409
134
  msgid "Search form reset."
135
  msgstr ""
136
 
137
- #: ../admin/class-is-admin.php:418
138
  msgid "There was an error saving the search form."
139
  msgstr ""
140
 
141
- #: ../admin/class-is-admin.php:426
142
  msgid "Validation error occurred."
143
  msgstr ""
144
 
145
- #: ../admin/class-is-admin.php:427 ../admin/class-is-admin.php:432
146
  #: ../admin/class-is-editor.php:683 ../admin/class-is-editor.php:1111
147
  #: ../admin/class-is-help.php:35 ../admin/class-is-help.php:85
148
  #: ../admin/partials/search-form.php:109
149
  msgid "Includes"
150
  msgstr ""
151
 
152
- #: ../admin/class-is-admin.php:428 ../admin/class-is-admin.php:434
153
  #: ../admin/class-is-editor.php:101 ../admin/class-is-help.php:40
154
  #: ../admin/class-is-help.php:86 ../admin/partials/search-form.php:114
155
  msgid "Excludes"
156
  msgstr ""
157
 
158
- #: ../admin/class-is-admin.php:437
159
  #, php-format
160
  msgid ""
161
  "Please make sure you have not selected similar %s fields in the search form "
162
  "%s and %s sections."
163
  msgstr ""
164
 
165
- #: ../admin/class-is-admin.php:449 ../admin/class-is-admin.php:492
166
  #: ../includes/class-is-search-form.php:59
167
  msgid "Search Forms"
168
  msgstr ""
169
 
170
- #: ../admin/class-is-admin.php:454 ../admin/class-is-admin.php:456
171
  #: ../admin/partials/search-form.php:21
172
  msgid "Add New Search Form"
173
  msgstr ""
174
 
175
- #: ../admin/class-is-admin.php:454 ../admin/class-is-admin.php:456
176
- #: ../admin/class-is-admin.php:499 ../admin/partials/search-form.php:31
177
  msgid "Add New"
178
  msgstr ""
179
 
180
- #: ../admin/class-is-admin.php:460 ../admin/partials/settings-form.php:20
181
  msgid "Ivory Search Settings"
182
  msgstr ""
183
 
184
- #: ../admin/class-is-admin.php:505
185
  #, php-format
186
  msgid "Search results for &#8220;%s&#8221;"
187
  msgstr ""
188
 
189
- #: ../admin/class-is-admin.php:516
190
  msgid "Find Search Forms"
191
  msgstr ""
192
 
193
- #: ../admin/class-is-admin.php:560
194
  msgid "You are not allowed to edit this item."
195
  msgstr ""
196
 
197
- #: ../admin/class-is-admin.php:654
198
  msgid "You are not allowed to reset this item."
199
  msgstr ""
200
 
201
- #: ../admin/class-is-admin.php:690
202
  msgid "You are not allowed to copy this item."
203
  msgstr ""
204
 
205
- #: ../admin/class-is-admin.php:731
206
  msgid "You are not allowed to delete this item."
207
  msgstr ""
208
 
209
- #: ../admin/class-is-admin.php:735
210
  msgid "Error in deleting."
211
  msgstr ""
212
 
213
- #: ../admin/class-is-admin.php:975
214
  msgid "Save Form"
215
  msgstr ""
216
 
217
- #: ../admin/class-is-admin.php:987
218
  msgid "Upgrade to Pro to Access"
219
  msgstr ""
220
 
221
- #: ../admin/class-is-admin.php:994
222
  msgid "Install Premium Version to Access"
223
  msgstr ""
224
 
225
- #: ../admin/class-is-admin.php:996
226
  msgid "Upgrade to Pro Plus to Access"
227
  msgstr ""
228
 
@@ -905,7 +905,7 @@ msgid "Highlight searched terms on search results page"
905
  msgstr ""
906
 
907
  #: ../admin/class-is-editor.php:1510
908
- msgid "Set highlight color in Hex format"
909
  msgstr ""
910
 
911
  #: ../admin/class-is-editor.php:1516
@@ -1022,8 +1022,8 @@ msgid ""
1022
  msgstr ""
1023
 
1024
  #: ../admin/class-is-help.php:79 ../admin/class-is-list-table.php:158
1025
- #: ../admin/class-is-settings-fields.php:334
1026
- #: ../admin/class-is-settings-fields.php:366
1027
  #: ../includes/class-is-search-form.php:513 ../includes/class-is-widget.php:71
1028
  msgid "Edit"
1029
  msgstr ""
@@ -1227,172 +1227,180 @@ msgstr ""
1227
  msgid "Navigation menu location is not registered on the site."
1228
  msgstr ""
1229
 
1230
- #: ../admin/class-is-settings-fields.php:207
 
 
 
 
1231
  msgid "Select menu search form style."
1232
  msgstr ""
1233
 
1234
- #: ../admin/class-is-settings-fields.php:211
1235
  msgid "Default"
1236
  msgstr ""
1237
 
1238
- #: ../admin/class-is-settings-fields.php:212
1239
  msgid "Dropdown"
1240
  msgstr ""
1241
 
1242
- #: ../admin/class-is-settings-fields.php:213
1243
  msgid "Sliding"
1244
  msgstr ""
1245
 
1246
- #: ../admin/class-is-settings-fields.php:214
1247
  msgid "Full Width"
1248
  msgstr ""
1249
 
1250
- #: ../admin/class-is-settings-fields.php:215
1251
  msgid "Popup"
1252
  msgstr ""
1253
 
1254
- #: ../admin/class-is-settings-fields.php:244
 
 
 
 
1255
  msgid "Display search form close icon"
1256
  msgstr ""
1257
 
1258
- #: ../admin/class-is-settings-fields.php:250
1259
  msgid "Add menu title to display in place of search icon."
1260
  msgstr ""
1261
 
1262
- #: ../admin/class-is-settings-fields.php:260
1263
  msgid "Add class to search form menu item."
1264
  msgstr ""
1265
 
1266
- #: ../admin/class-is-settings-fields.php:264
1267
  msgid "Add multiple classes seperated by space."
1268
  msgstr ""
1269
 
1270
- #: ../admin/class-is-settings-fields.php:270
1271
  msgid "Select search form that will control menu search functionality."
1272
  msgstr ""
1273
 
1274
- #: ../admin/class-is-settings-fields.php:294
1275
- #: ../admin/class-is-settings-fields.php:336
1276
- #: ../admin/class-is-settings-fields.php:368 ../includes/class-is-widget.php:73
1277
  msgid "Create New"
1278
  msgstr ""
1279
 
1280
- #: ../admin/class-is-settings-fields.php:302
1281
  msgid ""
1282
  "Add Google Custom Search( CSE ) search form code that will replace default "
1283
  "search form."
1284
  msgstr ""
1285
 
1286
- #: ../admin/class-is-settings-fields.php:315
1287
  msgid "Select search form to display in site header( Not Menu )."
1288
  msgstr ""
1289
 
1290
- #: ../admin/class-is-settings-fields.php:327
1291
- #: ../admin/class-is-settings-fields.php:359
1292
  msgid "None"
1293
  msgstr ""
1294
 
1295
- #: ../admin/class-is-settings-fields.php:339
1296
  msgid ""
1297
  "Please note that the above option displays search form in site header and "
1298
  "not in navigation menu."
1299
  msgstr ""
1300
 
1301
- #: ../admin/class-is-settings-fields.php:347
1302
  msgid "Select search form to display in site footer."
1303
  msgstr ""
1304
 
1305
- #: ../admin/class-is-settings-fields.php:383
1306
  msgid "Display search form in site header on mobile devices"
1307
  msgstr ""
1308
 
1309
- #: ../admin/class-is-settings-fields.php:386
1310
  msgid ""
1311
  "If this site uses cache then please select the below option to display "
1312
  "search form on mobile."
1313
  msgstr ""
1314
 
1315
- #: ../admin/class-is-settings-fields.php:393
1316
  msgid "This site uses cache"
1317
  msgstr ""
1318
 
1319
- #: ../admin/class-is-settings-fields.php:401
1320
  msgid "Add custom css code."
1321
  msgstr ""
1322
 
1323
- #: ../admin/class-is-settings-fields.php:412
1324
  msgid "Enter stopwords here that will not be searched."
1325
  msgstr ""
1326
 
1327
- #: ../admin/class-is-settings-fields.php:416
1328
  msgid "Please separate multiple words with commas."
1329
  msgstr ""
1330
 
1331
- #: ../admin/class-is-settings-fields.php:424
1332
  msgid "Add synonyms here to make the searches find better results."
1333
  msgstr ""
1334
 
1335
- #: ../admin/class-is-settings-fields.php:425
1336
  msgid ""
1337
  "If you add bird = crow to the list of synonyms, searches for bird "
1338
  "automatically become a search for bird crow and will thus match to posts "
1339
  "that include either bird or crow."
1340
  msgstr ""
1341
 
1342
- #: ../admin/class-is-settings-fields.php:426
1343
  msgid ""
1344
  "This only works for search forms configured to search any of the search "
1345
  "terms(OR) and not all search terms(AND) in the search form Options."
1346
  msgstr ""
1347
 
1348
- #: ../admin/class-is-settings-fields.php:431
1349
  msgid "The format here is key = value"
1350
  msgstr ""
1351
 
1352
- #: ../admin/class-is-settings-fields.php:432
1353
  msgid "Please add every synonyms key = value pairs on new line."
1354
  msgstr ""
1355
 
1356
- #: ../admin/class-is-settings-fields.php:442
1357
  msgid ""
1358
  "Enable below options to disable loading of plugin CSS and JavaScript files."
1359
  msgstr ""
1360
 
1361
- #: ../admin/class-is-settings-fields.php:446
1362
  msgid "Do not load plugin CSS files"
1363
  msgstr ""
1364
 
1365
- #: ../admin/class-is-settings-fields.php:447
1366
  msgid "Do not load plugin JavaScript files"
1367
  msgstr ""
1368
 
1369
- #: ../admin/class-is-settings-fields.php:465
1370
  msgid ""
1371
  "If checked, you have to add following plugin file code into your child theme "
1372
  "CSS file."
1373
  msgstr ""
1374
 
1375
- #: ../admin/class-is-settings-fields.php:469
1376
  msgid ""
1377
  "If checked, you have to add following plugin files code into your child "
1378
  "theme JavaScript file."
1379
  msgstr ""
1380
 
1381
- #: ../admin/class-is-settings-fields.php:485
1382
  msgid "Warning: Use with caution."
1383
  msgstr ""
1384
 
1385
- #: ../admin/class-is-settings-fields.php:490
1386
  msgid ""
1387
  "Do not use Default Search Form to control WordPress default search "
1388
  "functionality"
1389
  msgstr ""
1390
 
1391
- #: ../admin/class-is-settings-fields.php:499
1392
  msgid "Disable search functionality on entire website"
1393
  msgstr ""
1394
 
1395
- #: ../admin/class-is-settings-fields.php:509
1396
  msgid ""
1397
  "Display easy edit links of search form on the website frontend to the admin "
1398
  "users"
@@ -1482,8 +1490,8 @@ msgstr ""
1482
 
1483
  #: ../includes/class-is-admin-public.php:177
1484
  #: ../includes/class-is-search-form.php:451
1485
- #: ../includes/class-is-search-form.php:491 ../public/class-is-public.php:163
1486
- #: ../public/class-is-public.php:206
1487
  msgid "Search"
1488
  msgstr ""
1489
 
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: Ivory Search\n"
5
+ "POT-Creation-Date: 2020-06-22 16:09+0530\n"
6
  "PO-Revision-Date: 2020-03-17 21:05+0530\n"
7
  "Last-Translator: \n"
8
  "Language-Team: Ivory Search <admin@ivorysearch.com>\n"
17
  "X-Poedit-SourceCharset: UTF-8\n"
18
  "X-Poedit-SearchPath-0: ..\n"
19
 
20
+ #: ../admin/class-is-admin.php:76
21
  msgid "The changes you made will be lost if you navigate away from this page."
22
  msgstr ""
23
 
24
+ #: ../admin/class-is-admin.php:140 ../admin/class-is-settings-fields.php:315
25
  #: ../admin/partials/search-form.php:23
26
  msgid "Edit Search Form"
27
  msgstr ""
28
 
29
+ #: ../admin/class-is-admin.php:141
30
  msgid "Click on the search form title to edit it."
31
  msgstr ""
32
 
33
+ #: ../admin/class-is-admin.php:142
34
  msgid "Edit the Default Search Form to manage the default WordPress search."
35
  msgstr ""
36
 
37
+ #: ../admin/class-is-admin.php:166 ../admin/class-is-admin.php:463
38
  #: ../admin/class-is-help.php:64 ../admin/class-is-help.php:97
39
  msgid "Settings"
40
  msgstr ""
41
 
42
+ #: ../admin/class-is-admin.php:184 ../admin/class-is-help.php:110
43
  msgid "Docs"
44
  msgstr ""
45
 
46
+ #: ../admin/class-is-admin.php:185 ../admin/class-is-help.php:111
47
  #: ../admin/partials/search-form.php:200
48
  #: ../admin/partials/settings-form.php:100
49
  msgid "Support"
50
  msgstr ""
51
 
52
+ #: ../admin/class-is-admin.php:206
53
  #, php-format
54
  msgid ""
55
  "If you like %1$s please leave us a %2$s rating. A huge thanks in advance!"
56
  msgstr ""
57
 
58
+ #: ../admin/class-is-admin.php:207 ../admin/class-is-admin.php:450
59
  #: ../includes/class-is-admin-public.php:100 ../includes/class-is-widget.php:13
60
  msgid "Ivory Search"
61
  msgstr ""
62
 
63
+ #: ../admin/class-is-admin.php:230 ../admin/class-is-admin.php:256
64
  msgid "Dismiss"
65
  msgstr ""
66
 
67
+ #: ../admin/class-is-admin.php:231
68
  msgid "Thank you for using"
69
  msgstr ""
70
 
71
+ #: ../admin/class-is-admin.php:232
72
  msgid "You can configure its"
73
  msgstr ""
74
 
75
+ #: ../admin/class-is-admin.php:232
76
  msgid "settings"
77
  msgstr ""
78
 
79
+ #: ../admin/class-is-admin.php:233
80
  msgid "and get support on"
81
  msgstr ""
82
 
83
+ #: ../admin/class-is-admin.php:233
84
  msgid "support forum"
85
  msgstr ""
86
 
87
+ #: ../admin/class-is-admin.php:234
88
  msgid "or"
89
  msgstr ""
90
 
91
+ #: ../admin/class-is-admin.php:234
92
  msgid "contact us"
93
  msgstr ""
94
 
95
+ #: ../admin/class-is-admin.php:258
96
  #, php-format
97
  msgid ""
98
  "Hey %s, it's Vinod Dalvi from %s. You have used this free plugin for some "
99
  "time now, and I hope you like it!"
100
  msgstr ""
101
 
102
+ #: ../admin/class-is-admin.php:261
103
  #, php-format
104
  msgid ""
105
  "I have spent countless hours developing it, and it would mean a lot to me if "
106
  "you %ssupport it with a quick review on WordPress.org.%s"
107
  msgstr ""
108
 
109
+ #: ../admin/class-is-admin.php:266
110
  msgid "Review Ivory Search"
111
  msgstr ""
112
 
113
+ #: ../admin/class-is-admin.php:267
114
  msgid "No, thanks"
115
  msgstr ""
116
 
117
+ #: ../admin/class-is-admin.php:305
118
  msgid "No posts found"
119
  msgstr ""
120
 
121
+ #: ../admin/class-is-admin.php:406
122
  msgid "Search form created."
123
  msgstr ""
124
 
125
+ #: ../admin/class-is-admin.php:408
126
  msgid "Search form saved."
127
  msgstr ""
128
 
129
+ #: ../admin/class-is-admin.php:410
130
  msgid "Search form deleted."
131
  msgstr ""
132
 
133
+ #: ../admin/class-is-admin.php:412
134
  msgid "Search form reset."
135
  msgstr ""
136
 
137
+ #: ../admin/class-is-admin.php:421
138
  msgid "There was an error saving the search form."
139
  msgstr ""
140
 
141
+ #: ../admin/class-is-admin.php:429
142
  msgid "Validation error occurred."
143
  msgstr ""
144
 
145
+ #: ../admin/class-is-admin.php:430 ../admin/class-is-admin.php:435
146
  #: ../admin/class-is-editor.php:683 ../admin/class-is-editor.php:1111
147
  #: ../admin/class-is-help.php:35 ../admin/class-is-help.php:85
148
  #: ../admin/partials/search-form.php:109
149
  msgid "Includes"
150
  msgstr ""
151
 
152
+ #: ../admin/class-is-admin.php:431 ../admin/class-is-admin.php:437
153
  #: ../admin/class-is-editor.php:101 ../admin/class-is-help.php:40
154
  #: ../admin/class-is-help.php:86 ../admin/partials/search-form.php:114
155
  msgid "Excludes"
156
  msgstr ""
157
 
158
+ #: ../admin/class-is-admin.php:440
159
  #, php-format
160
  msgid ""
161
  "Please make sure you have not selected similar %s fields in the search form "
162
  "%s and %s sections."
163
  msgstr ""
164
 
165
+ #: ../admin/class-is-admin.php:452 ../admin/class-is-admin.php:495
166
  #: ../includes/class-is-search-form.php:59
167
  msgid "Search Forms"
168
  msgstr ""
169
 
170
+ #: ../admin/class-is-admin.php:457 ../admin/class-is-admin.php:459
171
  #: ../admin/partials/search-form.php:21
172
  msgid "Add New Search Form"
173
  msgstr ""
174
 
175
+ #: ../admin/class-is-admin.php:457 ../admin/class-is-admin.php:459
176
+ #: ../admin/class-is-admin.php:502 ../admin/partials/search-form.php:31
177
  msgid "Add New"
178
  msgstr ""
179
 
180
+ #: ../admin/class-is-admin.php:463 ../admin/partials/settings-form.php:20
181
  msgid "Ivory Search Settings"
182
  msgstr ""
183
 
184
+ #: ../admin/class-is-admin.php:508
185
  #, php-format
186
  msgid "Search results for &#8220;%s&#8221;"
187
  msgstr ""
188
 
189
+ #: ../admin/class-is-admin.php:519
190
  msgid "Find Search Forms"
191
  msgstr ""
192
 
193
+ #: ../admin/class-is-admin.php:563
194
  msgid "You are not allowed to edit this item."
195
  msgstr ""
196
 
197
+ #: ../admin/class-is-admin.php:657
198
  msgid "You are not allowed to reset this item."
199
  msgstr ""
200
 
201
+ #: ../admin/class-is-admin.php:693
202
  msgid "You are not allowed to copy this item."
203
  msgstr ""
204
 
205
+ #: ../admin/class-is-admin.php:734
206
  msgid "You are not allowed to delete this item."
207
  msgstr ""
208
 
209
+ #: ../admin/class-is-admin.php:738
210
  msgid "Error in deleting."
211
  msgstr ""
212
 
213
+ #: ../admin/class-is-admin.php:978
214
  msgid "Save Form"
215
  msgstr ""
216
 
217
+ #: ../admin/class-is-admin.php:990
218
  msgid "Upgrade to Pro to Access"
219
  msgstr ""
220
 
221
+ #: ../admin/class-is-admin.php:997
222
  msgid "Install Premium Version to Access"
223
  msgstr ""
224
 
225
+ #: ../admin/class-is-admin.php:999
226
  msgid "Upgrade to Pro Plus to Access"
227
  msgstr ""
228
 
905
  msgstr ""
906
 
907
  #: ../admin/class-is-editor.php:1510
908
+ msgid "Select text highlight color"
909
  msgstr ""
910
 
911
  #: ../admin/class-is-editor.php:1516
1022
  msgstr ""
1023
 
1024
  #: ../admin/class-is-help.php:79 ../admin/class-is-list-table.php:158
1025
+ #: ../admin/class-is-settings-fields.php:357
1026
+ #: ../admin/class-is-settings-fields.php:389
1027
  #: ../includes/class-is-search-form.php:513 ../includes/class-is-widget.php:71
1028
  msgid "Edit"
1029
  msgstr ""
1227
  msgid "Navigation menu location is not registered on the site."
1228
  msgstr ""
1229
 
1230
+ #: ../admin/class-is-settings-fields.php:212
1231
+ msgid "Display search form at the start of the navigation menu"
1232
+ msgstr ""
1233
+
1234
+ #: ../admin/class-is-settings-fields.php:218
1235
  msgid "Select menu search form style."
1236
  msgstr ""
1237
 
1238
+ #: ../admin/class-is-settings-fields.php:222
1239
  msgid "Default"
1240
  msgstr ""
1241
 
1242
+ #: ../admin/class-is-settings-fields.php:223
1243
  msgid "Dropdown"
1244
  msgstr ""
1245
 
1246
+ #: ../admin/class-is-settings-fields.php:224
1247
  msgid "Sliding"
1248
  msgstr ""
1249
 
1250
+ #: ../admin/class-is-settings-fields.php:225
1251
  msgid "Full Width"
1252
  msgstr ""
1253
 
1254
+ #: ../admin/class-is-settings-fields.php:226
1255
  msgid "Popup"
1256
  msgstr ""
1257
 
1258
+ #: ../admin/class-is-settings-fields.php:254
1259
+ msgid "Select menu magnifier icon color."
1260
+ msgstr ""
1261
+
1262
+ #: ../admin/class-is-settings-fields.php:265
1263
  msgid "Display search form close icon"
1264
  msgstr ""
1265
 
1266
+ #: ../admin/class-is-settings-fields.php:272
1267
  msgid "Add menu title to display in place of search icon."
1268
  msgstr ""
1269
 
1270
+ #: ../admin/class-is-settings-fields.php:283
1271
  msgid "Add class to search form menu item."
1272
  msgstr ""
1273
 
1274
+ #: ../admin/class-is-settings-fields.php:287
1275
  msgid "Add multiple classes seperated by space."
1276
  msgstr ""
1277
 
1278
+ #: ../admin/class-is-settings-fields.php:293
1279
  msgid "Select search form that will control menu search functionality."
1280
  msgstr ""
1281
 
1282
+ #: ../admin/class-is-settings-fields.php:317
1283
+ #: ../admin/class-is-settings-fields.php:359
1284
+ #: ../admin/class-is-settings-fields.php:391 ../includes/class-is-widget.php:73
1285
  msgid "Create New"
1286
  msgstr ""
1287
 
1288
+ #: ../admin/class-is-settings-fields.php:325
1289
  msgid ""
1290
  "Add Google Custom Search( CSE ) search form code that will replace default "
1291
  "search form."
1292
  msgstr ""
1293
 
1294
+ #: ../admin/class-is-settings-fields.php:338
1295
  msgid "Select search form to display in site header( Not Menu )."
1296
  msgstr ""
1297
 
1298
+ #: ../admin/class-is-settings-fields.php:350
1299
+ #: ../admin/class-is-settings-fields.php:382
1300
  msgid "None"
1301
  msgstr ""
1302
 
1303
+ #: ../admin/class-is-settings-fields.php:362
1304
  msgid ""
1305
  "Please note that the above option displays search form in site header and "
1306
  "not in navigation menu."
1307
  msgstr ""
1308
 
1309
+ #: ../admin/class-is-settings-fields.php:370
1310
  msgid "Select search form to display in site footer."
1311
  msgstr ""
1312
 
1313
+ #: ../admin/class-is-settings-fields.php:406
1314
  msgid "Display search form in site header on mobile devices"
1315
  msgstr ""
1316
 
1317
+ #: ../admin/class-is-settings-fields.php:409
1318
  msgid ""
1319
  "If this site uses cache then please select the below option to display "
1320
  "search form on mobile."
1321
  msgstr ""
1322
 
1323
+ #: ../admin/class-is-settings-fields.php:416
1324
  msgid "This site uses cache"
1325
  msgstr ""
1326
 
1327
+ #: ../admin/class-is-settings-fields.php:424
1328
  msgid "Add custom css code."
1329
  msgstr ""
1330
 
1331
+ #: ../admin/class-is-settings-fields.php:435
1332
  msgid "Enter stopwords here that will not be searched."
1333
  msgstr ""
1334
 
1335
+ #: ../admin/class-is-settings-fields.php:439
1336
  msgid "Please separate multiple words with commas."
1337
  msgstr ""
1338
 
1339
+ #: ../admin/class-is-settings-fields.php:447
1340
  msgid "Add synonyms here to make the searches find better results."
1341
  msgstr ""
1342
 
1343
+ #: ../admin/class-is-settings-fields.php:448
1344
  msgid ""
1345
  "If you add bird = crow to the list of synonyms, searches for bird "
1346
  "automatically become a search for bird crow and will thus match to posts "
1347
  "that include either bird or crow."
1348
  msgstr ""
1349
 
1350
+ #: ../admin/class-is-settings-fields.php:449
1351
  msgid ""
1352
  "This only works for search forms configured to search any of the search "
1353
  "terms(OR) and not all search terms(AND) in the search form Options."
1354
  msgstr ""
1355
 
1356
+ #: ../admin/class-is-settings-fields.php:454
1357
  msgid "The format here is key = value"
1358
  msgstr ""
1359
 
1360
+ #: ../admin/class-is-settings-fields.php:455
1361
  msgid "Please add every synonyms key = value pairs on new line."
1362
  msgstr ""
1363
 
1364
+ #: ../admin/class-is-settings-fields.php:465
1365
  msgid ""
1366
  "Enable below options to disable loading of plugin CSS and JavaScript files."
1367
  msgstr ""
1368
 
1369
+ #: ../admin/class-is-settings-fields.php:469
1370
  msgid "Do not load plugin CSS files"
1371
  msgstr ""
1372
 
1373
+ #: ../admin/class-is-settings-fields.php:470
1374
  msgid "Do not load plugin JavaScript files"
1375
  msgstr ""
1376
 
1377
+ #: ../admin/class-is-settings-fields.php:488
1378
  msgid ""
1379
  "If checked, you have to add following plugin file code into your child theme "
1380
  "CSS file."
1381
  msgstr ""
1382
 
1383
+ #: ../admin/class-is-settings-fields.php:492
1384
  msgid ""
1385
  "If checked, you have to add following plugin files code into your child "
1386
  "theme JavaScript file."
1387
  msgstr ""
1388
 
1389
+ #: ../admin/class-is-settings-fields.php:508
1390
  msgid "Warning: Use with caution."
1391
  msgstr ""
1392
 
1393
+ #: ../admin/class-is-settings-fields.php:513
1394
  msgid ""
1395
  "Do not use Default Search Form to control WordPress default search "
1396
  "functionality"
1397
  msgstr ""
1398
 
1399
+ #: ../admin/class-is-settings-fields.php:522
1400
  msgid "Disable search functionality on entire website"
1401
  msgstr ""
1402
 
1403
+ #: ../admin/class-is-settings-fields.php:532
1404
  msgid ""
1405
  "Display easy edit links of search form on the website frontend to the admin "
1406
  "users"
1490
 
1491
  #: ../includes/class-is-admin-public.php:177
1492
  #: ../includes/class-is-search-form.php:451
1493
+ #: ../includes/class-is-search-form.php:491 ../public/class-is-public.php:164
1494
+ #: ../public/class-is-public.php:212
1495
  msgid "Search"
1496
  msgstr ""
1497
 
public/class-is-public.php CHANGED
@@ -166,41 +166,51 @@ class IS_Public
166
  */
167
  function wp_nav_menu_items( $items, $args )
168
  {
 
169
  if ( isset( $this->opt['menus'] ) && isset( $this->opt['menus'][$args->theme_location] ) ) {
 
170
 
171
  if ( isset( $this->opt['menu_gcse'] ) && '' != $this->opt['menu_gcse'] ) {
172
- $items .= '<li class="gsc-cse-search-menu">' . $this->opt['menu_gcse'] . '</li>';
173
  } else {
174
  $search_class = ( isset( $this->opt['menu_classes'] ) ? $this->opt['menu_classes'] . ' astm-search-menu is-menu ' : ' astm-search-menu is-menu ' );
175
- $search_class .= ( isset( $this->opt['menu_style'] ) ? $this->opt['menu_style'] : 'default' );
176
  $title = ( isset( $this->opt['menu_title'] ) ? $this->opt['menu_title'] : '' );
177
- $items .= '<li class="' . esc_attr( $search_class ) . '">';
178
 
179
- if ( isset( $this->opt['menu_style'] ) && $this->opt['menu_style'] != 'default' ) {
180
- $items .= '<a title="' . esc_attr( $title ) . '" href="#">';
181
 
182
  if ( '' == $title ) {
183
- $items .= '<svg width="20" height="20" class="search-icon" role="img" viewBox="2 9 20 5" focusable="false" aria-label="' . __( "Search", "ivory-search" ) . '">
184
  <path class="search-icon-path" d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"></path></svg>';
185
  } else {
186
- $items .= $title;
187
  }
188
 
189
- $items .= '</a>';
190
  }
191
 
192
 
193
  if ( !isset( $this->opt['menu_style'] ) || $this->opt['menu_style'] !== 'popup' ) {
194
- $items .= $this->get_menu_search_form( false );
195
  if ( isset( $this->opt['menu_close_icon'] ) && $this->opt['menu_close_icon'] ) {
196
- $items .= '<div class="search-close"></div>';
197
  }
198
  }
199
 
200
- $items .= '</li>';
 
 
 
 
 
 
 
201
  }
202
 
203
  }
 
204
  return $items;
205
  }
206
 
@@ -215,12 +225,12 @@ class IS_Public
215
  $items .= '<div class="astm-search-menu-wrapper is-menu-wrapper"><div class="gsc-cse-search-menu">' . $this->opt['menu_gcse'] . '</div></div>';
216
  } else {
217
  $search_class = ( isset( $this->opt['menu_classes'] ) ? $this->opt['menu_classes'] . ' astm-search-menu is-menu ' : ' astm-search-menu is-menu ' );
218
- $search_class .= ( isset( $this->opt['menu_style'] ) ? $this->opt['menu_style'] : 'default' );
219
  $title = ( isset( $this->opt['menu_title'] ) ? $this->opt['menu_title'] : '' );
220
  $items .= '<div class="astm-search-menu-wrapper is-menu-wrapper"><div>';
221
  $items .= '<span class="' . esc_attr( $search_class ) . '">';
222
 
223
- if ( isset( $this->opt['menu_style'] ) && $this->opt['menu_style'] != 'default' ) {
224
  $items .= '<a title="' . esc_attr( $title ) . '" href="#">';
225
 
226
  if ( '' == $title ) {
@@ -589,8 +599,8 @@ class IS_Public
589
 
590
  if ( isset( $q['_is_settings']['fuzzy_match'] ) && '2' !== $q['_is_settings']['fuzzy_match'] ) {
591
  $like = 'REGEXP';
592
- $f = "(^|[[\\s|.|~|`|!|@|#|\$|%|^|&|*|(|)|_|\\-|+|=|{|}|[|\\]|\\||:|;|<|>|\\?|\\/|\\|\\]])";
593
- $l = "([[\\s|.|~|`|!|@|#|\$|%|^|&|*|(|)|_|\\-|+|=|{|}|[|\\]|\\||:|;|<|>|\\?|\\/|\\|\\]]|\$)";
594
  }
595
 
596
  $searchand = '';
@@ -802,6 +812,13 @@ class IS_Public
802
  function wp_footer()
803
  {
804
 
 
 
 
 
 
 
 
805
  if ( isset( $this->opt['custom_css'] ) && $this->opt['custom_css'] != '' ) {
806
  echo '<style type="text/css" media="screen">' ;
807
  echo '/* Ivory search custom CSS code */' ;
@@ -822,7 +839,11 @@ class IS_Public
822
  }
823
 
824
  if ( isset( $this->opt['menu_style'] ) && 'popup' === $this->opt['menu_style'] ) {
825
- echo '<div id="is-popup-wrapper" style="display:none"><div class="popup-search-close"></div><div class="is-popup-search-form">' ;
 
 
 
 
826
  $this->get_menu_search_form();
827
  echo '</div></div>' ;
828
  }
166
  */
167
  function wp_nav_menu_items( $items, $args )
168
  {
169
+
170
  if ( isset( $this->opt['menus'] ) && isset( $this->opt['menus'][$args->theme_location] ) ) {
171
+ $temp = '';
172
 
173
  if ( isset( $this->opt['menu_gcse'] ) && '' != $this->opt['menu_gcse'] ) {
174
+ $temp .= '<li class="gsc-cse-search-menu">' . $this->opt['menu_gcse'] . '</li>';
175
  } else {
176
  $search_class = ( isset( $this->opt['menu_classes'] ) ? $this->opt['menu_classes'] . ' astm-search-menu is-menu ' : ' astm-search-menu is-menu ' );
177
+ $search_class .= ( isset( $this->opt['menu_style'] ) && 'dropdown' != $this->opt['menu_style'] ? $this->opt['menu_style'] : 'is-dropdown' );
178
  $title = ( isset( $this->opt['menu_title'] ) ? $this->opt['menu_title'] : '' );
179
+ $temp .= '<li class="' . esc_attr( $search_class ) . ' menu-item">';
180
 
181
+ if ( !isset( $this->opt['menu_style'] ) || $this->opt['menu_style'] != 'default' ) {
182
+ $temp .= '<a title="' . esc_attr( $title ) . '" href="#">';
183
 
184
  if ( '' == $title ) {
185
+ $temp .= '<svg width="20" height="20" class="search-icon" role="img" viewBox="2 9 20 5" focusable="false" aria-label="' . __( "Search", "ivory-search" ) . '">
186
  <path class="search-icon-path" d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"></path></svg>';
187
  } else {
188
+ $temp .= $title;
189
  }
190
 
191
+ $temp .= '</a>';
192
  }
193
 
194
 
195
  if ( !isset( $this->opt['menu_style'] ) || $this->opt['menu_style'] !== 'popup' ) {
196
+ $temp .= $this->get_menu_search_form( false );
197
  if ( isset( $this->opt['menu_close_icon'] ) && $this->opt['menu_close_icon'] ) {
198
+ $temp .= '<div class="search-close"></div>';
199
  }
200
  }
201
 
202
+ $temp .= '</li>';
203
+ }
204
+
205
+
206
+ if ( isset( $this->opt['first_menu_item'] ) && $this->opt['first_menu_item'] ) {
207
+ $items = $temp . $items;
208
+ } else {
209
+ $items .= $temp;
210
  }
211
 
212
  }
213
+
214
  return $items;
215
  }
216
 
225
  $items .= '<div class="astm-search-menu-wrapper is-menu-wrapper"><div class="gsc-cse-search-menu">' . $this->opt['menu_gcse'] . '</div></div>';
226
  } else {
227
  $search_class = ( isset( $this->opt['menu_classes'] ) ? $this->opt['menu_classes'] . ' astm-search-menu is-menu ' : ' astm-search-menu is-menu ' );
228
+ $search_class .= ( isset( $this->opt['menu_style'] ) && 'dropdown' != $this->opt['menu_style'] ? $this->opt['menu_style'] : 'is-dropdown' );
229
  $title = ( isset( $this->opt['menu_title'] ) ? $this->opt['menu_title'] : '' );
230
  $items .= '<div class="astm-search-menu-wrapper is-menu-wrapper"><div>';
231
  $items .= '<span class="' . esc_attr( $search_class ) . '">';
232
 
233
+ if ( !isset( $this->opt['menu_style'] ) || $this->opt['menu_style'] != 'default' ) {
234
  $items .= '<a title="' . esc_attr( $title ) . '" href="#">';
235
 
236
  if ( '' == $title ) {
599
 
600
  if ( isset( $q['_is_settings']['fuzzy_match'] ) && '2' !== $q['_is_settings']['fuzzy_match'] ) {
601
  $like = 'REGEXP';
602
+ $f = "(^|[[\\s|.|~||!|@|#|\$|%|^|&|*|(|)|_|\\-|+|=|{|}|[|]|\\||:|;|<|>|\\?|\\/|\\|]])";
603
+ $l = "([[\\s|.|~||!|@|#|\$|%|^|&|*|(|)|_|\\-|+|=|{|}|[|]|\\||:|;|<|>|\\?|\\/|\\|]]|\$)";
604
  }
605
 
606
  $searchand = '';
812
  function wp_footer()
813
  {
814
 
815
+ if ( isset( $this->opt['menu_style'] ) && 'default' !== $this->opt['menu_style'] && isset( $this->opt['menu_magnifier_color'] ) ) {
816
+ echo '<style type="text/css" media="screen">' ;
817
+ echo '.is-menu .search-icon-path { fill: ' . $this->opt['menu_magnifier_color'] . ';}' ;
818
+ echo '</style>' ;
819
+ }
820
+
821
+
822
  if ( isset( $this->opt['custom_css'] ) && $this->opt['custom_css'] != '' ) {
823
  echo '<style type="text/css" media="screen">' ;
824
  echo '/* Ivory search custom CSS code */' ;
839
  }
840
 
841
  if ( isset( $this->opt['menu_style'] ) && 'popup' === $this->opt['menu_style'] ) {
842
+ echo '<div id="is-popup-wrapper" style="display:none">' ;
843
+ if ( isset( $this->opt['menu_close_icon'] ) && $this->opt['menu_close_icon'] ) {
844
+ echo '<div class="popup-search-close"></div>' ;
845
+ }
846
+ echo '<div class="is-popup-search-form">' ;
847
  $this->get_menu_search_form();
848
  echo '</div></div>' ;
849
  }
public/css/ivory-search.css CHANGED
@@ -23,7 +23,7 @@
23
  position: static;
24
  }
25
 
26
- .is-menu.dropdown form {
27
  display: none;
28
  min-width: 310px;
29
  max-width: 100%;
@@ -105,6 +105,10 @@
105
  padding: 0;
106
  }
107
 
 
 
 
 
108
  .search-close {
109
  cursor: pointer;
110
  display: none;
@@ -132,7 +136,8 @@
132
  position: fixed;
133
  top: 0;
134
  left: 0;
135
- background: #fff;
 
136
  z-index: 999999;
137
  }
138
 
@@ -147,7 +152,7 @@
147
 
148
  .popup-search-close:after,
149
  .search-close:after {
150
- border-left: 2px solid #000;
151
  content: '';
152
  height: 20px;
153
  left: 9px;
@@ -161,7 +166,7 @@
161
 
162
  .popup-search-close:before,
163
  .search-close:before {
164
- border-left: 2px solid #000;
165
  content: '';
166
  height: 20px;
167
  left: 9px;
@@ -173,7 +178,7 @@
173
  transform: rotate(-45deg);
174
  }
175
 
176
- .is-menu.dropdown form[style="display: block;"] + .search-close,
177
  .is-menu.full-width-menu.open .search-close,
178
  .is-menu.sliding.open .search-close {
179
  display: block;
23
  position: static;
24
  }
25
 
26
+ .is-menu.is-dropdown form {
27
  display: none;
28
  min-width: 310px;
29
  max-width: 100%;
105
  padding: 0;
106
  }
107
 
108
+ .is-menu .search-icon-path {
109
+ fill: #848484;
110
+ }
111
+
112
  .search-close {
113
  cursor: pointer;
114
  display: none;
136
  position: fixed;
137
  top: 0;
138
  left: 0;
139
+ background: rgb(76, 76, 76);
140
+ background: rgba(4, 4, 4, 0.91);
141
  z-index: 999999;
142
  }
143
 
152
 
153
  .popup-search-close:after,
154
  .search-close:after {
155
+ border-left: 2px solid #FFF;
156
  content: '';
157
  height: 20px;
158
  left: 9px;
166
 
167
  .popup-search-close:before,
168
  .search-close:before {
169
+ border-left: 2px solid #FFF;
170
  content: '';
171
  height: 20px;
172
  left: 9px;
178
  transform: rotate(-45deg);
179
  }
180
 
181
+ .is-menu.is-dropdown form[style="display: block;"] + .search-close,
182
  .is-menu.full-width-menu.open .search-close,
183
  .is-menu.sliding.open .search-close {
184
  display: block;
public/js/ivory-search.js CHANGED
@@ -19,7 +19,7 @@
19
  }
20
  }
21
 
22
- if ( $( this ).parent().hasClass( 'dropdown' ) ) {
23
  $( this ).parent().find( 'form' ).fadeToggle();
24
  } else if ( $( this ).parent().hasClass( 'sliding' ) ) {
25
  $( this ).parent().find( 'form' ).animate( { width: '310' } );
@@ -38,14 +38,16 @@
38
  $( '.is-menu form input[type="search"], .is-menu form input[type="text"]' ).focus();
39
  } );
40
 
41
- $( '.popup-search-close' ).on( 'click', function( e ) {
42
- $( '#is-popup-wrapper' ).hide();
 
 
43
  } );
44
  } );
45
 
46
  $( document ).keyup( function( e ) {
47
  if ( e.keyCode === 27 ) {
48
- $( '#is-popup-wrapper' ).hide();
49
  }
50
  } );
51
 
@@ -72,7 +74,7 @@
72
  $( '.is-menu-wrapper' ).removeClass( 'is-expanded' );
73
  }
74
  );
75
- } else if ( $( '.is-menu' ).hasClass( 'dropdown' ) ) {
76
  $( '.is-menu form' ).fadeOut();
77
  }
78
  }
19
  }
20
  }
21
 
22
+ if ( $( this ).parent().hasClass( 'is-dropdown' ) ) {
23
  $( this ).parent().find( 'form' ).fadeToggle();
24
  } else if ( $( this ).parent().hasClass( 'sliding' ) ) {
25
  $( this ).parent().find( 'form' ).animate( { width: '310' } );
38
  $( '.is-menu form input[type="search"], .is-menu form input[type="text"]' ).focus();
39
  } );
40
 
41
+ $( '#is-popup-wrapper' ).on( 'click', function( e ) {
42
+ if ( ! $(e.target).closest('form').length ) {
43
+ $( '#is-popup-wrapper, .is-ajax-search-result, .is-ajax-search-details' ).hide();
44
+ }
45
  } );
46
  } );
47
 
48
  $( document ).keyup( function( e ) {
49
  if ( e.keyCode === 27 ) {
50
+ $( '#is-popup-wrapper, .is-ajax-search-result, .is-ajax-search-details' ).hide();
51
  }
52
  } );
53
 
74
  $( '.is-menu-wrapper' ).removeClass( 'is-expanded' );
75
  }
76
  );
77
+ } else if ( $( '.is-menu' ).hasClass( 'is-dropdown' ) ) {
78
  $( '.is-menu form' ).fadeOut();
79
  }
80
  }
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: search, woocommerce search, image search, ajax search, search shortcode, l
5
  Requires at least: 3.9
6
  Tested up to: 5.4
7
  Requires PHP: 5.2.4
8
- Stable tag: 4.4.11
9
  License: GPLv2 or later
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -36,7 +36,7 @@ Feel free to ask it using [Contact Form](https://ivorysearch.com/contact/).
36
 
37
  <ul>
38
  <li> Search WooCommerce products.</li>
39
- <li> Search images, media, files and attachments.</li>
40
  <li> Customize search form using customizer.</li>
41
  <li> Search using AJAX search.</li>
42
  <li> Create unlimited number of search forms.</li>
@@ -192,6 +192,12 @@ Yes we do. We try our best to help free users with customisation requests and we
192
 
193
  == Changelog ==
194
 
 
 
 
 
 
 
195
  = 4.4.11 =
196
  * Added - is_exclude_child filter to exclude child posts of excluded posts from search.
197
  * Fixed - Whole fuzzy matching was not working when text contains special character.
5
  Requires at least: 3.9
6
  Tested up to: 5.4
7
  Requires PHP: 5.2.4
8
+ Stable tag: 4.4.12
9
  License: GPLv2 or later
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
36
 
37
  <ul>
38
  <li> Search WooCommerce products.</li>
39
+ <li> Search images, files and attachments.</li>
40
  <li> Customize search form using customizer.</li>
41
  <li> Search using AJAX search.</li>
42
  <li> Create unlimited number of search forms.</li>
192
 
193
  == Changelog ==
194
 
195
+ = 4.4.12 =
196
+ * Added - Colorpicker option to change menu magnifier icon color.
197
+ * Added - Option to display search form at the start of the navigation menu.
198
+ * Improved - Set default menu search form style to Dropdown.
199
+ * Fixed - Whole fuzzy matching was not working with MySQL version 8.
200
+
201
  = 4.4.11 =
202
  * Added - is_exclude_child filter to exclude child posts of excluded posts from search.
203
  * Fixed - Whole fuzzy matching was not working when text contains special character.