Version Description
- Fixed - Menu search popup was not working in the plugin free version.
- Fixed - Search results text highlight issue.
- Fixed - Default search results was not ordered to date DESC.
- Fixed - Some free plugin options were displaying premium.
- Fixed - Post status was not getting set in the free version.
- Removed - Legacy add-search-to-menu fallback code.
Download this release
Release Info
Developer | vinod dalvi |
Plugin | Ivory Search – WordPress Search Plugin |
Version | 4.4.1 |
Comparing to | |
See all releases |
Code changes from version 4.4 to 4.4.1
- add-search-to-menu.php +4 -6
- admin/class-is-admin.php +8 -0
- admin/class-is-editor.php +31 -6
- admin/class-is-settings-fields.php +16 -60
- includes/class-is-search-form.php +1 -1
- includes/class-is.php +2 -4
- languages/default.po +232 -232
- public/class-is-public.php +44 -100
- public/css/ivory-search.css +26 -1
- public/js/ivory-search.js +10 -8
- readme.txt +10 -2
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
|
7 |
* Author: Ivory Search
|
8 |
* Author URI: https://ivorysearch.com/
|
9 |
* License: GPL2+
|
@@ -12,7 +12,7 @@
|
|
12 |
* Text Domain: ivory-search
|
13 |
*
|
14 |
*
|
15 |
-
* WC tested up to: 3.
|
16 |
*
|
17 |
* Ivory Search is free software: you can redistribute it and/or modify
|
18 |
* it under the terms of the GNU General Public License as published by
|
@@ -92,9 +92,7 @@ final class Ivory_Search {
|
|
92 |
*
|
93 |
*/
|
94 |
public static function load_options() {
|
95 |
-
$
|
96 |
-
$new_opt = (array)get_option( 'ivory_search', array() );
|
97 |
-
$temp = array_merge( $old_opt, $new_opt );
|
98 |
$is_menu_search = get_option( 'is_menu_search', array() );
|
99 |
$temp2 = array_merge( $temp, (array)$is_menu_search );
|
100 |
$is_settings = get_option( 'is_settings', array() );
|
@@ -108,7 +106,7 @@ final class Ivory_Search {
|
|
108 |
*/
|
109 |
private function define_constants() {
|
110 |
|
111 |
-
define( 'IS_VERSION', '4.4' );
|
112 |
define( 'IS_PLUGIN_FILE', __FILE__ );
|
113 |
define( 'IS_PLUGIN_BASE', plugin_basename( IS_PLUGIN_FILE ) );
|
114 |
define( 'IS_PLUGIN_DIR', plugin_dir_path( IS_PLUGIN_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.1
|
7 |
* Author: Ivory Search
|
8 |
* Author URI: https://ivorysearch.com/
|
9 |
* License: GPL2+
|
12 |
* Text Domain: ivory-search
|
13 |
*
|
14 |
*
|
15 |
+
* WC tested up to: 3.8
|
16 |
*
|
17 |
* Ivory Search is free software: you can redistribute it and/or modify
|
18 |
* it under the terms of the GNU General Public License as published by
|
92 |
*
|
93 |
*/
|
94 |
public static function load_options() {
|
95 |
+
$temp = (array)get_option( 'ivory_search', array() );
|
|
|
|
|
96 |
$is_menu_search = get_option( 'is_menu_search', array() );
|
97 |
$temp2 = array_merge( $temp, (array)$is_menu_search );
|
98 |
$is_settings = get_option( 'is_settings', array() );
|
106 |
*/
|
107 |
private function define_constants() {
|
108 |
|
109 |
+
define( 'IS_VERSION', '4.4.1' );
|
110 |
define( 'IS_PLUGIN_FILE', __FILE__ );
|
111 |
define( 'IS_PLUGIN_BASE', plugin_basename( IS_PLUGIN_FILE ) );
|
112 |
define( 'IS_PLUGIN_DIR', plugin_dir_path( IS_PLUGIN_FILE ) );
|
admin/class-is-admin.php
CHANGED
@@ -904,9 +904,17 @@ class IS_Admin
|
|
904 |
if ( null === $args['tab'] || 'excludes' === $args['tab'] ) {
|
905 |
$properties['_is_excludes'] = $this->sanitize_excludes( $args['_is_excludes'] );
|
906 |
}
|
|
|
907 |
if ( null === $args['tab'] || 'options' === $args['tab'] ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
908 |
$properties['_is_settings'] = $this->sanitize_settings( $args['_is_settings'] );
|
909 |
}
|
|
|
910 |
if ( null === $args['tab'] || 'ajax' === $args['tab'] ) {
|
911 |
$properties['_is_ajax'] = $this->sanitize_settings( $args['_is_ajax'] );
|
912 |
}
|
904 |
if ( null === $args['tab'] || 'excludes' === $args['tab'] ) {
|
905 |
$properties['_is_excludes'] = $this->sanitize_excludes( $args['_is_excludes'] );
|
906 |
}
|
907 |
+
|
908 |
if ( null === $args['tab'] || 'options' === $args['tab'] ) {
|
909 |
+
if ( '' == $args['_is_settings'] ) {
|
910 |
+
$args['_is_settings'] = array(
|
911 |
+
'orderby' => 'date',
|
912 |
+
'order' => 'DESC',
|
913 |
+
);
|
914 |
+
}
|
915 |
$properties['_is_settings'] = $this->sanitize_settings( $args['_is_settings'] );
|
916 |
}
|
917 |
+
|
918 |
if ( null === $args['tab'] || 'ajax' === $args['tab'] ) {
|
919 |
$properties['_is_ajax'] = $this->sanitize_settings( $args['_is_ajax'] );
|
920 |
}
|
admin/class-is-editor.php
CHANGED
@@ -364,12 +364,20 @@ class IS_Search_Editor
|
|
364 |
if ( 'product' == $post_type ) {
|
365 |
$woo_sku_disable = ( is_fs()->is_plan_or_trial( 'pro_plus' ) && $this->is_premium_plugin ? '' : ' disabled ' );
|
366 |
$checked = ( isset( $includes['woo']['sku'] ) && $includes['woo']['sku'] ? 1 : 0 );
|
367 |
-
echo '<br
|
|
|
|
|
|
|
|
|
368 |
echo '<span class="toggle-check-text"></span>' . esc_html__( "Search product SKU", 'ivory-search' ) . '</label></p>' ;
|
369 |
$checked = ( isset( $includes['woo']['variation'] ) && $includes['woo']['variation'] ? 1 : 0 );
|
370 |
echo '<p class="check-radio"><label for="' . $id . '-variation" ><input class="_is_includes-woocommerce" type="checkbox" ' . $woo_sku_disable . ' id="' . $id . '-variation" name="' . $id . '[woo][variation]" value="1" ' . checked( 1, $checked, false ) . '/>' ;
|
371 |
echo '<span class="toggle-check-text"></span>' . esc_html__( "Search product variation", 'ivory-search' ) . '</label>' ;
|
372 |
-
echo IS_Admin::pro_link( 'pro_plus' )
|
|
|
|
|
|
|
|
|
373 |
}
|
374 |
|
375 |
|
@@ -384,6 +392,9 @@ class IS_Search_Editor
|
|
384 |
|
385 |
if ( !empty($file_types) ) {
|
386 |
$file_type_disable = ( is_fs()->is_plan_or_trial( 'pro_plus' ) && $this->is_premium_plugin ? '' : ' disabled ' );
|
|
|
|
|
|
|
387 |
ksort( $file_types );
|
388 |
$html = '<br /><div class="is-mime">';
|
389 |
$html .= '<input class="list-search wide" placeholder="' . __( "Search..", 'ivory-search' ) . '" type="text">';
|
@@ -424,6 +435,9 @@ class IS_Search_Editor
|
|
424 |
echo '<p class="check-radio"><label for="' . $id . '-search_docs"><input class="search-attachments" type="checkbox" id="' . $id . '-search_docs" name="search_docs" value="1" checked="checked"/>' ;
|
425 |
echo '<span class="toggle-check-text"></span>' . esc_html__( "Search Document Files", 'ivory-search' ) . '</label></p>' ;
|
426 |
echo '</span>' ;
|
|
|
|
|
|
|
427 |
}
|
428 |
|
429 |
} else {
|
@@ -602,11 +616,9 @@ class IS_Search_Editor
|
|
602 |
echo '<div class="is-cb-dropdown">' ;
|
603 |
echo '<div class="is-cb-title">' ;
|
604 |
if ( $default_search || !isset( $includes['post_status'] ) || empty($includes['post_status']) ) {
|
605 |
-
$includes = array(
|
606 |
-
'post_status' => array(
|
607 |
'publish' => 'publish',
|
608 |
'inherit' => 'inherit',
|
609 |
-
),
|
610 |
);
|
611 |
}
|
612 |
echo '<span style="display:none;" class="is-cb-select">' . __( 'Select Post Status', 'ivory-search' ) . '</span><span class="is-cb-titles">' ;
|
@@ -1954,11 +1966,18 @@ class IS_Search_Editor
|
|
1954 |
|
1955 |
|
1956 |
if ( 'product' == $post_type ) {
|
|
|
1957 |
$outofstock_disable = ( is_fs()->is_plan_or_trial( 'pro_plus' ) && $this->is_premium_plugin ? '' : ' disabled ' );
|
|
|
|
|
|
|
1958 |
$checked = ( isset( $excludes['woo']['outofstock'] ) && $excludes['woo']['outofstock'] ? 1 : 0 );
|
1959 |
-
echo '<
|
1960 |
echo '<span class="toggle-check-text"></span>' . esc_html__( "Exclude 'Out of Stock' products from search", 'ivory-search' ) . '</label></p>' ;
|
1961 |
echo IS_Admin::pro_link( 'pro_plus' ) ;
|
|
|
|
|
|
|
1962 |
}
|
1963 |
|
1964 |
|
@@ -1973,6 +1992,9 @@ class IS_Search_Editor
|
|
1973 |
|
1974 |
if ( !empty($file_types) ) {
|
1975 |
$file_type_disable = ( is_fs()->is_plan_or_trial( 'pro_plus' ) && $this->is_premium_plugin ? '' : ' disabled ' );
|
|
|
|
|
|
|
1976 |
ksort( $file_types );
|
1977 |
$html = '<br /><div class="is-mime">';
|
1978 |
$html .= '<input class="list-search wide" placeholder="' . __( "Search..", 'ivory-search' ) . '" type="text">';
|
@@ -2013,6 +2035,9 @@ class IS_Search_Editor
|
|
2013 |
echo '<p class="check-radio"><label for="' . $id . '-search_docs"><input class="search-attachments exclude" type="checkbox" id="' . $id . '-search_docs" name="search_docs" value="1" />' ;
|
2014 |
echo '<span class="toggle-check-text"></span>' . esc_html__( "Exclude Document Files", 'ivory-search' ) . '</label></p>' ;
|
2015 |
echo '</span>' ;
|
|
|
|
|
|
|
2016 |
}
|
2017 |
|
2018 |
} else {
|
364 |
if ( 'product' == $post_type ) {
|
365 |
$woo_sku_disable = ( is_fs()->is_plan_or_trial( 'pro_plus' ) && $this->is_premium_plugin ? '' : ' disabled ' );
|
366 |
$checked = ( isset( $includes['woo']['sku'] ) && $includes['woo']['sku'] ? 1 : 0 );
|
367 |
+
echo '<br />' ;
|
368 |
+
if ( '' !== $woo_sku_disable ) {
|
369 |
+
echo '<div class="upgrade-parent">' ;
|
370 |
+
}
|
371 |
+
echo '<p class="check-radio"><label for="' . $id . '-sku" ><input class="_is_includes-woocommerce" type="checkbox" ' . $woo_sku_disable . ' id="' . $id . '-sku" name="' . $id . '[woo][sku]" value="1" ' . checked( 1, $checked, false ) . '/>' ;
|
372 |
echo '<span class="toggle-check-text"></span>' . esc_html__( "Search product SKU", 'ivory-search' ) . '</label></p>' ;
|
373 |
$checked = ( isset( $includes['woo']['variation'] ) && $includes['woo']['variation'] ? 1 : 0 );
|
374 |
echo '<p class="check-radio"><label for="' . $id . '-variation" ><input class="_is_includes-woocommerce" type="checkbox" ' . $woo_sku_disable . ' id="' . $id . '-variation" name="' . $id . '[woo][variation]" value="1" ' . checked( 1, $checked, false ) . '/>' ;
|
375 |
echo '<span class="toggle-check-text"></span>' . esc_html__( "Search product variation", 'ivory-search' ) . '</label>' ;
|
376 |
+
echo IS_Admin::pro_link( 'pro_plus' ) ;
|
377 |
+
if ( '' !== $woo_sku_disable ) {
|
378 |
+
echo '</div>' ;
|
379 |
+
}
|
380 |
+
echo '</p>' ;
|
381 |
}
|
382 |
|
383 |
|
392 |
|
393 |
if ( !empty($file_types) ) {
|
394 |
$file_type_disable = ( is_fs()->is_plan_or_trial( 'pro_plus' ) && $this->is_premium_plugin ? '' : ' disabled ' );
|
395 |
+
if ( '' !== $file_type_disable ) {
|
396 |
+
echo '<div class="upgrade-parent">' ;
|
397 |
+
}
|
398 |
ksort( $file_types );
|
399 |
$html = '<br /><div class="is-mime">';
|
400 |
$html .= '<input class="list-search wide" placeholder="' . __( "Search..", 'ivory-search' ) . '" type="text">';
|
435 |
echo '<p class="check-radio"><label for="' . $id . '-search_docs"><input class="search-attachments" type="checkbox" id="' . $id . '-search_docs" name="search_docs" value="1" checked="checked"/>' ;
|
436 |
echo '<span class="toggle-check-text"></span>' . esc_html__( "Search Document Files", 'ivory-search' ) . '</label></p>' ;
|
437 |
echo '</span>' ;
|
438 |
+
if ( '' !== $file_type_disable ) {
|
439 |
+
echo '</div>' ;
|
440 |
+
}
|
441 |
}
|
442 |
|
443 |
} else {
|
616 |
echo '<div class="is-cb-dropdown">' ;
|
617 |
echo '<div class="is-cb-title">' ;
|
618 |
if ( $default_search || !isset( $includes['post_status'] ) || empty($includes['post_status']) ) {
|
619 |
+
$includes['post_status'] = array(
|
|
|
620 |
'publish' => 'publish',
|
621 |
'inherit' => 'inherit',
|
|
|
622 |
);
|
623 |
}
|
624 |
echo '<span style="display:none;" class="is-cb-select">' . __( 'Select Post Status', 'ivory-search' ) . '</span><span class="is-cb-titles">' ;
|
1966 |
|
1967 |
|
1968 |
if ( 'product' == $post_type ) {
|
1969 |
+
echo '<br />' ;
|
1970 |
$outofstock_disable = ( is_fs()->is_plan_or_trial( 'pro_plus' ) && $this->is_premium_plugin ? '' : ' disabled ' );
|
1971 |
+
if ( '' !== $outofstock_disable ) {
|
1972 |
+
echo '<br /><div class="upgrade-parent">' ;
|
1973 |
+
}
|
1974 |
$checked = ( isset( $excludes['woo']['outofstock'] ) && $excludes['woo']['outofstock'] ? 1 : 0 );
|
1975 |
+
echo '<p class="check-radio"><label for="' . $id . '-outofstock" ><input class="_is_excludes-woocommerce" type="checkbox" ' . $outofstock_disable . ' id="' . $id . '-outofstock" name="' . $id . '[woo][outofstock]" value="1" ' . checked( 1, $checked, false ) . '/>' ;
|
1976 |
echo '<span class="toggle-check-text"></span>' . esc_html__( "Exclude 'Out of Stock' products from search", 'ivory-search' ) . '</label></p>' ;
|
1977 |
echo IS_Admin::pro_link( 'pro_plus' ) ;
|
1978 |
+
if ( '' !== $outofstock_disable ) {
|
1979 |
+
echo '</div>' ;
|
1980 |
+
}
|
1981 |
}
|
1982 |
|
1983 |
|
1992 |
|
1993 |
if ( !empty($file_types) ) {
|
1994 |
$file_type_disable = ( is_fs()->is_plan_or_trial( 'pro_plus' ) && $this->is_premium_plugin ? '' : ' disabled ' );
|
1995 |
+
if ( '' !== $file_type_disable ) {
|
1996 |
+
echo '<div class="upgrade-parent">' ;
|
1997 |
+
}
|
1998 |
ksort( $file_types );
|
1999 |
$html = '<br /><div class="is-mime">';
|
2000 |
$html .= '<input class="list-search wide" placeholder="' . __( "Search..", 'ivory-search' ) . '" type="text">';
|
2035 |
echo '<p class="check-radio"><label for="' . $id . '-search_docs"><input class="search-attachments exclude" type="checkbox" id="' . $id . '-search_docs" name="search_docs" value="1" />' ;
|
2036 |
echo '<span class="toggle-check-text"></span>' . esc_html__( "Exclude Document Files", 'ivory-search' ) . '</label></p>' ;
|
2037 |
echo '</span>' ;
|
2038 |
+
if ( '' !== $file_type_disable ) {
|
2039 |
+
echo '</div>' ;
|
2040 |
+
}
|
2041 |
}
|
2042 |
|
2043 |
} else {
|
admin/class-is-settings-fields.php
CHANGED
@@ -13,10 +13,6 @@ class IS_Settings_Fields
|
|
13 |
* Stores plugin options.
|
14 |
*/
|
15 |
public $opt ;
|
16 |
-
/**
|
17 |
-
* Stores flag to know whether new plugin options are saved.
|
18 |
-
*/
|
19 |
-
public $ivory_search = false ;
|
20 |
/**
|
21 |
* Core singleton class
|
22 |
* @var self
|
@@ -33,11 +29,6 @@ class IS_Settings_Fields
|
|
33 |
*/
|
34 |
public function __construct( $is = null )
|
35 |
{
|
36 |
-
$new_opt = get_option( 'ivory_search' );
|
37 |
-
$new_opt2 = get_option( 'is_menu_search' );
|
38 |
-
if ( !empty($new_opt) || !empty($new_opt2) ) {
|
39 |
-
$this->ivory_search = true;
|
40 |
-
}
|
41 |
|
42 |
if ( null !== $is ) {
|
43 |
$this->opt = $is;
|
@@ -249,13 +240,7 @@ class IS_Settings_Fields
|
|
249 |
foreach ( $menus as $location => $description ) {
|
250 |
|
251 |
if ( has_nav_menu( $location ) ) {
|
252 |
-
|
253 |
-
if ( $this->ivory_search ) {
|
254 |
-
$check_value = ( isset( $this->opt['menus'][$location] ) ? $this->opt['menus'][$location] : 0 );
|
255 |
-
} else {
|
256 |
-
$check_value = ( isset( $this->opt['add_search_to_menu_locations'][$location] ) ? $this->opt['add_search_to_menu_locations'][$location] : 0 );
|
257 |
-
}
|
258 |
-
|
259 |
$html .= '<p><label for="is_menus' . esc_attr( $location ) . '"><input type="checkbox" class="ivory_search_locations" id="is_menus' . esc_attr( $location ) . '" name="is_menu_search[menus][' . esc_attr( $location ) . ']" value="' . esc_attr( $location ) . '" ' . checked( $location, $check_value, false ) . '/>';
|
260 |
$html .= '<span class="toggle-check-text"></span> ' . esc_html( $description ) . '</label></p>';
|
261 |
}
|
@@ -269,7 +254,7 @@ class IS_Settings_Fields
|
|
269 |
}
|
270 |
|
271 |
echo '<div>' . $html . '</div>' ;
|
272 |
-
if ( !isset( $this->opt['menus'] )
|
273 |
return;
|
274 |
}
|
275 |
echo '<br /><br />' ;
|
@@ -285,12 +270,11 @@ class IS_Settings_Fields
|
|
285 |
'full-width-menu' => __( 'Full Width', 'ivory-search' ),
|
286 |
'popup' => __( 'Popup', 'ivory-search' ),
|
287 |
);
|
288 |
-
if ( empty($this->opt) || !isset( $this->opt['
|
289 |
$this->opt['menu_style'] = 'default';
|
290 |
}
|
291 |
$html = '';
|
292 |
-
$check_value = ( isset( $this->opt['
|
293 |
-
$check_value = ( isset( $this->opt['menu_style'] ) ? $this->opt['menu_style'] : $check_value );
|
294 |
foreach ( $styles as $key => $style ) {
|
295 |
$html .= '<p>';
|
296 |
$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]"';
|
@@ -306,14 +290,8 @@ class IS_Settings_Fields
|
|
306 |
/**
|
307 |
* Displays search form close icon field.
|
308 |
*/
|
309 |
-
$check_value = ( isset( $this->opt['
|
310 |
-
$check_string = checked( '
|
311 |
-
|
312 |
-
if ( $this->ivory_search ) {
|
313 |
-
$check_value = ( isset( $this->opt['menu_close_icon'] ) ? $this->opt['menu_close_icon'] : 0 );
|
314 |
-
$check_string = checked( 'menu_close_icon', $check_value, false );
|
315 |
-
}
|
316 |
-
|
317 |
$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 . ' />';
|
318 |
$html .= '<span class="toggle-check-text"></span>' . esc_html__( 'Display search form close icon', 'ivory-search' ) . '</label>';
|
319 |
echo '<div>' . $html . '</div> <br /><br />' ;
|
@@ -324,8 +302,7 @@ class IS_Settings_Fields
|
|
324 |
*/
|
325 |
$content = __( 'Add menu title to display in place of search icon.', 'ivory-search' );
|
326 |
IS_Help::help_info( $content );
|
327 |
-
$this->opt['
|
328 |
-
$this->opt['menu_title'] = ( isset( $this->opt['menu_title'] ) ? $this->opt['menu_title'] : $this->opt['add_search_to_menu_title'] );
|
329 |
$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'] ) . '" />';
|
330 |
echo '<div>' . $html . '</div> <br /><br />' ;
|
331 |
}
|
@@ -335,8 +312,7 @@ class IS_Settings_Fields
|
|
335 |
*/
|
336 |
$content = __( 'Add class to search form menu item.', 'ivory-search' );
|
337 |
IS_Help::help_info( $content );
|
338 |
-
$this->opt['
|
339 |
-
$this->opt['menu_classes'] = ( isset( $this->opt['menu_classes'] ) ? $this->opt['menu_classes'] : $this->opt['add_search_to_menu_classes'] );
|
340 |
$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'] ) . '" />';
|
341 |
$html .= '<br /><label for="is_menu_classes" style="font-size: 10px;">' . esc_html__( "Add multiple classes seperated by space.", 'ivory-search' ) . '</label>';
|
342 |
echo '<div>' . $html . '</div> <br /><br />' ;
|
@@ -379,8 +355,7 @@ class IS_Settings_Fields
|
|
379 |
*/
|
380 |
$content = __( 'Add Google Custom Search( CSE ) search form code that will replace default search form.', 'ivory-search' );
|
381 |
IS_Help::help_info( $content );
|
382 |
-
$this->opt['
|
383 |
-
$this->opt['menu_gcse'] = ( isset( $this->opt['menu_gcse'] ) ? $this->opt['menu_gcse'] : $this->opt['add_search_to_menu_gcse'] );
|
384 |
$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'] ) . '" />';
|
385 |
echo '<div>' . $html . '</div>' ;
|
386 |
}
|
@@ -458,28 +433,16 @@ class IS_Settings_Fields
|
|
458 |
*/
|
459 |
function menu_search_in_header()
|
460 |
{
|
461 |
-
$check_value = ( isset( $this->opt['
|
462 |
-
$check_string = checked( '
|
463 |
-
|
464 |
-
if ( $this->ivory_search ) {
|
465 |
-
$check_value = ( isset( $this->opt['header_menu_search'] ) ? $this->opt['header_menu_search'] : 0 );
|
466 |
-
$check_string = checked( 'header_menu_search', $check_value, false );
|
467 |
-
}
|
468 |
-
|
469 |
$html = '<label for="is_search_in_header"><input class="ivory_search_display_in_header" type="checkbox" id="is_search_in_header" name="is_settings[header_menu_search]" value="header_menu_search" ' . $check_string . ' />';
|
470 |
$html .= '<span class="toggle-check-text"></span>' . esc_html__( 'Display search form in site header on mobile devices', 'ivory-search' ) . '</label>';
|
471 |
echo '<div>' . $html . '</div><br />' ;
|
472 |
$html = '';
|
473 |
$content = __( 'If this site uses cache then please select the below option to display search form on mobile.', 'ivory-search' );
|
474 |
IS_Help::help_info( $content );
|
475 |
-
$check_value = ( isset( $this->opt['
|
476 |
-
$check_string = checked( '
|
477 |
-
|
478 |
-
if ( $this->ivory_search ) {
|
479 |
-
$check_value = ( isset( $this->opt['site_uses_cache'] ) ? $this->opt['site_uses_cache'] : 0 );
|
480 |
-
$check_string = checked( 'site_uses_cache', $check_value, false );
|
481 |
-
}
|
482 |
-
|
483 |
$html .= '<label for="is_site_uses_cache"><input class="ivory_search_display_in_header" type="checkbox" id="is_site_uses_cache" name="is_settings[site_uses_cache]" value="site_uses_cache" ' . $check_string . ' />';
|
484 |
$html .= '<span class="toggle-check-text"></span>' . esc_html__( 'This site uses cache', 'ivory-search' ) . '</label>';
|
485 |
echo '<div>' . $html . '</div>' ;
|
@@ -492,8 +455,7 @@ class IS_Settings_Fields
|
|
492 |
{
|
493 |
$content = __( 'Add custom css code.', 'ivory-search' );
|
494 |
IS_Help::help_info( $content );
|
495 |
-
$this->opt['
|
496 |
-
$this->opt['custom_css'] = ( isset( $this->opt['custom_css'] ) ? $this->opt['custom_css'] : $this->opt['add_search_to_menu_css'] );
|
497 |
$html = '<textarea class="ivory_search_css" rows="4" id="custom_css" name="is_settings[custom_css]" >' . esc_attr( $this->opt['custom_css'] ) . '</textarea>';
|
498 |
echo '<div>' . $html . '</div>' ;
|
499 |
}
|
@@ -541,14 +503,8 @@ class IS_Settings_Fields
|
|
541 |
);
|
542 |
$html = '';
|
543 |
foreach ( $styles as $key => $file ) {
|
544 |
-
$check_value = ( isset( $this->opt['
|
545 |
-
$check_string = checked(
|
546 |
-
|
547 |
-
if ( $this->ivory_search ) {
|
548 |
-
$check_value = ( isset( $this->opt['not_load_files'][$key] ) ? $this->opt['not_load_files'][$key] : 0 );
|
549 |
-
$check_string = checked( $key, $check_value, false );
|
550 |
-
}
|
551 |
-
|
552 |
if ( 'js' == $key ) {
|
553 |
$html .= '<br />';
|
554 |
}
|
13 |
* Stores plugin options.
|
14 |
*/
|
15 |
public $opt ;
|
|
|
|
|
|
|
|
|
16 |
/**
|
17 |
* Core singleton class
|
18 |
* @var self
|
29 |
*/
|
30 |
public function __construct( $is = null )
|
31 |
{
|
|
|
|
|
|
|
|
|
|
|
32 |
|
33 |
if ( null !== $is ) {
|
34 |
$this->opt = $is;
|
240 |
foreach ( $menus as $location => $description ) {
|
241 |
|
242 |
if ( has_nav_menu( $location ) ) {
|
243 |
+
$check_value = ( isset( $this->opt['menus'][$location] ) ? $this->opt['menus'][$location] : 0 );
|
|
|
|
|
|
|
|
|
|
|
|
|
244 |
$html .= '<p><label for="is_menus' . esc_attr( $location ) . '"><input type="checkbox" class="ivory_search_locations" id="is_menus' . esc_attr( $location ) . '" name="is_menu_search[menus][' . esc_attr( $location ) . ']" value="' . esc_attr( $location ) . '" ' . checked( $location, $check_value, false ) . '/>';
|
245 |
$html .= '<span class="toggle-check-text"></span> ' . esc_html( $description ) . '</label></p>';
|
246 |
}
|
254 |
}
|
255 |
|
256 |
echo '<div>' . $html . '</div>' ;
|
257 |
+
if ( !isset( $this->opt['menus'] ) || '' === $check_value ) {
|
258 |
return;
|
259 |
}
|
260 |
echo '<br /><br />' ;
|
270 |
'full-width-menu' => __( 'Full Width', 'ivory-search' ),
|
271 |
'popup' => __( 'Popup', 'ivory-search' ),
|
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]"';
|
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', 'ivory-search' ) . '</label>';
|
297 |
echo '<div>' . $html . '</div> <br /><br />' ;
|
302 |
*/
|
303 |
$content = __( 'Add menu title to display in place of search icon.', 'ivory-search' );
|
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 |
}
|
312 |
*/
|
313 |
$content = __( 'Add class to search form menu item.', 'ivory-search' );
|
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.", 'ivory-search' ) . '</label>';
|
318 |
echo '<div>' . $html . '</div> <br /><br />' ;
|
355 |
*/
|
356 |
$content = __( 'Add Google Custom Search( CSE ) search form code that will replace default search form.', 'ivory-search' );
|
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 |
}
|
433 |
*/
|
434 |
function menu_search_in_header()
|
435 |
{
|
436 |
+
$check_value = ( isset( $this->opt['header_menu_search'] ) ? $this->opt['header_menu_search'] : 0 );
|
437 |
+
$check_string = checked( 'header_menu_search', $check_value, false );
|
|
|
|
|
|
|
|
|
|
|
|
|
438 |
$html = '<label for="is_search_in_header"><input class="ivory_search_display_in_header" type="checkbox" id="is_search_in_header" name="is_settings[header_menu_search]" value="header_menu_search" ' . $check_string . ' />';
|
439 |
$html .= '<span class="toggle-check-text"></span>' . esc_html__( 'Display search form in site header on mobile devices', 'ivory-search' ) . '</label>';
|
440 |
echo '<div>' . $html . '</div><br />' ;
|
441 |
$html = '';
|
442 |
$content = __( 'If this site uses cache then please select the below option to display search form on mobile.', 'ivory-search' );
|
443 |
IS_Help::help_info( $content );
|
444 |
+
$check_value = ( isset( $this->opt['site_uses_cache'] ) ? $this->opt['site_uses_cache'] : 0 );
|
445 |
+
$check_string = checked( 'site_uses_cache', $check_value, false );
|
|
|
|
|
|
|
|
|
|
|
|
|
446 |
$html .= '<label for="is_site_uses_cache"><input class="ivory_search_display_in_header" type="checkbox" id="is_site_uses_cache" name="is_settings[site_uses_cache]" value="site_uses_cache" ' . $check_string . ' />';
|
447 |
$html .= '<span class="toggle-check-text"></span>' . esc_html__( 'This site uses cache', 'ivory-search' ) . '</label>';
|
448 |
echo '<div>' . $html . '</div>' ;
|
455 |
{
|
456 |
$content = __( 'Add custom css code.', 'ivory-search' );
|
457 |
IS_Help::help_info( $content );
|
458 |
+
$this->opt['custom_css'] = ( isset( $this->opt['custom_css'] ) ? $this->opt['custom_css'] : '' );
|
|
|
459 |
$html = '<textarea class="ivory_search_css" rows="4" id="custom_css" name="is_settings[custom_css]" >' . esc_attr( $this->opt['custom_css'] ) . '</textarea>';
|
460 |
echo '<div>' . $html . '</div>' ;
|
461 |
}
|
503 |
);
|
504 |
$html = '';
|
505 |
foreach ( $styles as $key => $file ) {
|
506 |
+
$check_value = ( isset( $this->opt['not_load_files'][$key] ) ? $this->opt['not_load_files'][$key] : 0 );
|
507 |
+
$check_string = checked( $key, $check_value, false );
|
|
|
|
|
|
|
|
|
|
|
|
|
508 |
if ( 'js' == $key ) {
|
509 |
$html .= '<br />';
|
510 |
}
|
includes/class-is-search-form.php
CHANGED
@@ -405,7 +405,7 @@ class IS_Search_Form {
|
|
405 |
$_settings = $this->prop('_is_settings');
|
406 |
$result = '';
|
407 |
|
408 |
-
if (
|
409 |
wp_enqueue_style( 'ivory-search-styles', plugins_url( '/public/css/ivory-search.css', IS_PLUGIN_FILE ), array(), IS_VERSION );
|
410 |
}
|
411 |
|
405 |
$_settings = $this->prop('_is_settings');
|
406 |
$result = '';
|
407 |
|
408 |
+
if ( ! isset( $this->opt['not_load_files']['css'] ) ) {
|
409 |
wp_enqueue_style( 'ivory-search-styles', plugins_url( '/public/css/ivory-search.css', IS_PLUGIN_FILE ), array(), IS_VERSION );
|
410 |
}
|
411 |
|
includes/class-is.php
CHANGED
@@ -157,10 +157,8 @@ class IS_Loader {
|
|
157 |
add_filter( 'query_vars', array( $public, 'query_vars' ) );
|
158 |
add_filter( 'body_class', array( $public, 'is_body_classes' ) );
|
159 |
|
160 |
-
$header_menu_search = isset( $this->opt['
|
161 |
-
$
|
162 |
-
$site_cache = isset( $this->opt['astm_site_uses_cache'] ) ? $this->opt['astm_site_uses_cache'] : 0;
|
163 |
-
$site_cache = isset( $this->opt['site_uses_cache'] ) ? $this->opt['site_uses_cache'] : $site_cache;
|
164 |
$display_in_mobile_menu = $header_menu_search && wp_is_mobile() ? true : false;
|
165 |
|
166 |
if ( $display_in_mobile_menu || $site_cache ) {
|
157 |
add_filter( 'query_vars', array( $public, 'query_vars' ) );
|
158 |
add_filter( 'body_class', array( $public, 'is_body_classes' ) );
|
159 |
|
160 |
+
$header_menu_search = isset( $this->opt['header_menu_search'] ) ? $this->opt['header_menu_search'] : 0;
|
161 |
+
$site_cache = isset( $this->opt['site_uses_cache'] ) ? $this->opt['site_uses_cache'] : 0;
|
|
|
|
|
162 |
$display_in_mobile_menu = $header_menu_search && wp_is_mobile() ? true : false;
|
163 |
|
164 |
if ( $display_in_mobile_menu || $site_cache ) {
|
languages/default.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Ivory Search\n"
|
4 |
-
"POT-Creation-Date: 2019-09-
|
5 |
-
"PO-Revision-Date: 2019-09-
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: Ivory Search <admin@ivorysearch.com>\n"
|
8 |
"Language: en_US\n"
|
@@ -20,7 +20,7 @@ msgstr ""
|
|
20 |
msgid "The changes you made will be lost if you navigate away from this page."
|
21 |
msgstr ""
|
22 |
|
23 |
-
#: ../admin/class-is-admin.php:137 ../admin/class-is-settings-fields.php:
|
24 |
#: ../admin/partials/search-form.php:23
|
25 |
msgid "Edit Search Form"
|
26 |
msgstr ""
|
@@ -124,7 +124,7 @@ msgid "Validation error occurred."
|
|
124 |
msgstr ""
|
125 |
|
126 |
#: ../admin/class-is-admin.php:417 ../admin/class-is-admin.php:422
|
127 |
-
#: ../admin/class-is-editor.php:
|
128 |
#: ../admin/class-is-help.php:35 ../admin/partials/search-form.php:109
|
129 |
msgid "Includes"
|
130 |
msgstr ""
|
@@ -190,19 +190,19 @@ msgstr ""
|
|
190 |
msgid "Error in deleting."
|
191 |
msgstr ""
|
192 |
|
193 |
-
#: ../admin/class-is-admin.php:
|
194 |
msgid "Save Form"
|
195 |
msgstr ""
|
196 |
|
197 |
-
#: ../admin/class-is-admin.php:
|
198 |
msgid "Upgrade to Pro to Access"
|
199 |
msgstr ""
|
200 |
|
201 |
-
#: ../admin/class-is-admin.php:
|
202 |
msgid "Install Premium Version to Access"
|
203 |
msgstr ""
|
204 |
|
205 |
-
#: ../admin/class-is-admin.php:
|
206 |
msgid "Upgrade to Pro Plus to Access"
|
207 |
msgstr ""
|
208 |
|
@@ -218,19 +218,19 @@ msgstr ""
|
|
218 |
msgid "Post Types"
|
219 |
msgstr ""
|
220 |
|
221 |
-
#: ../admin/class-is-editor.php:114 ../admin/class-is-editor.php:
|
222 |
-
#: ../admin/class-is-editor.php:
|
223 |
-
#: ../admin/class-is-editor.php:
|
224 |
-
#: ../admin/class-is-editor.php:
|
225 |
-
#: ../admin/class-is-editor.php:
|
226 |
msgid "Expand All"
|
227 |
msgstr ""
|
228 |
|
229 |
-
#: ../admin/class-is-editor.php:114 ../admin/class-is-editor.php:
|
230 |
-
#: ../admin/class-is-editor.php:
|
231 |
-
#: ../admin/class-is-editor.php:
|
232 |
-
#: ../admin/class-is-editor.php:
|
233 |
-
#: ../admin/class-is-editor.php:
|
234 |
msgid "Collapse All"
|
235 |
msgstr ""
|
236 |
|
@@ -250,34 +250,34 @@ msgstr ""
|
|
250 |
msgid "Do not display post_type in the search URL"
|
251 |
msgstr ""
|
252 |
|
253 |
-
#: ../admin/class-is-editor.php:168 ../admin/class-is-editor.php:
|
254 |
msgid "( WooCommerce )"
|
255 |
msgstr ""
|
256 |
|
257 |
-
#: ../admin/class-is-editor.php:170 ../admin/class-is-editor.php:
|
258 |
msgid "( Images, Videos, Audios, Docs, PDFs, Files & Media )"
|
259 |
msgstr ""
|
260 |
|
261 |
#: ../admin/class-is-editor.php:215 ../admin/class-is-editor.php:263
|
262 |
-
#: ../admin/class-is-editor.php:286 ../admin/class-is-editor.php:
|
263 |
-
#: ../admin/class-is-editor.php:
|
264 |
-
#: ../admin/class-is-editor.php:
|
265 |
msgid "Search.."
|
266 |
msgstr ""
|
267 |
|
268 |
-
#: ../admin/class-is-editor.php:219 ../admin/class-is-editor.php:
|
269 |
msgid "Load All"
|
270 |
msgstr ""
|
271 |
|
272 |
-
#: ../admin/class-is-editor.php:224 ../admin/class-is-editor.php:
|
273 |
#, php-format
|
274 |
msgid "No %ss created."
|
275 |
msgstr ""
|
276 |
|
277 |
#: ../admin/class-is-editor.php:226 ../admin/class-is-editor.php:272
|
278 |
-
#: ../admin/class-is-editor.php:296 ../admin/class-is-editor.php:
|
279 |
-
#: ../admin/class-is-editor.php:
|
280 |
-
#: ../admin/class-is-editor.php:
|
281 |
msgid ""
|
282 |
"Hold down the control (ctrl) or command button to select multiple options."
|
283 |
msgstr ""
|
@@ -313,653 +313,653 @@ msgstr ""
|
|
313 |
msgid "Search selected %s custom fields values"
|
314 |
msgstr ""
|
315 |
|
316 |
-
#: ../admin/class-is-editor.php:
|
317 |
msgid "Search product SKU"
|
318 |
msgstr ""
|
319 |
|
320 |
-
#: ../admin/class-is-editor.php:
|
321 |
msgid "Search product variation"
|
322 |
msgstr ""
|
323 |
|
324 |
-
#: ../admin/class-is-editor.php:
|
325 |
msgid "Selected File Types :"
|
326 |
msgstr ""
|
327 |
|
328 |
-
#: ../admin/class-is-editor.php:
|
329 |
msgid "Search all MIME types"
|
330 |
msgstr ""
|
331 |
|
332 |
-
#: ../admin/class-is-editor.php:
|
333 |
msgid "Search only selected MIME types"
|
334 |
msgstr ""
|
335 |
|
336 |
-
#: ../admin/class-is-editor.php:
|
337 |
msgid "Search Images"
|
338 |
msgstr ""
|
339 |
|
340 |
-
#: ../admin/class-is-editor.php:
|
341 |
msgid "Search Videos"
|
342 |
msgstr ""
|
343 |
|
344 |
-
#: ../admin/class-is-editor.php:
|
345 |
msgid "Search Audios"
|
346 |
msgstr ""
|
347 |
|
348 |
-
#: ../admin/class-is-editor.php:
|
349 |
msgid "Search Text Files"
|
350 |
msgstr ""
|
351 |
|
352 |
-
#: ../admin/class-is-editor.php:
|
353 |
msgid "Search PDF Files"
|
354 |
msgstr ""
|
355 |
|
356 |
-
#: ../admin/class-is-editor.php:
|
357 |
msgid "Search Document Files"
|
358 |
msgstr ""
|
359 |
|
360 |
-
#: ../admin/class-is-editor.php:
|
361 |
#, php-format
|
362 |
msgid ""
|
363 |
"This search form is configured in the %s section to not search specific MIME "
|
364 |
"types."
|
365 |
msgstr ""
|
366 |
|
367 |
-
#: ../admin/class-is-editor.php:
|
368 |
msgid ""
|
369 |
"You are using WordPress version less than 4.9 which does not support "
|
370 |
"searching by MIME type."
|
371 |
msgstr ""
|
372 |
|
373 |
-
#: ../admin/class-is-editor.php:
|
374 |
-
#: ../admin/class-is-editor.php:
|
375 |
msgid "Date"
|
376 |
msgstr ""
|
377 |
|
378 |
-
#: ../admin/class-is-editor.php:
|
379 |
msgid "Search posts created only in the specified date range."
|
380 |
msgstr ""
|
381 |
|
382 |
-
#: ../admin/class-is-editor.php:
|
383 |
msgid "From"
|
384 |
msgstr ""
|
385 |
|
386 |
-
#: ../admin/class-is-editor.php:
|
387 |
msgid "To"
|
388 |
msgstr ""
|
389 |
|
390 |
-
#: ../admin/class-is-editor.php:
|
391 |
msgid "Authors"
|
392 |
msgstr ""
|
393 |
|
394 |
-
#: ../admin/class-is-editor.php:
|
395 |
msgid "Search posts created by selected authors."
|
396 |
msgstr ""
|
397 |
|
398 |
-
#: ../admin/class-is-editor.php:
|
399 |
msgid "Searches all author posts"
|
400 |
msgstr ""
|
401 |
|
402 |
-
#: ../admin/class-is-editor.php:
|
403 |
#, php-format
|
404 |
msgid ""
|
405 |
"This search form is configured in the %s section to not search for specific "
|
406 |
"author posts."
|
407 |
msgstr ""
|
408 |
|
409 |
-
#: ../admin/class-is-editor.php:
|
410 |
msgid "Search author Display Name and display the posts created by that author"
|
411 |
msgstr ""
|
412 |
|
413 |
-
#: ../admin/class-is-editor.php:
|
414 |
msgid "Comments"
|
415 |
msgstr ""
|
416 |
|
417 |
-
#: ../admin/class-is-editor.php:
|
418 |
msgid "Search posts by configured comments."
|
419 |
msgstr ""
|
420 |
|
421 |
-
#: ../admin/class-is-editor.php:
|
422 |
msgid "Search posts having number of comments"
|
423 |
msgstr ""
|
424 |
|
425 |
-
#: ../admin/class-is-editor.php:
|
426 |
msgid "NA"
|
427 |
msgstr ""
|
428 |
|
429 |
-
#: ../admin/class-is-editor.php:
|
430 |
msgid "Search approved comment content"
|
431 |
msgstr ""
|
432 |
|
433 |
-
#: ../admin/class-is-editor.php:
|
434 |
msgid "Post Status"
|
435 |
msgstr ""
|
436 |
|
437 |
-
#: ../admin/class-is-editor.php:
|
438 |
msgid "Search posts having selected post statuses."
|
439 |
msgstr ""
|
440 |
|
441 |
-
#: ../admin/class-is-editor.php:
|
442 |
msgid "Select Post Status"
|
443 |
msgstr ""
|
444 |
|
445 |
-
#: ../admin/class-is-editor.php:
|
446 |
msgid "Password Protected"
|
447 |
msgstr ""
|
448 |
|
449 |
-
#: ../admin/class-is-editor.php:
|
450 |
msgid "Search posts with or without passwords"
|
451 |
msgstr ""
|
452 |
|
453 |
-
#: ../admin/class-is-editor.php:
|
454 |
msgid "Search posts with passwords"
|
455 |
msgstr ""
|
456 |
|
457 |
-
#: ../admin/class-is-editor.php:
|
458 |
msgid "Search posts without passwords"
|
459 |
msgstr ""
|
460 |
|
461 |
-
#: ../admin/class-is-editor.php:
|
462 |
-
#: ../admin/class-is-settings-fields.php:
|
463 |
msgid "Extras"
|
464 |
msgstr ""
|
465 |
|
466 |
-
#: ../admin/class-is-editor.php:
|
467 |
#, php-format
|
468 |
msgid "Search post title %s( File title )%s"
|
469 |
msgstr ""
|
470 |
|
471 |
-
#: ../admin/class-is-editor.php:
|
472 |
#, php-format
|
473 |
msgid "Search post content %s( File description )%s"
|
474 |
msgstr ""
|
475 |
|
476 |
-
#: ../admin/class-is-editor.php:
|
477 |
#, php-format
|
478 |
msgid "Search post excerpt %s( File caption )%s"
|
479 |
msgstr ""
|
480 |
|
481 |
-
#: ../admin/class-is-editor.php:
|
482 |
#, php-format
|
483 |
msgid "Search category title %s( Displays posts of the category )%s"
|
484 |
msgstr ""
|
485 |
|
486 |
-
#: ../admin/class-is-editor.php:
|
487 |
#, php-format
|
488 |
msgid "Search category description %s( Displays posts of the category )%s"
|
489 |
msgstr ""
|
490 |
|
491 |
-
#: ../admin/class-is-editor.php:
|
492 |
msgid ""
|
493 |
"Note: The below option is disabled and set to OR as you have configured the "
|
494 |
"search form to search multiple taxonomies."
|
495 |
msgstr ""
|
496 |
|
497 |
-
#: ../admin/class-is-editor.php:
|
498 |
msgid "AND - Search posts having all the above selected category terms"
|
499 |
msgstr ""
|
500 |
|
501 |
-
#: ../admin/class-is-editor.php:
|
502 |
msgid "OR - Search posts having any one of the above selected category terms"
|
503 |
msgstr ""
|
504 |
|
505 |
-
#: ../admin/class-is-editor.php:
|
506 |
msgid "Use below options to customize this search form."
|
507 |
msgstr ""
|
508 |
|
509 |
-
#: ../admin/class-is-editor.php:
|
510 |
msgid "Enable Search Form Customization"
|
511 |
msgstr ""
|
512 |
|
513 |
-
#: ../admin/class-is-editor.php:
|
514 |
#: ../includes/class-is-search-form.php:507
|
515 |
msgid "Customizer"
|
516 |
msgstr ""
|
517 |
|
518 |
-
#: ../admin/class-is-editor.php:
|
519 |
msgid ""
|
520 |
"Use below customizer to customize search form colors, text and search form "
|
521 |
"style."
|
522 |
msgstr ""
|
523 |
|
524 |
-
#: ../admin/class-is-editor.php:
|
525 |
msgid "Search Form Customizer"
|
526 |
msgstr ""
|
527 |
|
528 |
-
#: ../admin/class-is-editor.php:
|
529 |
msgid "Nothing found"
|
530 |
msgstr ""
|
531 |
|
532 |
-
#: ../admin/class-is-editor.php:
|
533 |
msgid "View All"
|
534 |
msgstr ""
|
535 |
|
536 |
-
#: ../admin/class-is-editor.php:
|
537 |
msgid "More Results.."
|
538 |
msgstr ""
|
539 |
|
540 |
-
#: ../admin/class-is-editor.php:
|
541 |
msgid ""
|
542 |
"Configure below options to manage AJAX functionality of this search form."
|
543 |
msgstr ""
|
544 |
|
545 |
-
#: ../admin/class-is-editor.php:
|
546 |
-
#: ../admin/class-is-editor.php:
|
547 |
msgid "Enable AJAX Search"
|
548 |
msgstr ""
|
549 |
|
550 |
-
#: ../admin/class-is-editor.php:
|
551 |
msgid "Search Results"
|
552 |
msgstr ""
|
553 |
|
554 |
-
#: ../admin/class-is-editor.php:
|
555 |
msgid "Display selected content in the search results."
|
556 |
msgstr ""
|
557 |
|
558 |
-
#: ../admin/class-is-editor.php:
|
559 |
msgid "Description"
|
560 |
msgstr ""
|
561 |
|
562 |
-
#: ../admin/class-is-editor.php:
|
563 |
msgid "Excerpt"
|
564 |
msgstr ""
|
565 |
|
566 |
-
#: ../admin/class-is-editor.php:
|
567 |
msgid "Content"
|
568 |
msgstr ""
|
569 |
|
570 |
-
#: ../admin/class-is-editor.php:
|
571 |
msgid "Description Length."
|
572 |
msgstr ""
|
573 |
|
574 |
-
#: ../admin/class-is-editor.php:
|
575 |
msgid "Image"
|
576 |
msgstr ""
|
577 |
|
578 |
-
#: ../admin/class-is-editor.php:
|
579 |
msgid "Categories"
|
580 |
msgstr ""
|
581 |
|
582 |
-
#: ../admin/class-is-editor.php:
|
583 |
msgid "Tags"
|
584 |
msgstr ""
|
585 |
|
586 |
-
#: ../admin/class-is-editor.php:
|
587 |
msgid "Author"
|
588 |
msgstr ""
|
589 |
|
590 |
-
#: ../admin/class-is-editor.php:
|
591 |
msgid "Minimum number of characters required to run ajax search."
|
592 |
msgstr ""
|
593 |
|
594 |
-
#: ../admin/class-is-editor.php:
|
595 |
msgid "Search results box max height."
|
596 |
msgstr ""
|
597 |
|
598 |
-
#: ../admin/class-is-editor.php:
|
599 |
msgid "Configure the plugin text displayed in the search results."
|
600 |
msgstr ""
|
601 |
|
602 |
-
#: ../admin/class-is-editor.php:
|
603 |
msgid "Text when there is no search results. HTML tags is allowed."
|
604 |
msgstr ""
|
605 |
|
606 |
-
#: ../admin/class-is-editor.php:
|
607 |
msgid "Show 'More Results..' text in the bottom of the search results box"
|
608 |
msgstr ""
|
609 |
|
610 |
-
#: ../admin/class-is-editor.php:
|
611 |
msgid "Text for the \"More Results..\"."
|
612 |
msgstr ""
|
613 |
|
614 |
-
#: ../admin/class-is-editor.php:
|
615 |
msgid ""
|
616 |
"View All Result - Show link to search results page at the bottom of search "
|
617 |
"results block."
|
618 |
msgstr ""
|
619 |
|
620 |
-
#: ../admin/class-is-editor.php:
|
621 |
msgid ""
|
622 |
"Text for the \"View All\" which shown at the bottom of the search result."
|
623 |
msgstr ""
|
624 |
|
625 |
-
#: ../admin/class-is-editor.php:
|
626 |
msgid "Configure how the search button should work clicking on it."
|
627 |
msgstr ""
|
628 |
|
629 |
-
#: ../admin/class-is-editor.php:
|
630 |
msgid "Search button displays search results page"
|
631 |
msgstr ""
|
632 |
|
633 |
-
#: ../admin/class-is-editor.php:
|
634 |
msgid "Search button displays ajax search results"
|
635 |
msgstr ""
|
636 |
|
637 |
-
#: ../admin/class-is-editor.php:
|
638 |
msgid "WooCommerce"
|
639 |
msgstr ""
|
640 |
|
641 |
-
#: ../admin/class-is-editor.php:
|
642 |
#, php-format
|
643 |
msgid ""
|
644 |
"Please first configure this search form in the %s section to search "
|
645 |
"WooCommerce product post type."
|
646 |
msgstr ""
|
647 |
|
648 |
-
#: ../admin/class-is-editor.php:
|
649 |
msgid "Display selected WooCommerce content in the search results."
|
650 |
msgstr ""
|
651 |
|
652 |
-
#: ../admin/class-is-editor.php:
|
653 |
msgid "Price"
|
654 |
msgstr ""
|
655 |
|
656 |
-
#: ../admin/class-is-editor.php:
|
657 |
msgid "Hide Price for Out of Stock Products"
|
658 |
msgstr ""
|
659 |
|
660 |
-
#: ../admin/class-is-editor.php:
|
661 |
msgid "Sale Badge"
|
662 |
msgstr ""
|
663 |
|
664 |
-
#: ../admin/class-is-editor.php:
|
665 |
msgid "SKU"
|
666 |
msgstr ""
|
667 |
|
668 |
-
#: ../admin/class-is-editor.php:
|
669 |
msgid "Stock Status"
|
670 |
msgstr ""
|
671 |
|
672 |
-
#: ../admin/class-is-editor.php:
|
673 |
msgid "Featured Icon"
|
674 |
msgstr ""
|
675 |
|
676 |
-
#: ../admin/class-is-editor.php:
|
677 |
msgid "Matching Categories"
|
678 |
msgstr ""
|
679 |
|
680 |
-
#: ../admin/class-is-editor.php:
|
681 |
msgid "Matching Tags"
|
682 |
msgstr ""
|
683 |
|
684 |
-
#: ../admin/class-is-editor.php:
|
685 |
msgid "Details Box"
|
686 |
msgstr ""
|
687 |
|
688 |
-
#: ../admin/class-is-editor.php:
|
689 |
msgid "Below options only apply to matching categories or tags."
|
690 |
msgstr ""
|
691 |
|
692 |
-
#: ../admin/class-is-editor.php:
|
693 |
msgid "Product List"
|
694 |
msgstr ""
|
695 |
|
696 |
-
#: ../admin/class-is-editor.php:
|
697 |
msgid "All Product"
|
698 |
msgstr ""
|
699 |
|
700 |
-
#: ../admin/class-is-editor.php:
|
701 |
msgid "Featured Products"
|
702 |
msgstr ""
|
703 |
|
704 |
-
#: ../admin/class-is-editor.php:
|
705 |
msgid "On-sale Products</option>"
|
706 |
msgstr ""
|
707 |
|
708 |
-
#: ../admin/class-is-editor.php:
|
709 |
msgid "Order by"
|
710 |
msgstr ""
|
711 |
|
712 |
-
#: ../admin/class-is-editor.php:
|
713 |
msgid "Random"
|
714 |
msgstr ""
|
715 |
|
716 |
-
#: ../admin/class-is-editor.php:
|
717 |
msgid "Sales"
|
718 |
msgstr ""
|
719 |
|
720 |
-
#: ../admin/class-is-editor.php:
|
721 |
msgid "Order"
|
722 |
msgstr ""
|
723 |
|
724 |
-
#: ../admin/class-is-editor.php:
|
725 |
msgid "ASC"
|
726 |
msgstr ""
|
727 |
|
728 |
-
#: ../admin/class-is-editor.php:
|
729 |
msgid "DESC"
|
730 |
msgstr ""
|
731 |
|
732 |
-
#: ../admin/class-is-editor.php:
|
733 |
msgid ""
|
734 |
"Use below customizer to customize AJAX search results color and loader image."
|
735 |
msgstr ""
|
736 |
|
737 |
-
#: ../admin/class-is-editor.php:
|
738 |
msgid "AJAX Search Customizer"
|
739 |
msgstr ""
|
740 |
|
741 |
-
#: ../admin/class-is-editor.php:
|
742 |
msgid "This search form excludes the below configured content from search."
|
743 |
msgstr ""
|
744 |
|
745 |
-
#: ../admin/class-is-editor.php:
|
746 |
#, php-format
|
747 |
msgid ""
|
748 |
"The search form is configured in the %s section to only search specific "
|
749 |
"posts of another post type."
|
750 |
msgstr ""
|
751 |
|
752 |
-
#: ../admin/class-is-editor.php:
|
753 |
#, php-format
|
754 |
msgid "Do not exclude any %s from search"
|
755 |
msgstr ""
|
756 |
|
757 |
-
#: ../admin/class-is-editor.php:
|
758 |
#, php-format
|
759 |
msgid "Exclude selected %ss from search"
|
760 |
msgstr ""
|
761 |
|
762 |
-
#: ../admin/class-is-editor.php:
|
763 |
#, php-format
|
764 |
msgid ""
|
765 |
"The search form is configured in the %s section to only search specific "
|
766 |
"posts."
|
767 |
msgstr ""
|
768 |
|
769 |
-
#: ../admin/class-is-editor.php:
|
770 |
#, php-format
|
771 |
msgid ""
|
772 |
"Do not exclude any %s from search of any taxonomies (%s categories, tags & "
|
773 |
"terms %s)"
|
774 |
msgstr ""
|
775 |
|
776 |
-
#: ../admin/class-is-editor.php:
|
777 |
#, php-format
|
778 |
msgid ""
|
779 |
"Exclude %ss from search of selected taxonomies (%s categories, tags & terms "
|
780 |
"%s)"
|
781 |
msgstr ""
|
782 |
|
783 |
-
#: ../admin/class-is-editor.php:
|
784 |
#, php-format
|
785 |
msgid "Exclude %ss from search having selected custom fields"
|
786 |
msgstr ""
|
787 |
|
788 |
-
#: ../admin/class-is-editor.php:
|
789 |
msgid "Exclude 'Out of Stock' products from search"
|
790 |
msgstr ""
|
791 |
|
792 |
-
#: ../admin/class-is-editor.php:
|
793 |
msgid "Excluded File Types :"
|
794 |
msgstr ""
|
795 |
|
796 |
-
#: ../admin/class-is-editor.php:
|
797 |
msgid "Exclude selected MIME types from search"
|
798 |
msgstr ""
|
799 |
|
800 |
-
#: ../admin/class-is-editor.php:
|
801 |
msgid "Exclude Images"
|
802 |
msgstr ""
|
803 |
|
804 |
-
#: ../admin/class-is-editor.php:
|
805 |
msgid "Exclude Videos"
|
806 |
msgstr ""
|
807 |
|
808 |
-
#: ../admin/class-is-editor.php:
|
809 |
msgid "Exclude Audios"
|
810 |
msgstr ""
|
811 |
|
812 |
-
#: ../admin/class-is-editor.php:
|
813 |
msgid "Exclude Text Files"
|
814 |
msgstr ""
|
815 |
|
816 |
-
#: ../admin/class-is-editor.php:
|
817 |
msgid "Exclude PDF Files"
|
818 |
msgstr ""
|
819 |
|
820 |
-
#: ../admin/class-is-editor.php:
|
821 |
msgid "Exclude Document Files"
|
822 |
msgstr ""
|
823 |
|
824 |
-
#: ../admin/class-is-editor.php:
|
825 |
#, php-format
|
826 |
msgid ""
|
827 |
"This search form is configured in the %s section to search specific "
|
828 |
"attachments."
|
829 |
msgstr ""
|
830 |
|
831 |
-
#: ../admin/class-is-editor.php:
|
832 |
msgid "Exclude posts from search created by selected authors."
|
833 |
msgstr ""
|
834 |
|
835 |
-
#: ../admin/class-is-editor.php:
|
836 |
msgid "Search all author posts"
|
837 |
msgstr ""
|
838 |
|
839 |
-
#: ../admin/class-is-editor.php:
|
840 |
#, php-format
|
841 |
msgid ""
|
842 |
"This search form is configured in the %s section to search posts created by "
|
843 |
"specific authors."
|
844 |
msgstr ""
|
845 |
|
846 |
-
#: ../admin/class-is-editor.php:
|
847 |
msgid "Exclude posts from search having selected post statuses."
|
848 |
msgstr ""
|
849 |
|
850 |
-
#: ../admin/class-is-editor.php:
|
851 |
msgid "Exclude sticky posts from search"
|
852 |
msgstr ""
|
853 |
|
854 |
-
#: ../admin/class-is-editor.php:
|
855 |
msgid "Configure below options to manage functionality of this search form."
|
856 |
msgstr ""
|
857 |
|
858 |
-
#: ../admin/class-is-editor.php:
|
859 |
msgid "Posts Per Page"
|
860 |
msgstr ""
|
861 |
|
862 |
-
#: ../admin/class-is-editor.php:
|
863 |
msgid "Display selected number of posts on search results page."
|
864 |
msgstr ""
|
865 |
|
866 |
-
#: ../admin/class-is-editor.php:
|
867 |
msgid "Order Search Results"
|
868 |
msgstr ""
|
869 |
|
870 |
-
#: ../admin/class-is-editor.php:
|
871 |
msgid "Display posts on search results page ordered by selected options."
|
872 |
msgstr ""
|
873 |
|
874 |
-
#: ../admin/class-is-editor.php:
|
875 |
msgid "Highlight Search Terms"
|
876 |
msgstr ""
|
877 |
|
878 |
-
#: ../admin/class-is-editor.php:
|
879 |
msgid "Highlight searched terms on search results page"
|
880 |
msgstr ""
|
881 |
|
882 |
-
#: ../admin/class-is-editor.php:
|
883 |
msgid "Set highlight color in Hex format"
|
884 |
msgstr ""
|
885 |
|
886 |
-
#: ../admin/class-is-editor.php:
|
887 |
msgid "Search All Or Any Search Terms"
|
888 |
msgstr ""
|
889 |
|
890 |
-
#: ../admin/class-is-editor.php:
|
891 |
msgid ""
|
892 |
"Select whether to search posts having all or any of the words being searched."
|
893 |
msgstr ""
|
894 |
|
895 |
-
#: ../admin/class-is-editor.php:
|
896 |
msgid "OR - Display content having any of the search terms"
|
897 |
msgstr ""
|
898 |
|
899 |
-
#: ../admin/class-is-editor.php:
|
900 |
msgid "AND - Display content having all the search terms"
|
901 |
msgstr ""
|
902 |
|
903 |
-
#: ../admin/class-is-editor.php:
|
904 |
msgid "Fuzzy Matching"
|
905 |
msgstr ""
|
906 |
|
907 |
-
#: ../admin/class-is-editor.php:
|
908 |
msgid ""
|
909 |
"Select whether to search posts having whole or partial word being searched."
|
910 |
msgstr ""
|
911 |
|
912 |
-
#: ../admin/class-is-editor.php:
|
913 |
msgid "Whole - Search posts that include the whole search term"
|
914 |
msgstr ""
|
915 |
|
916 |
-
#: ../admin/class-is-editor.php:
|
917 |
msgid ""
|
918 |
"Partial - Also search words in the posts that begins or ends with the search "
|
919 |
"term"
|
920 |
msgstr ""
|
921 |
|
922 |
-
#: ../admin/class-is-editor.php:
|
923 |
msgid "Keyword Stemming"
|
924 |
msgstr ""
|
925 |
|
926 |
-
#: ../admin/class-is-editor.php:
|
927 |
msgid "Select whether to search the base word of a searched keyword."
|
928 |
msgstr ""
|
929 |
|
930 |
-
#: ../admin/class-is-editor.php:
|
931 |
msgid ""
|
932 |
"For Example: If you search \"doing\" then it also searches base word of "
|
933 |
"\"doing\" that is \"do\" in the specified post types."
|
934 |
msgstr ""
|
935 |
|
936 |
-
#: ../admin/class-is-editor.php:
|
937 |
msgid "Not recommended to use when Fuzzy Matching option is set to Whole."
|
938 |
msgstr ""
|
939 |
|
940 |
-
#: ../admin/class-is-editor.php:
|
941 |
msgid "Also search base word of searched keyword"
|
942 |
msgstr ""
|
943 |
|
944 |
-
#: ../admin/class-is-editor.php:
|
945 |
msgid "Display sticky posts to the start of the search results page"
|
946 |
msgstr ""
|
947 |
|
948 |
-
#: ../admin/class-is-editor.php:
|
949 |
msgid "Display search form only for site administrator"
|
950 |
msgstr ""
|
951 |
|
952 |
-
#: ../admin/class-is-editor.php:
|
953 |
msgid "Disable this search form"
|
954 |
msgstr ""
|
955 |
|
956 |
-
#: ../admin/class-is-editor.php:
|
957 |
msgid ""
|
958 |
"Select whether to display an error when user perform search without any "
|
959 |
"search word."
|
960 |
msgstr ""
|
961 |
|
962 |
-
#: ../admin/class-is-editor.php:
|
963 |
msgid "Display an error for empty search query"
|
964 |
msgstr ""
|
965 |
|
@@ -1123,8 +1123,8 @@ msgid "Edit “%s”"
|
|
1123 |
msgstr ""
|
1124 |
|
1125 |
#: ../admin/class-is-list-table.php:158
|
1126 |
-
#: ../admin/class-is-settings-fields.php:
|
1127 |
-
#: ../admin/class-is-settings-fields.php:
|
1128 |
#: ../includes/class-is-search-form.php:503 ../includes/class-is-widget.php:71
|
1129 |
msgid "Edit"
|
1130 |
msgstr ""
|
@@ -1152,213 +1152,213 @@ msgstr ""
|
|
1152 |
msgid "d/m/Y"
|
1153 |
msgstr ""
|
1154 |
|
1155 |
-
#: ../admin/class-is-settings-fields.php:
|
1156 |
msgid "Header Search"
|
1157 |
msgstr ""
|
1158 |
|
1159 |
-
#: ../admin/class-is-settings-fields.php:
|
1160 |
msgid "Footer Search"
|
1161 |
msgstr ""
|
1162 |
|
1163 |
-
#: ../admin/class-is-settings-fields.php:
|
1164 |
msgid "Mobile Search"
|
1165 |
msgstr ""
|
1166 |
|
1167 |
-
#: ../admin/class-is-settings-fields.php:
|
1168 |
msgid "Custom CSS"
|
1169 |
msgstr ""
|
1170 |
|
1171 |
-
#: ../admin/class-is-settings-fields.php:
|
1172 |
msgid "Stopwords"
|
1173 |
msgstr ""
|
1174 |
|
1175 |
-
#: ../admin/class-is-settings-fields.php:
|
1176 |
msgid "Synonyms"
|
1177 |
msgstr ""
|
1178 |
|
1179 |
-
#: ../admin/class-is-settings-fields.php:
|
1180 |
msgid "Plugin Files"
|
1181 |
msgstr ""
|
1182 |
|
1183 |
-
#: ../admin/class-is-settings-fields.php:
|
1184 |
msgid "Menu Search Form Settings"
|
1185 |
msgstr ""
|
1186 |
|
1187 |
-
#: ../admin/class-is-settings-fields.php:
|
1188 |
msgid "Display search in menu and configure it using below options."
|
1189 |
msgstr ""
|
1190 |
|
1191 |
-
#: ../admin/class-is-settings-fields.php:
|
1192 |
msgid "Make search changes on entire website using below options."
|
1193 |
msgstr ""
|
1194 |
|
1195 |
-
#: ../admin/class-is-settings-fields.php:
|
1196 |
msgid "Display search form on selected menu."
|
1197 |
msgstr ""
|
1198 |
|
1199 |
-
#: ../admin/class-is-settings-fields.php:
|
1200 |
#, php-format
|
1201 |
msgid "Please assign menu to navigation menu location in the %sMenus screen%s."
|
1202 |
msgstr ""
|
1203 |
|
1204 |
-
#: ../admin/class-is-settings-fields.php:
|
1205 |
msgid "Navigation menu location is not registered on the site."
|
1206 |
msgstr ""
|
1207 |
|
1208 |
-
#: ../admin/class-is-settings-fields.php:
|
1209 |
msgid "Select menu search form style."
|
1210 |
msgstr ""
|
1211 |
|
1212 |
-
#: ../admin/class-is-settings-fields.php:
|
1213 |
msgid "Default"
|
1214 |
msgstr ""
|
1215 |
|
1216 |
-
#: ../admin/class-is-settings-fields.php:
|
1217 |
msgid "Dropdown"
|
1218 |
msgstr ""
|
1219 |
|
1220 |
-
#: ../admin/class-is-settings-fields.php:
|
1221 |
msgid "Sliding"
|
1222 |
msgstr ""
|
1223 |
|
1224 |
-
#: ../admin/class-is-settings-fields.php:
|
1225 |
msgid "Full Width"
|
1226 |
msgstr ""
|
1227 |
|
1228 |
-
#: ../admin/class-is-settings-fields.php:
|
1229 |
msgid "Popup"
|
1230 |
msgstr ""
|
1231 |
|
1232 |
-
#: ../admin/class-is-settings-fields.php:
|
1233 |
msgid "Display search form close icon"
|
1234 |
msgstr ""
|
1235 |
|
1236 |
-
#: ../admin/class-is-settings-fields.php:
|
1237 |
msgid "Add menu title to display in place of search icon."
|
1238 |
msgstr ""
|
1239 |
|
1240 |
-
#: ../admin/class-is-settings-fields.php:
|
1241 |
msgid "Add class to search form menu item."
|
1242 |
msgstr ""
|
1243 |
|
1244 |
-
#: ../admin/class-is-settings-fields.php:
|
1245 |
msgid "Add multiple classes seperated by space."
|
1246 |
msgstr ""
|
1247 |
|
1248 |
-
#: ../admin/class-is-settings-fields.php:
|
1249 |
msgid "Select search form that will control menu search functionality."
|
1250 |
msgstr ""
|
1251 |
|
1252 |
-
#: ../admin/class-is-settings-fields.php:
|
1253 |
-
#: ../admin/class-is-settings-fields.php:
|
1254 |
-
#: ../admin/class-is-settings-fields.php:
|
1255 |
msgid "Create New"
|
1256 |
msgstr ""
|
1257 |
|
1258 |
-
#: ../admin/class-is-settings-fields.php:
|
1259 |
msgid ""
|
1260 |
"Add Google Custom Search( CSE ) search form code that will replace default "
|
1261 |
"search form."
|
1262 |
msgstr ""
|
1263 |
|
1264 |
-
#: ../admin/class-is-settings-fields.php:
|
1265 |
msgid "Select search form to display in site header."
|
1266 |
msgstr ""
|
1267 |
|
1268 |
-
#: ../admin/class-is-settings-fields.php:
|
1269 |
-
#: ../admin/class-is-settings-fields.php:
|
1270 |
msgid "none"
|
1271 |
msgstr ""
|
1272 |
|
1273 |
-
#: ../admin/class-is-settings-fields.php:
|
1274 |
msgid "Select search form to display in site footer."
|
1275 |
msgstr ""
|
1276 |
|
1277 |
-
#: ../admin/class-is-settings-fields.php:
|
1278 |
msgid "Display search form in site header on mobile devices"
|
1279 |
msgstr ""
|
1280 |
|
1281 |
-
#: ../admin/class-is-settings-fields.php:
|
1282 |
msgid ""
|
1283 |
"If this site uses cache then please select the below option to display "
|
1284 |
"search form on mobile."
|
1285 |
msgstr ""
|
1286 |
|
1287 |
-
#: ../admin/class-is-settings-fields.php:
|
1288 |
msgid "This site uses cache"
|
1289 |
msgstr ""
|
1290 |
|
1291 |
-
#: ../admin/class-is-settings-fields.php:
|
1292 |
msgid "Add custom css code."
|
1293 |
msgstr ""
|
1294 |
|
1295 |
-
#: ../admin/class-is-settings-fields.php:
|
1296 |
msgid "Enter stopwords here that will not be searched."
|
1297 |
msgstr ""
|
1298 |
|
1299 |
-
#: ../admin/class-is-settings-fields.php:
|
1300 |
msgid "Please separate multiple words with commas."
|
1301 |
msgstr ""
|
1302 |
|
1303 |
-
#: ../admin/class-is-settings-fields.php:
|
1304 |
msgid "Add synonyms here to make the searches find better results."
|
1305 |
msgstr ""
|
1306 |
|
1307 |
-
#: ../admin/class-is-settings-fields.php:
|
1308 |
msgid ""
|
1309 |
"If you add bird = crow to the list of synonyms, searches for bird "
|
1310 |
"automatically become a search for bird crow and will thus match to posts "
|
1311 |
"that include either bird or crow."
|
1312 |
msgstr ""
|
1313 |
|
1314 |
-
#: ../admin/class-is-settings-fields.php:
|
1315 |
msgid ""
|
1316 |
"This only works for search forms configured to search any of the search "
|
1317 |
"terms(OR) and not all search terms(AND) in the search form Options."
|
1318 |
msgstr ""
|
1319 |
|
1320 |
-
#: ../admin/class-is-settings-fields.php:
|
1321 |
msgid "The format here is key = value"
|
1322 |
msgstr ""
|
1323 |
|
1324 |
-
#: ../admin/class-is-settings-fields.php:
|
1325 |
msgid "Please add every synonyms key = value pairs on new line."
|
1326 |
msgstr ""
|
1327 |
|
1328 |
-
#: ../admin/class-is-settings-fields.php:
|
1329 |
msgid ""
|
1330 |
"Enable below options to disable loading of plugin CSS and JavaScript files."
|
1331 |
msgstr ""
|
1332 |
|
1333 |
-
#: ../admin/class-is-settings-fields.php:
|
1334 |
msgid "Do not load plugin CSS files"
|
1335 |
msgstr ""
|
1336 |
|
1337 |
-
#: ../admin/class-is-settings-fields.php:
|
1338 |
msgid "Do not load plugin JavaScript files"
|
1339 |
msgstr ""
|
1340 |
|
1341 |
-
#: ../admin/class-is-settings-fields.php:
|
1342 |
msgid ""
|
1343 |
"If checked, you have to add following plugin file code into your child theme "
|
1344 |
"CSS file."
|
1345 |
msgstr ""
|
1346 |
|
1347 |
-
#: ../admin/class-is-settings-fields.php:
|
1348 |
msgid ""
|
1349 |
"If checked, you have to add following plugin files code into your child "
|
1350 |
"theme JavaScript file."
|
1351 |
msgstr ""
|
1352 |
|
1353 |
-
#: ../admin/class-is-settings-fields.php:
|
1354 |
msgid "Disable search functionality on entire website"
|
1355 |
msgstr ""
|
1356 |
|
1357 |
-
#: ../admin/class-is-settings-fields.php:
|
1358 |
msgid "Warning: Use with caution."
|
1359 |
msgstr ""
|
1360 |
|
1361 |
-
#: ../admin/class-is-settings-fields.php:
|
1362 |
msgid ""
|
1363 |
"Do not use Default Search Form to control WordPress default search "
|
1364 |
"functionality"
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Ivory Search\n"
|
4 |
+
"POT-Creation-Date: 2019-09-25 18:58+0530\n"
|
5 |
+
"PO-Revision-Date: 2019-09-25 18:58+0530\n"
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: Ivory Search <admin@ivorysearch.com>\n"
|
8 |
"Language: en_US\n"
|
20 |
msgid "The changes you made will be lost if you navigate away from this page."
|
21 |
msgstr ""
|
22 |
|
23 |
+
#: ../admin/class-is-admin.php:137 ../admin/class-is-settings-fields.php:292
|
24 |
#: ../admin/partials/search-form.php:23
|
25 |
msgid "Edit Search Form"
|
26 |
msgstr ""
|
124 |
msgstr ""
|
125 |
|
126 |
#: ../admin/class-is-admin.php:417 ../admin/class-is-admin.php:422
|
127 |
+
#: ../admin/class-is-editor.php:684 ../admin/class-is-editor.php:1101
|
128 |
#: ../admin/class-is-help.php:35 ../admin/partials/search-form.php:109
|
129 |
msgid "Includes"
|
130 |
msgstr ""
|
190 |
msgid "Error in deleting."
|
191 |
msgstr ""
|
192 |
|
193 |
+
#: ../admin/class-is-admin.php:961
|
194 |
msgid "Save Form"
|
195 |
msgstr ""
|
196 |
|
197 |
+
#: ../admin/class-is-admin.php:973
|
198 |
msgid "Upgrade to Pro to Access"
|
199 |
msgstr ""
|
200 |
|
201 |
+
#: ../admin/class-is-admin.php:980
|
202 |
msgid "Install Premium Version to Access"
|
203 |
msgstr ""
|
204 |
|
205 |
+
#: ../admin/class-is-admin.php:982
|
206 |
msgid "Upgrade to Pro Plus to Access"
|
207 |
msgstr ""
|
208 |
|
218 |
msgid "Post Types"
|
219 |
msgstr ""
|
220 |
|
221 |
+
#: ../admin/class-is-editor.php:114 ../admin/class-is-editor.php:571
|
222 |
+
#: ../admin/class-is-editor.php:655 ../admin/class-is-editor.php:750
|
223 |
+
#: ../admin/class-is-editor.php:1072 ../admin/class-is-editor.php:1129
|
224 |
+
#: ../admin/class-is-editor.php:1411 ../admin/class-is-editor.php:1442
|
225 |
+
#: ../admin/class-is-editor.php:1556 ../admin/class-is-settings-fields.php:106
|
226 |
msgid "Expand All"
|
227 |
msgstr ""
|
228 |
|
229 |
+
#: ../admin/class-is-editor.php:114 ../admin/class-is-editor.php:571
|
230 |
+
#: ../admin/class-is-editor.php:656 ../admin/class-is-editor.php:751
|
231 |
+
#: ../admin/class-is-editor.php:1073 ../admin/class-is-editor.php:1129
|
232 |
+
#: ../admin/class-is-editor.php:1411 ../admin/class-is-editor.php:1442
|
233 |
+
#: ../admin/class-is-editor.php:1556 ../admin/class-is-settings-fields.php:106
|
234 |
msgid "Collapse All"
|
235 |
msgstr ""
|
236 |
|
250 |
msgid "Do not display post_type in the search URL"
|
251 |
msgstr ""
|
252 |
|
253 |
+
#: ../admin/class-is-editor.php:168 ../admin/class-is-editor.php:1121
|
254 |
msgid "( WooCommerce )"
|
255 |
msgstr ""
|
256 |
|
257 |
+
#: ../admin/class-is-editor.php:170 ../admin/class-is-editor.php:1123
|
258 |
msgid "( Images, Videos, Audios, Docs, PDFs, Files & Media )"
|
259 |
msgstr ""
|
260 |
|
261 |
#: ../admin/class-is-editor.php:215 ../admin/class-is-editor.php:263
|
262 |
+
#: ../admin/class-is-editor.php:286 ../admin/class-is-editor.php:337
|
263 |
+
#: ../admin/class-is-editor.php:1172 ../admin/class-is-editor.php:1225
|
264 |
+
#: ../admin/class-is-editor.php:1249 ../admin/class-is-editor.php:1296
|
265 |
msgid "Search.."
|
266 |
msgstr ""
|
267 |
|
268 |
+
#: ../admin/class-is-editor.php:219 ../admin/class-is-editor.php:1176
|
269 |
msgid "Load All"
|
270 |
msgstr ""
|
271 |
|
272 |
+
#: ../admin/class-is-editor.php:224 ../admin/class-is-editor.php:1182
|
273 |
#, php-format
|
274 |
msgid "No %ss created."
|
275 |
msgstr ""
|
276 |
|
277 |
#: ../admin/class-is-editor.php:226 ../admin/class-is-editor.php:272
|
278 |
+
#: ../admin/class-is-editor.php:296 ../admin/class-is-editor.php:345
|
279 |
+
#: ../admin/class-is-editor.php:1184 ../admin/class-is-editor.php:1234
|
280 |
+
#: ../admin/class-is-editor.php:1260 ../admin/class-is-editor.php:1304
|
281 |
msgid ""
|
282 |
"Hold down the control (ctrl) or command button to select multiple options."
|
283 |
msgstr ""
|
313 |
msgid "Search selected %s custom fields values"
|
314 |
msgstr ""
|
315 |
|
316 |
+
#: ../admin/class-is-editor.php:312
|
317 |
msgid "Search product SKU"
|
318 |
msgstr ""
|
319 |
|
320 |
+
#: ../admin/class-is-editor.php:315
|
321 |
msgid "Search product variation"
|
322 |
msgstr ""
|
323 |
|
324 |
+
#: ../admin/class-is-editor.php:347
|
325 |
msgid "Selected File Types :"
|
326 |
msgstr ""
|
327 |
|
328 |
+
#: ../admin/class-is-editor.php:355 ../admin/class-is-editor.php:1314
|
329 |
msgid "Search all MIME types"
|
330 |
msgstr ""
|
331 |
|
332 |
+
#: ../admin/class-is-editor.php:357
|
333 |
msgid "Search only selected MIME types"
|
334 |
msgstr ""
|
335 |
|
336 |
+
#: ../admin/class-is-editor.php:362
|
337 |
msgid "Search Images"
|
338 |
msgstr ""
|
339 |
|
340 |
+
#: ../admin/class-is-editor.php:364
|
341 |
msgid "Search Videos"
|
342 |
msgstr ""
|
343 |
|
344 |
+
#: ../admin/class-is-editor.php:366
|
345 |
msgid "Search Audios"
|
346 |
msgstr ""
|
347 |
|
348 |
+
#: ../admin/class-is-editor.php:368
|
349 |
msgid "Search Text Files"
|
350 |
msgstr ""
|
351 |
|
352 |
+
#: ../admin/class-is-editor.php:370
|
353 |
msgid "Search PDF Files"
|
354 |
msgstr ""
|
355 |
|
356 |
+
#: ../admin/class-is-editor.php:372
|
357 |
msgid "Search Document Files"
|
358 |
msgstr ""
|
359 |
|
360 |
+
#: ../admin/class-is-editor.php:379
|
361 |
#, php-format
|
362 |
msgid ""
|
363 |
"This search form is configured in the %s section to not search specific MIME "
|
364 |
"types."
|
365 |
msgstr ""
|
366 |
|
367 |
+
#: ../admin/class-is-editor.php:382 ../admin/class-is-editor.php:1340
|
368 |
msgid ""
|
369 |
"You are using WordPress version less than 4.9 which does not support "
|
370 |
"searching by MIME type."
|
371 |
msgstr ""
|
372 |
|
373 |
+
#: ../admin/class-is-editor.php:391 ../admin/class-is-editor.php:837
|
374 |
+
#: ../admin/class-is-editor.php:1047 ../admin/class-is-list-table.php:34
|
375 |
msgid "Date"
|
376 |
msgstr ""
|
377 |
|
378 |
+
#: ../admin/class-is-editor.php:395
|
379 |
msgid "Search posts created only in the specified date range."
|
380 |
msgstr ""
|
381 |
|
382 |
+
#: ../admin/class-is-editor.php:401
|
383 |
msgid "From"
|
384 |
msgstr ""
|
385 |
|
386 |
+
#: ../admin/class-is-editor.php:401
|
387 |
msgid "To"
|
388 |
msgstr ""
|
389 |
|
390 |
+
#: ../admin/class-is-editor.php:411 ../admin/class-is-editor.php:1350
|
391 |
msgid "Authors"
|
392 |
msgstr ""
|
393 |
|
394 |
+
#: ../admin/class-is-editor.php:415
|
395 |
msgid "Search posts created by selected authors."
|
396 |
msgstr ""
|
397 |
|
398 |
+
#: ../admin/class-is-editor.php:434 ../admin/class-is-editor.php:436
|
399 |
msgid "Searches all author posts"
|
400 |
msgstr ""
|
401 |
|
402 |
+
#: ../admin/class-is-editor.php:464
|
403 |
#, php-format
|
404 |
msgid ""
|
405 |
"This search form is configured in the %s section to not search for specific "
|
406 |
"author posts."
|
407 |
msgstr ""
|
408 |
|
409 |
+
#: ../admin/class-is-editor.php:472
|
410 |
msgid "Search author Display Name and display the posts created by that author"
|
411 |
msgstr ""
|
412 |
|
413 |
+
#: ../admin/class-is-editor.php:477
|
414 |
msgid "Comments"
|
415 |
msgstr ""
|
416 |
|
417 |
+
#: ../admin/class-is-editor.php:481
|
418 |
msgid "Search posts by configured comments."
|
419 |
msgstr ""
|
420 |
|
421 |
+
#: ../admin/class-is-editor.php:488
|
422 |
msgid "Search posts having number of comments"
|
423 |
msgstr ""
|
424 |
|
425 |
+
#: ../admin/class-is-editor.php:498
|
426 |
msgid "NA"
|
427 |
msgstr ""
|
428 |
|
429 |
+
#: ../admin/class-is-editor.php:509
|
430 |
msgid "Search approved comment content"
|
431 |
msgstr ""
|
432 |
|
433 |
+
#: ../admin/class-is-editor.php:514 ../admin/class-is-editor.php:1410
|
434 |
msgid "Post Status"
|
435 |
msgstr ""
|
436 |
|
437 |
+
#: ../admin/class-is-editor.php:518
|
438 |
msgid "Search posts having selected post statuses."
|
439 |
msgstr ""
|
440 |
|
441 |
+
#: ../admin/class-is-editor.php:535
|
442 |
msgid "Select Post Status"
|
443 |
msgstr ""
|
444 |
|
445 |
+
#: ../admin/class-is-editor.php:555
|
446 |
msgid "Password Protected"
|
447 |
msgstr ""
|
448 |
|
449 |
+
#: ../admin/class-is-editor.php:561
|
450 |
msgid "Search posts with or without passwords"
|
451 |
msgstr ""
|
452 |
|
453 |
+
#: ../admin/class-is-editor.php:563
|
454 |
msgid "Search posts with passwords"
|
455 |
msgstr ""
|
456 |
|
457 |
+
#: ../admin/class-is-editor.php:565
|
458 |
msgid "Search posts without passwords"
|
459 |
msgstr ""
|
460 |
|
461 |
+
#: ../admin/class-is-editor.php:570 ../admin/class-is-editor.php:1555
|
462 |
+
#: ../admin/class-is-settings-fields.php:139
|
463 |
msgid "Extras"
|
464 |
msgstr ""
|
465 |
|
466 |
+
#: ../admin/class-is-editor.php:577
|
467 |
#, php-format
|
468 |
msgid "Search post title %s( File title )%s"
|
469 |
msgstr ""
|
470 |
|
471 |
+
#: ../admin/class-is-editor.php:580
|
472 |
#, php-format
|
473 |
msgid "Search post content %s( File description )%s"
|
474 |
msgstr ""
|
475 |
|
476 |
+
#: ../admin/class-is-editor.php:583
|
477 |
#, php-format
|
478 |
msgid "Search post excerpt %s( File caption )%s"
|
479 |
msgstr ""
|
480 |
|
481 |
+
#: ../admin/class-is-editor.php:586
|
482 |
#, php-format
|
483 |
msgid "Search category title %s( Displays posts of the category )%s"
|
484 |
msgstr ""
|
485 |
|
486 |
+
#: ../admin/class-is-editor.php:589
|
487 |
#, php-format
|
488 |
msgid "Search category description %s( Displays posts of the category )%s"
|
489 |
msgstr ""
|
490 |
|
491 |
+
#: ../admin/class-is-editor.php:610
|
492 |
msgid ""
|
493 |
"Note: The below option is disabled and set to OR as you have configured the "
|
494 |
"search form to search multiple taxonomies."
|
495 |
msgstr ""
|
496 |
|
497 |
+
#: ../admin/class-is-editor.php:615
|
498 |
msgid "AND - Search posts having all the above selected category terms"
|
499 |
msgstr ""
|
500 |
|
501 |
+
#: ../admin/class-is-editor.php:617
|
502 |
msgid "OR - Search posts having any one of the above selected category terms"
|
503 |
msgstr ""
|
504 |
|
505 |
+
#: ../admin/class-is-editor.php:638
|
506 |
msgid "Use below options to customize this search form."
|
507 |
msgstr ""
|
508 |
|
509 |
+
#: ../admin/class-is-editor.php:645 ../admin/class-is-editor.php:660
|
510 |
msgid "Enable Search Form Customization"
|
511 |
msgstr ""
|
512 |
|
513 |
+
#: ../admin/class-is-editor.php:653 ../admin/class-is-editor.php:1070
|
514 |
#: ../includes/class-is-search-form.php:507
|
515 |
msgid "Customizer"
|
516 |
msgstr ""
|
517 |
|
518 |
+
#: ../admin/class-is-editor.php:661
|
519 |
msgid ""
|
520 |
"Use below customizer to customize search form colors, text and search form "
|
521 |
"style."
|
522 |
msgstr ""
|
523 |
|
524 |
+
#: ../admin/class-is-editor.php:669
|
525 |
msgid "Search Form Customizer"
|
526 |
msgstr ""
|
527 |
|
528 |
+
#: ../admin/class-is-editor.php:716
|
529 |
msgid "Nothing found"
|
530 |
msgstr ""
|
531 |
|
532 |
+
#: ../admin/class-is-editor.php:719
|
533 |
msgid "View All"
|
534 |
msgstr ""
|
535 |
|
536 |
+
#: ../admin/class-is-editor.php:723
|
537 |
msgid "More Results.."
|
538 |
msgstr ""
|
539 |
|
540 |
+
#: ../admin/class-is-editor.php:734
|
541 |
msgid ""
|
542 |
"Configure below options to manage AJAX functionality of this search form."
|
543 |
msgstr ""
|
544 |
|
545 |
+
#: ../admin/class-is-editor.php:741 ../admin/class-is-editor.php:755
|
546 |
+
#: ../admin/class-is-editor.php:928 ../admin/class-is-editor.php:1077
|
547 |
msgid "Enable AJAX Search"
|
548 |
msgstr ""
|
549 |
|
550 |
+
#: ../admin/class-is-editor.php:748
|
551 |
msgid "Search Results"
|
552 |
msgstr ""
|
553 |
|
554 |
+
#: ../admin/class-is-editor.php:756
|
555 |
msgid "Display selected content in the search results."
|
556 |
msgstr ""
|
557 |
|
558 |
+
#: ../admin/class-is-editor.php:763
|
559 |
msgid "Description"
|
560 |
msgstr ""
|
561 |
|
562 |
+
#: ../admin/class-is-editor.php:771
|
563 |
msgid "Excerpt"
|
564 |
msgstr ""
|
565 |
|
566 |
+
#: ../admin/class-is-editor.php:777
|
567 |
msgid "Content"
|
568 |
msgstr ""
|
569 |
|
570 |
+
#: ../admin/class-is-editor.php:785
|
571 |
msgid "Description Length."
|
572 |
msgstr ""
|
573 |
|
574 |
+
#: ../admin/class-is-editor.php:793
|
575 |
msgid "Image"
|
576 |
msgstr ""
|
577 |
|
578 |
+
#: ../admin/class-is-editor.php:804
|
579 |
msgid "Categories"
|
580 |
msgstr ""
|
581 |
|
582 |
+
#: ../admin/class-is-editor.php:815
|
583 |
msgid "Tags"
|
584 |
msgstr ""
|
585 |
|
586 |
+
#: ../admin/class-is-editor.php:826 ../admin/class-is-list-table.php:33
|
587 |
msgid "Author"
|
588 |
msgstr ""
|
589 |
|
590 |
+
#: ../admin/class-is-editor.php:844
|
591 |
msgid "Minimum number of characters required to run ajax search."
|
592 |
msgstr ""
|
593 |
|
594 |
+
#: ../admin/class-is-editor.php:849
|
595 |
msgid "Search results box max height."
|
596 |
msgstr ""
|
597 |
|
598 |
+
#: ../admin/class-is-editor.php:852
|
599 |
msgid "Configure the plugin text displayed in the search results."
|
600 |
msgstr ""
|
601 |
|
602 |
+
#: ../admin/class-is-editor.php:857
|
603 |
msgid "Text when there is no search results. HTML tags is allowed."
|
604 |
msgstr ""
|
605 |
|
606 |
+
#: ../admin/class-is-editor.php:866
|
607 |
msgid "Show 'More Results..' text in the bottom of the search results box"
|
608 |
msgstr ""
|
609 |
|
610 |
+
#: ../admin/class-is-editor.php:874
|
611 |
msgid "Text for the \"More Results..\"."
|
612 |
msgstr ""
|
613 |
|
614 |
+
#: ../admin/class-is-editor.php:884
|
615 |
msgid ""
|
616 |
"View All Result - Show link to search results page at the bottom of search "
|
617 |
"results block."
|
618 |
msgstr ""
|
619 |
|
620 |
+
#: ../admin/class-is-editor.php:893
|
621 |
msgid ""
|
622 |
"Text for the \"View All\" which shown at the bottom of the search result."
|
623 |
msgstr ""
|
624 |
|
625 |
+
#: ../admin/class-is-editor.php:898
|
626 |
msgid "Configure how the search button should work clicking on it."
|
627 |
msgstr ""
|
628 |
|
629 |
+
#: ../admin/class-is-editor.php:904
|
630 |
msgid "Search button displays search results page"
|
631 |
msgstr ""
|
632 |
|
633 |
+
#: ../admin/class-is-editor.php:911
|
634 |
msgid "Search button displays ajax search results"
|
635 |
msgstr ""
|
636 |
|
637 |
+
#: ../admin/class-is-editor.php:919 ../admin/class-is-help.php:137
|
638 |
msgid "WooCommerce"
|
639 |
msgstr ""
|
640 |
|
641 |
+
#: ../admin/class-is-editor.php:926
|
642 |
#, php-format
|
643 |
msgid ""
|
644 |
"Please first configure this search form in the %s section to search "
|
645 |
"WooCommerce product post type."
|
646 |
msgstr ""
|
647 |
|
648 |
+
#: ../admin/class-is-editor.php:929
|
649 |
msgid "Display selected WooCommerce content in the search results."
|
650 |
msgstr ""
|
651 |
|
652 |
+
#: ../admin/class-is-editor.php:936 ../admin/class-is-editor.php:1048
|
653 |
msgid "Price"
|
654 |
msgstr ""
|
655 |
|
656 |
+
#: ../admin/class-is-editor.php:947
|
657 |
msgid "Hide Price for Out of Stock Products"
|
658 |
msgstr ""
|
659 |
|
660 |
+
#: ../admin/class-is-editor.php:958
|
661 |
msgid "Sale Badge"
|
662 |
msgstr ""
|
663 |
|
664 |
+
#: ../admin/class-is-editor.php:969
|
665 |
msgid "SKU"
|
666 |
msgstr ""
|
667 |
|
668 |
+
#: ../admin/class-is-editor.php:980
|
669 |
msgid "Stock Status"
|
670 |
msgstr ""
|
671 |
|
672 |
+
#: ../admin/class-is-editor.php:991
|
673 |
msgid "Featured Icon"
|
674 |
msgstr ""
|
675 |
|
676 |
+
#: ../admin/class-is-editor.php:1002
|
677 |
msgid "Matching Categories"
|
678 |
msgstr ""
|
679 |
|
680 |
+
#: ../admin/class-is-editor.php:1013
|
681 |
msgid "Matching Tags"
|
682 |
msgstr ""
|
683 |
|
684 |
+
#: ../admin/class-is-editor.php:1024
|
685 |
msgid "Details Box"
|
686 |
msgstr ""
|
687 |
|
688 |
+
#: ../admin/class-is-editor.php:1030
|
689 |
msgid "Below options only apply to matching categories or tags."
|
690 |
msgstr ""
|
691 |
|
692 |
+
#: ../admin/class-is-editor.php:1032
|
693 |
msgid "Product List"
|
694 |
msgstr ""
|
695 |
|
696 |
+
#: ../admin/class-is-editor.php:1035
|
697 |
msgid "All Product"
|
698 |
msgstr ""
|
699 |
|
700 |
+
#: ../admin/class-is-editor.php:1036
|
701 |
msgid "Featured Products"
|
702 |
msgstr ""
|
703 |
|
704 |
+
#: ../admin/class-is-editor.php:1037
|
705 |
msgid "On-sale Products</option>"
|
706 |
msgstr ""
|
707 |
|
708 |
+
#: ../admin/class-is-editor.php:1044
|
709 |
msgid "Order by"
|
710 |
msgstr ""
|
711 |
|
712 |
+
#: ../admin/class-is-editor.php:1049
|
713 |
msgid "Random"
|
714 |
msgstr ""
|
715 |
|
716 |
+
#: ../admin/class-is-editor.php:1050
|
717 |
msgid "Sales"
|
718 |
msgstr ""
|
719 |
|
720 |
+
#: ../admin/class-is-editor.php:1057
|
721 |
msgid "Order"
|
722 |
msgstr ""
|
723 |
|
724 |
+
#: ../admin/class-is-editor.php:1060
|
725 |
msgid "ASC"
|
726 |
msgstr ""
|
727 |
|
728 |
+
#: ../admin/class-is-editor.php:1061
|
729 |
msgid "DESC"
|
730 |
msgstr ""
|
731 |
|
732 |
+
#: ../admin/class-is-editor.php:1078
|
733 |
msgid ""
|
734 |
"Use below customizer to customize AJAX search results color and loader image."
|
735 |
msgstr ""
|
736 |
|
737 |
+
#: ../admin/class-is-editor.php:1086
|
738 |
msgid "AJAX Search Customizer"
|
739 |
msgstr ""
|
740 |
|
741 |
+
#: ../admin/class-is-editor.php:1105
|
742 |
msgid "This search form excludes the below configured content from search."
|
743 |
msgstr ""
|
744 |
|
745 |
+
#: ../admin/class-is-editor.php:1191
|
746 |
#, php-format
|
747 |
msgid ""
|
748 |
"The search form is configured in the %s section to only search specific "
|
749 |
"posts of another post type."
|
750 |
msgstr ""
|
751 |
|
752 |
+
#: ../admin/class-is-editor.php:1197
|
753 |
#, php-format
|
754 |
msgid "Do not exclude any %s from search"
|
755 |
msgstr ""
|
756 |
|
757 |
+
#: ../admin/class-is-editor.php:1199
|
758 |
#, php-format
|
759 |
msgid "Exclude selected %ss from search"
|
760 |
msgstr ""
|
761 |
|
762 |
+
#: ../admin/class-is-editor.php:1202
|
763 |
#, php-format
|
764 |
msgid ""
|
765 |
"The search form is configured in the %s section to only search specific "
|
766 |
"posts."
|
767 |
msgstr ""
|
768 |
|
769 |
+
#: ../admin/class-is-editor.php:1238
|
770 |
#, php-format
|
771 |
msgid ""
|
772 |
"Do not exclude any %s from search of any taxonomies (%s categories, tags & "
|
773 |
"terms %s)"
|
774 |
msgstr ""
|
775 |
|
776 |
+
#: ../admin/class-is-editor.php:1240
|
777 |
#, php-format
|
778 |
msgid ""
|
779 |
"Exclude %ss from search of selected taxonomies (%s categories, tags & terms "
|
780 |
"%s)"
|
781 |
msgstr ""
|
782 |
|
783 |
+
#: ../admin/class-is-editor.php:1264
|
784 |
#, php-format
|
785 |
msgid "Exclude %ss from search having selected custom fields"
|
786 |
msgstr ""
|
787 |
|
788 |
+
#: ../admin/class-is-editor.php:1276
|
789 |
msgid "Exclude 'Out of Stock' products from search"
|
790 |
msgstr ""
|
791 |
|
792 |
+
#: ../admin/class-is-editor.php:1306
|
793 |
msgid "Excluded File Types :"
|
794 |
msgstr ""
|
795 |
|
796 |
+
#: ../admin/class-is-editor.php:1316
|
797 |
msgid "Exclude selected MIME types from search"
|
798 |
msgstr ""
|
799 |
|
800 |
+
#: ../admin/class-is-editor.php:1320
|
801 |
msgid "Exclude Images"
|
802 |
msgstr ""
|
803 |
|
804 |
+
#: ../admin/class-is-editor.php:1322
|
805 |
msgid "Exclude Videos"
|
806 |
msgstr ""
|
807 |
|
808 |
+
#: ../admin/class-is-editor.php:1324
|
809 |
msgid "Exclude Audios"
|
810 |
msgstr ""
|
811 |
|
812 |
+
#: ../admin/class-is-editor.php:1326
|
813 |
msgid "Exclude Text Files"
|
814 |
msgstr ""
|
815 |
|
816 |
+
#: ../admin/class-is-editor.php:1328
|
817 |
msgid "Exclude PDF Files"
|
818 |
msgstr ""
|
819 |
|
820 |
+
#: ../admin/class-is-editor.php:1330
|
821 |
msgid "Exclude Document Files"
|
822 |
msgstr ""
|
823 |
|
824 |
+
#: ../admin/class-is-editor.php:1337
|
825 |
#, php-format
|
826 |
msgid ""
|
827 |
"This search form is configured in the %s section to search specific "
|
828 |
"attachments."
|
829 |
msgstr ""
|
830 |
|
831 |
+
#: ../admin/class-is-editor.php:1354
|
832 |
msgid "Exclude posts from search created by selected authors."
|
833 |
msgstr ""
|
834 |
|
835 |
+
#: ../admin/class-is-editor.php:1373 ../admin/class-is-editor.php:1375
|
836 |
msgid "Search all author posts"
|
837 |
msgstr ""
|
838 |
|
839 |
+
#: ../admin/class-is-editor.php:1403
|
840 |
#, php-format
|
841 |
msgid ""
|
842 |
"This search form is configured in the %s section to search posts created by "
|
843 |
"specific authors."
|
844 |
msgstr ""
|
845 |
|
846 |
+
#: ../admin/class-is-editor.php:1415
|
847 |
msgid "Exclude posts from search having selected post statuses."
|
848 |
msgstr ""
|
849 |
|
850 |
+
#: ../admin/class-is-editor.php:1420
|
851 |
msgid "Exclude sticky posts from search"
|
852 |
msgstr ""
|
853 |
|
854 |
+
#: ../admin/class-is-editor.php:1434
|
855 |
msgid "Configure below options to manage functionality of this search form."
|
856 |
msgstr ""
|
857 |
|
858 |
+
#: ../admin/class-is-editor.php:1441
|
859 |
msgid "Posts Per Page"
|
860 |
msgstr ""
|
861 |
|
862 |
+
#: ../admin/class-is-editor.php:1445
|
863 |
msgid "Display selected number of posts on search results page."
|
864 |
msgstr ""
|
865 |
|
866 |
+
#: ../admin/class-is-editor.php:1460
|
867 |
msgid "Order Search Results"
|
868 |
msgstr ""
|
869 |
|
870 |
+
#: ../admin/class-is-editor.php:1463
|
871 |
msgid "Display posts on search results page ordered by selected options."
|
872 |
msgstr ""
|
873 |
|
874 |
+
#: ../admin/class-is-editor.php:1488
|
875 |
msgid "Highlight Search Terms"
|
876 |
msgstr ""
|
877 |
|
878 |
+
#: ../admin/class-is-editor.php:1494
|
879 |
msgid "Highlight searched terms on search results page"
|
880 |
msgstr ""
|
881 |
|
882 |
+
#: ../admin/class-is-editor.php:1497
|
883 |
msgid "Set highlight color in Hex format"
|
884 |
msgstr ""
|
885 |
|
886 |
+
#: ../admin/class-is-editor.php:1503
|
887 |
msgid "Search All Or Any Search Terms"
|
888 |
msgstr ""
|
889 |
|
890 |
+
#: ../admin/class-is-editor.php:1507
|
891 |
msgid ""
|
892 |
"Select whether to search posts having all or any of the words being searched."
|
893 |
msgstr ""
|
894 |
|
895 |
+
#: ../admin/class-is-editor.php:1512
|
896 |
msgid "OR - Display content having any of the search terms"
|
897 |
msgstr ""
|
898 |
|
899 |
+
#: ../admin/class-is-editor.php:1514
|
900 |
msgid "AND - Display content having all the search terms"
|
901 |
msgstr ""
|
902 |
|
903 |
+
#: ../admin/class-is-editor.php:1520
|
904 |
msgid "Fuzzy Matching"
|
905 |
msgstr ""
|
906 |
|
907 |
+
#: ../admin/class-is-editor.php:1523
|
908 |
msgid ""
|
909 |
"Select whether to search posts having whole or partial word being searched."
|
910 |
msgstr ""
|
911 |
|
912 |
+
#: ../admin/class-is-editor.php:1528
|
913 |
msgid "Whole - Search posts that include the whole search term"
|
914 |
msgstr ""
|
915 |
|
916 |
+
#: ../admin/class-is-editor.php:1530
|
917 |
msgid ""
|
918 |
"Partial - Also search words in the posts that begins or ends with the search "
|
919 |
"term"
|
920 |
msgstr ""
|
921 |
|
922 |
+
#: ../admin/class-is-editor.php:1536
|
923 |
msgid "Keyword Stemming"
|
924 |
msgstr ""
|
925 |
|
926 |
+
#: ../admin/class-is-editor.php:1540
|
927 |
msgid "Select whether to search the base word of a searched keyword."
|
928 |
msgstr ""
|
929 |
|
930 |
+
#: ../admin/class-is-editor.php:1541
|
931 |
msgid ""
|
932 |
"For Example: If you search \"doing\" then it also searches base word of "
|
933 |
"\"doing\" that is \"do\" in the specified post types."
|
934 |
msgstr ""
|
935 |
|
936 |
+
#: ../admin/class-is-editor.php:1542
|
937 |
msgid "Not recommended to use when Fuzzy Matching option is set to Whole."
|
938 |
msgstr ""
|
939 |
|
940 |
+
#: ../admin/class-is-editor.php:1548
|
941 |
msgid "Also search base word of searched keyword"
|
942 |
msgstr ""
|
943 |
|
944 |
+
#: ../admin/class-is-editor.php:1561
|
945 |
msgid "Display sticky posts to the start of the search results page"
|
946 |
msgstr ""
|
947 |
|
948 |
+
#: ../admin/class-is-editor.php:1565
|
949 |
msgid "Display search form only for site administrator"
|
950 |
msgstr ""
|
951 |
|
952 |
+
#: ../admin/class-is-editor.php:1569
|
953 |
msgid "Disable this search form"
|
954 |
msgstr ""
|
955 |
|
956 |
+
#: ../admin/class-is-editor.php:1572
|
957 |
msgid ""
|
958 |
"Select whether to display an error when user perform search without any "
|
959 |
"search word."
|
960 |
msgstr ""
|
961 |
|
962 |
+
#: ../admin/class-is-editor.php:1576
|
963 |
msgid "Display an error for empty search query"
|
964 |
msgstr ""
|
965 |
|
1123 |
msgstr ""
|
1124 |
|
1125 |
#: ../admin/class-is-list-table.php:158
|
1126 |
+
#: ../admin/class-is-settings-fields.php:334
|
1127 |
+
#: ../admin/class-is-settings-fields.php:366
|
1128 |
#: ../includes/class-is-search-form.php:503 ../includes/class-is-widget.php:71
|
1129 |
msgid "Edit"
|
1130 |
msgstr ""
|
1152 |
msgid "d/m/Y"
|
1153 |
msgstr ""
|
1154 |
|
1155 |
+
#: ../admin/class-is-settings-fields.php:132
|
1156 |
msgid "Header Search"
|
1157 |
msgstr ""
|
1158 |
|
1159 |
+
#: ../admin/class-is-settings-fields.php:133
|
1160 |
msgid "Footer Search"
|
1161 |
msgstr ""
|
1162 |
|
1163 |
+
#: ../admin/class-is-settings-fields.php:134
|
1164 |
msgid "Mobile Search"
|
1165 |
msgstr ""
|
1166 |
|
1167 |
+
#: ../admin/class-is-settings-fields.php:135
|
1168 |
msgid "Custom CSS"
|
1169 |
msgstr ""
|
1170 |
|
1171 |
+
#: ../admin/class-is-settings-fields.php:136
|
1172 |
msgid "Stopwords"
|
1173 |
msgstr ""
|
1174 |
|
1175 |
+
#: ../admin/class-is-settings-fields.php:137
|
1176 |
msgid "Synonyms"
|
1177 |
msgstr ""
|
1178 |
|
1179 |
+
#: ../admin/class-is-settings-fields.php:138
|
1180 |
msgid "Plugin Files"
|
1181 |
msgstr ""
|
1182 |
|
1183 |
+
#: ../admin/class-is-settings-fields.php:147
|
1184 |
msgid "Menu Search Form Settings"
|
1185 |
msgstr ""
|
1186 |
|
1187 |
+
#: ../admin/class-is-settings-fields.php:157
|
1188 |
msgid "Display search in menu and configure it using below options."
|
1189 |
msgstr ""
|
1190 |
|
1191 |
+
#: ../admin/class-is-settings-fields.php:164
|
1192 |
msgid "Make search changes on entire website using below options."
|
1193 |
msgstr ""
|
1194 |
|
1195 |
+
#: ../admin/class-is-settings-fields.php:174
|
1196 |
msgid "Display search form on selected menu."
|
1197 |
msgstr ""
|
1198 |
|
1199 |
+
#: ../admin/class-is-settings-fields.php:191
|
1200 |
#, php-format
|
1201 |
msgid "Please assign menu to navigation menu location in the %sMenus screen%s."
|
1202 |
msgstr ""
|
1203 |
|
1204 |
+
#: ../admin/class-is-settings-fields.php:194
|
1205 |
msgid "Navigation menu location is not registered on the site."
|
1206 |
msgstr ""
|
1207 |
|
1208 |
+
#: ../admin/class-is-settings-fields.php:207
|
1209 |
msgid "Select menu search form style."
|
1210 |
msgstr ""
|
1211 |
|
1212 |
+
#: ../admin/class-is-settings-fields.php:211
|
1213 |
msgid "Default"
|
1214 |
msgstr ""
|
1215 |
|
1216 |
+
#: ../admin/class-is-settings-fields.php:212
|
1217 |
msgid "Dropdown"
|
1218 |
msgstr ""
|
1219 |
|
1220 |
+
#: ../admin/class-is-settings-fields.php:213
|
1221 |
msgid "Sliding"
|
1222 |
msgstr ""
|
1223 |
|
1224 |
+
#: ../admin/class-is-settings-fields.php:214
|
1225 |
msgid "Full Width"
|
1226 |
msgstr ""
|
1227 |
|
1228 |
+
#: ../admin/class-is-settings-fields.php:215
|
1229 |
msgid "Popup"
|
1230 |
msgstr ""
|
1231 |
|
1232 |
+
#: ../admin/class-is-settings-fields.php:244
|
1233 |
msgid "Display search form close icon"
|
1234 |
msgstr ""
|
1235 |
|
1236 |
+
#: ../admin/class-is-settings-fields.php:250
|
1237 |
msgid "Add menu title to display in place of search icon."
|
1238 |
msgstr ""
|
1239 |
|
1240 |
+
#: ../admin/class-is-settings-fields.php:260
|
1241 |
msgid "Add class to search form menu item."
|
1242 |
msgstr ""
|
1243 |
|
1244 |
+
#: ../admin/class-is-settings-fields.php:264
|
1245 |
msgid "Add multiple classes seperated by space."
|
1246 |
msgstr ""
|
1247 |
|
1248 |
+
#: ../admin/class-is-settings-fields.php:270
|
1249 |
msgid "Select search form that will control menu search functionality."
|
1250 |
msgstr ""
|
1251 |
|
1252 |
+
#: ../admin/class-is-settings-fields.php:294
|
1253 |
+
#: ../admin/class-is-settings-fields.php:336
|
1254 |
+
#: ../admin/class-is-settings-fields.php:368 ../includes/class-is-widget.php:73
|
1255 |
msgid "Create New"
|
1256 |
msgstr ""
|
1257 |
|
1258 |
+
#: ../admin/class-is-settings-fields.php:302
|
1259 |
msgid ""
|
1260 |
"Add Google Custom Search( CSE ) search form code that will replace default "
|
1261 |
"search form."
|
1262 |
msgstr ""
|
1263 |
|
1264 |
+
#: ../admin/class-is-settings-fields.php:315
|
1265 |
msgid "Select search form to display in site header."
|
1266 |
msgstr ""
|
1267 |
|
1268 |
+
#: ../admin/class-is-settings-fields.php:327
|
1269 |
+
#: ../admin/class-is-settings-fields.php:359
|
1270 |
msgid "none"
|
1271 |
msgstr ""
|
1272 |
|
1273 |
+
#: ../admin/class-is-settings-fields.php:347
|
1274 |
msgid "Select search form to display in site footer."
|
1275 |
msgstr ""
|
1276 |
|
1277 |
+
#: ../admin/class-is-settings-fields.php:383
|
1278 |
msgid "Display search form in site header on mobile devices"
|
1279 |
msgstr ""
|
1280 |
|
1281 |
+
#: ../admin/class-is-settings-fields.php:386
|
1282 |
msgid ""
|
1283 |
"If this site uses cache then please select the below option to display "
|
1284 |
"search form on mobile."
|
1285 |
msgstr ""
|
1286 |
|
1287 |
+
#: ../admin/class-is-settings-fields.php:393
|
1288 |
msgid "This site uses cache"
|
1289 |
msgstr ""
|
1290 |
|
1291 |
+
#: ../admin/class-is-settings-fields.php:401
|
1292 |
msgid "Add custom css code."
|
1293 |
msgstr ""
|
1294 |
|
1295 |
+
#: ../admin/class-is-settings-fields.php:412
|
1296 |
msgid "Enter stopwords here that will not be searched."
|
1297 |
msgstr ""
|
1298 |
|
1299 |
+
#: ../admin/class-is-settings-fields.php:416
|
1300 |
msgid "Please separate multiple words with commas."
|
1301 |
msgstr ""
|
1302 |
|
1303 |
+
#: ../admin/class-is-settings-fields.php:424
|
1304 |
msgid "Add synonyms here to make the searches find better results."
|
1305 |
msgstr ""
|
1306 |
|
1307 |
+
#: ../admin/class-is-settings-fields.php:425
|
1308 |
msgid ""
|
1309 |
"If you add bird = crow to the list of synonyms, searches for bird "
|
1310 |
"automatically become a search for bird crow and will thus match to posts "
|
1311 |
"that include either bird or crow."
|
1312 |
msgstr ""
|
1313 |
|
1314 |
+
#: ../admin/class-is-settings-fields.php:426
|
1315 |
msgid ""
|
1316 |
"This only works for search forms configured to search any of the search "
|
1317 |
"terms(OR) and not all search terms(AND) in the search form Options."
|
1318 |
msgstr ""
|
1319 |
|
1320 |
+
#: ../admin/class-is-settings-fields.php:431
|
1321 |
msgid "The format here is key = value"
|
1322 |
msgstr ""
|
1323 |
|
1324 |
+
#: ../admin/class-is-settings-fields.php:432
|
1325 |
msgid "Please add every synonyms key = value pairs on new line."
|
1326 |
msgstr ""
|
1327 |
|
1328 |
+
#: ../admin/class-is-settings-fields.php:442
|
1329 |
msgid ""
|
1330 |
"Enable below options to disable loading of plugin CSS and JavaScript files."
|
1331 |
msgstr ""
|
1332 |
|
1333 |
+
#: ../admin/class-is-settings-fields.php:446
|
1334 |
msgid "Do not load plugin CSS files"
|
1335 |
msgstr ""
|
1336 |
|
1337 |
+
#: ../admin/class-is-settings-fields.php:447
|
1338 |
msgid "Do not load plugin JavaScript files"
|
1339 |
msgstr ""
|
1340 |
|
1341 |
+
#: ../admin/class-is-settings-fields.php:465
|
1342 |
msgid ""
|
1343 |
"If checked, you have to add following plugin file code into your child theme "
|
1344 |
"CSS file."
|
1345 |
msgstr ""
|
1346 |
|
1347 |
+
#: ../admin/class-is-settings-fields.php:469
|
1348 |
msgid ""
|
1349 |
"If checked, you have to add following plugin files code into your child "
|
1350 |
"theme JavaScript file."
|
1351 |
msgstr ""
|
1352 |
|
1353 |
+
#: ../admin/class-is-settings-fields.php:487
|
1354 |
msgid "Disable search functionality on entire website"
|
1355 |
msgstr ""
|
1356 |
|
1357 |
+
#: ../admin/class-is-settings-fields.php:493
|
1358 |
msgid "Warning: Use with caution."
|
1359 |
msgstr ""
|
1360 |
|
1361 |
+
#: ../admin/class-is-settings-fields.php:498
|
1362 |
msgid ""
|
1363 |
"Do not use Default Search Form to control WordPress default search "
|
1364 |
"functionality"
|
public/class-is-public.php
CHANGED
@@ -17,21 +17,12 @@ class IS_Public
|
|
17 |
* @var self
|
18 |
*/
|
19 |
private static $_instance ;
|
20 |
-
/**
|
21 |
-
* Stores flag to know whether new plugin options are saved.
|
22 |
-
*/
|
23 |
-
public $ivory_search = false ;
|
24 |
/**
|
25 |
* Initializes this class and stores the plugin options.
|
26 |
*/
|
27 |
public function __construct()
|
28 |
{
|
29 |
$is = Ivory_Search::getInstance();
|
30 |
-
$new_opt = get_option( 'ivory_search' );
|
31 |
-
$new_opt2 = get_option( 'is_menu_search' );
|
32 |
-
if ( !empty($new_opt) || !empty($new_opt2) ) {
|
33 |
-
$this->ivory_search = true;
|
34 |
-
}
|
35 |
|
36 |
if ( null !== $is ) {
|
37 |
$this->opt = $is->opt;
|
@@ -61,7 +52,7 @@ class IS_Public
|
|
61 |
{
|
62 |
global $wp_query ;
|
63 |
|
64 |
-
if (
|
65 |
wp_enqueue_script(
|
66 |
'ivory-search-scripts',
|
67 |
plugins_url( '/public/js/ivory-search.js', IS_PLUGIN_FILE ),
|
@@ -233,57 +224,38 @@ class IS_Public
|
|
233 |
*/
|
234 |
function wp_nav_menu_items( $items, $args )
|
235 |
{
|
236 |
-
if ( isset( $this->opt['
|
237 |
|
238 |
if ( isset( $this->opt['menu_gcse'] ) && '' != $this->opt['menu_gcse'] ) {
|
239 |
$items .= '<li class="gsc-cse-search-menu">' . $this->opt['menu_gcse'] . '</li>';
|
240 |
} else {
|
|
|
|
|
|
|
|
|
241 |
|
242 |
-
if (
|
243 |
-
$items .= '<
|
244 |
-
} else {
|
245 |
-
$search_class = ( !$this->ivory_search && isset( $this->opt['add_search_to_menu_classes'] ) ? $this->opt['add_search_to_menu_classes'] . ' astm-search-menu is-menu ' : 'astm-search-menu is-menu ' );
|
246 |
-
$search_class = ( isset( $this->opt['menu_classes'] ) ? $this->opt['menu_classes'] . ' astm-search-menu is-menu ' : $search_class );
|
247 |
-
|
248 |
-
if ( isset( $this->opt['menu_style'] ) ) {
|
249 |
-
$search_class .= $this->opt['menu_style'];
|
250 |
-
} else {
|
251 |
-
$search_class .= ( !$this->ivory_search && isset( $this->opt['add_search_to_menu_style'] ) ? $this->opt['add_search_to_menu_style'] : 'default' );
|
252 |
-
}
|
253 |
-
|
254 |
-
|
255 |
-
if ( isset( $this->opt['menu_title'] ) ) {
|
256 |
-
$title = $this->opt['menu_title'];
|
257 |
-
} else {
|
258 |
-
$title = ( !$this->ivory_search && isset( $this->opt['add_search_to_menu_title'] ) ? $this->opt['add_search_to_menu_title'] : '' );
|
259 |
-
}
|
260 |
-
|
261 |
-
$items .= '<li class="' . esc_attr( $search_class ) . '">';
|
262 |
|
263 |
-
if (
|
264 |
-
$items .= '<
|
265 |
-
|
266 |
-
if ( '' == $title ) {
|
267 |
-
$items .= '<svg width="20" height="20" class="search-icon" role="img" viewBox="2 9 20 5">
|
268 |
<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>';
|
269 |
-
|
270 |
-
|
271 |
-
}
|
272 |
-
|
273 |
-
$items .= '</a>';
|
274 |
}
|
275 |
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
|
|
|
|
282 |
}
|
283 |
-
|
284 |
-
$items .= '</li>';
|
285 |
}
|
286 |
-
|
|
|
287 |
}
|
288 |
|
289 |
}
|
@@ -300,53 +272,34 @@ class IS_Public
|
|
300 |
if ( isset( $this->opt['menu_gcse'] ) && $this->opt['menu_gcse'] != '' ) {
|
301 |
$items .= '<div class="astm-search-menu-wrapper is-menu-wrapper"><div class="gsc-cse-search-menu">' . $this->opt['menu_gcse'] . '</div></div>';
|
302 |
} else {
|
|
|
|
|
|
|
|
|
|
|
303 |
|
304 |
-
if (
|
305 |
-
$items .= '<
|
306 |
-
} else {
|
307 |
-
$search_class = ( !$this->ivory_search && isset( $this->opt['add_search_to_menu_classes'] ) ? $this->opt['add_search_to_menu_classes'] . ' astm-search-menu is-menu ' : 'astm-search-menu is-menu ' );
|
308 |
-
$search_class = ( isset( $this->opt['menu_classes'] ) ? $this->opt['menu_classes'] . ' astm-search-menu is-menu ' : $search_class );
|
309 |
-
|
310 |
-
if ( isset( $this->opt['menu_style'] ) ) {
|
311 |
-
$search_class .= $this->opt['menu_style'];
|
312 |
-
} else {
|
313 |
-
$search_class .= ( !$this->ivory_search && isset( $this->opt['add_search_to_menu_style'] ) ? $this->opt['add_search_to_menu_style'] : 'default' );
|
314 |
-
}
|
315 |
-
|
316 |
-
|
317 |
-
if ( isset( $this->opt['menu_title'] ) ) {
|
318 |
-
$title = $this->opt['menu_title'];
|
319 |
-
} else {
|
320 |
-
$title = ( !$this->ivory_search && isset( $this->opt['add_search_to_menu_title'] ) ? $this->opt['add_search_to_menu_title'] : '' );
|
321 |
-
}
|
322 |
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
if ( isset( $this->opt['add_search_to_menu_style'] ) && $this->opt['add_search_to_menu_style'] != 'default' && !$this->ivory_search || isset( $this->opt['menu_style'] ) && $this->opt['menu_style'] != 'default' ) {
|
327 |
-
$items .= '<a title="' . esc_attr( $title ) . '" href="#">';
|
328 |
-
|
329 |
-
if ( '' == $title ) {
|
330 |
-
$items .= '<svg width="20" height="20" class="search-icon" role="img" viewBox="2 9 20 5">
|
331 |
<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>';
|
332 |
-
|
333 |
-
|
334 |
-
}
|
335 |
-
|
336 |
-
$items .= '</a>';
|
337 |
}
|
338 |
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
|
|
|
|
345 |
}
|
346 |
-
|
347 |
-
$items .= '</span></div></div>';
|
348 |
}
|
349 |
-
|
|
|
350 |
}
|
351 |
|
352 |
echo $items ;
|
@@ -906,22 +859,13 @@ class IS_Public
|
|
906 |
echo '/* Ivory search custom CSS code */' ;
|
907 |
echo wp_specialchars_decode( esc_html( $this->opt['custom_css'] ), ENT_QUOTES ) ;
|
908 |
echo '</style>' ;
|
909 |
-
} else {
|
910 |
-
|
911 |
-
if ( !$this->ivory_search && isset( $this->opt['add_search_to_menu_css'] ) && $this->opt['add_search_to_menu_css'] != '' ) {
|
912 |
-
echo '<style type="text/css" media="screen">' ;
|
913 |
-
echo '/* Add search to menu custom CSS code */' ;
|
914 |
-
echo wp_specialchars_decode( esc_html( $this->opt['add_search_to_menu_css'] ), ENT_QUOTES ) ;
|
915 |
-
echo '</style>' ;
|
916 |
-
}
|
917 |
-
|
918 |
}
|
919 |
|
920 |
global $wp_query ;
|
921 |
|
922 |
if ( is_search() && isset( $wp_query->query_vars['_is_settings']['highlight_terms'] ) && isset( $wp_query->query_vars['_is_settings']['highlight_color'] ) ) {
|
923 |
echo '<style type="text/css" media="screen">' ;
|
924 |
-
echo '.is-highlight { background-color: ' . $wp_query->query_vars['_is_settings']['highlight_color'] . ';}' ;
|
925 |
echo '</style>' ;
|
926 |
}
|
927 |
|
17 |
* @var self
|
18 |
*/
|
19 |
private static $_instance ;
|
|
|
|
|
|
|
|
|
20 |
/**
|
21 |
* Initializes this class and stores the plugin options.
|
22 |
*/
|
23 |
public function __construct()
|
24 |
{
|
25 |
$is = Ivory_Search::getInstance();
|
|
|
|
|
|
|
|
|
|
|
26 |
|
27 |
if ( null !== $is ) {
|
28 |
$this->opt = $is->opt;
|
52 |
{
|
53 |
global $wp_query ;
|
54 |
|
55 |
+
if ( !isset( $this->opt['not_load_files']['js'] ) ) {
|
56 |
wp_enqueue_script(
|
57 |
'ivory-search-scripts',
|
58 |
plugins_url( '/public/js/ivory-search.js', IS_PLUGIN_FILE ),
|
224 |
*/
|
225 |
function wp_nav_menu_items( $items, $args )
|
226 |
{
|
227 |
+
if ( isset( $this->opt['menus'] ) && isset( $this->opt['menus'][$args->theme_location] ) ) {
|
228 |
|
229 |
if ( isset( $this->opt['menu_gcse'] ) && '' != $this->opt['menu_gcse'] ) {
|
230 |
$items .= '<li class="gsc-cse-search-menu">' . $this->opt['menu_gcse'] . '</li>';
|
231 |
} else {
|
232 |
+
$search_class = ( isset( $this->opt['menu_classes'] ) ? $this->opt['menu_classes'] . ' astm-search-menu is-menu ' : ' astm-search-menu is-menu ' );
|
233 |
+
$search_class .= ( isset( $this->opt['menu_style'] ) ? $this->opt['menu_style'] : 'default' );
|
234 |
+
$title = ( isset( $this->opt['menu_title'] ) ? $this->opt['menu_title'] : '' );
|
235 |
+
$items .= '<li class="' . esc_attr( $search_class ) . '">';
|
236 |
|
237 |
+
if ( isset( $this->opt['menu_style'] ) && $this->opt['menu_style'] != 'default' ) {
|
238 |
+
$items .= '<a title="' . esc_attr( $title ) . '" href="#">';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
239 |
|
240 |
+
if ( '' == $title ) {
|
241 |
+
$items .= '<svg width="20" height="20" class="search-icon" role="img" viewBox="2 9 20 5">
|
|
|
|
|
|
|
242 |
<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>';
|
243 |
+
} else {
|
244 |
+
$items .= $title;
|
|
|
|
|
|
|
245 |
}
|
246 |
|
247 |
+
$items .= '</a>';
|
248 |
+
}
|
249 |
+
|
250 |
+
|
251 |
+
if ( !isset( $this->opt['menu_style'] ) || $this->opt['menu_style'] !== 'popup' ) {
|
252 |
+
$items .= $this->get_menu_search_form( false );
|
253 |
+
if ( isset( $this->opt['menu_close_icon'] ) && $this->opt['menu_close_icon'] ) {
|
254 |
+
$items .= '<div class="search-close"></div>';
|
255 |
}
|
|
|
|
|
256 |
}
|
257 |
+
|
258 |
+
$items .= '</li>';
|
259 |
}
|
260 |
|
261 |
}
|
272 |
if ( isset( $this->opt['menu_gcse'] ) && $this->opt['menu_gcse'] != '' ) {
|
273 |
$items .= '<div class="astm-search-menu-wrapper is-menu-wrapper"><div class="gsc-cse-search-menu">' . $this->opt['menu_gcse'] . '</div></div>';
|
274 |
} else {
|
275 |
+
$search_class = ( isset( $this->opt['menu_classes'] ) ? $this->opt['menu_classes'] . ' astm-search-menu is-menu ' : ' astm-search-menu is-menu ' );
|
276 |
+
$search_class .= ( isset( $this->opt['menu_style'] ) ? $this->opt['menu_style'] : 'default' );
|
277 |
+
$title = ( isset( $this->opt['menu_title'] ) ? $this->opt['menu_title'] : '' );
|
278 |
+
$items .= '<div class="astm-search-menu-wrapper is-menu-wrapper"><div>';
|
279 |
+
$items .= '<span class="' . esc_attr( $search_class ) . '">';
|
280 |
|
281 |
+
if ( isset( $this->opt['menu_style'] ) && $this->opt['menu_style'] != 'default' ) {
|
282 |
+
$items .= '<a title="' . esc_attr( $title ) . '" href="#">';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
283 |
|
284 |
+
if ( '' == $title ) {
|
285 |
+
$items .= '<svg width="20" height="20" class="search-icon" role="img" viewBox="2 9 20 5">
|
|
|
|
|
|
|
|
|
|
|
|
|
286 |
<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>';
|
287 |
+
} else {
|
288 |
+
$items .= $title;
|
|
|
|
|
|
|
289 |
}
|
290 |
|
291 |
+
$items .= '</a>';
|
292 |
+
}
|
293 |
+
|
294 |
+
|
295 |
+
if ( !isset( $this->opt['menu_style'] ) || $this->opt['menu_style'] !== 'popup' ) {
|
296 |
+
$items .= $this->get_menu_search_form( false );
|
297 |
+
if ( isset( $this->opt['menu_close_icon'] ) && $this->opt['menu_close_icon'] ) {
|
298 |
+
$items .= '<div class="search-close"></div>';
|
299 |
}
|
|
|
|
|
300 |
}
|
301 |
+
|
302 |
+
$items .= '</span></div></div>';
|
303 |
}
|
304 |
|
305 |
echo $items ;
|
859 |
echo '/* Ivory search custom CSS code */' ;
|
860 |
echo wp_specialchars_decode( esc_html( $this->opt['custom_css'] ), ENT_QUOTES ) ;
|
861 |
echo '</style>' ;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
862 |
}
|
863 |
|
864 |
global $wp_query ;
|
865 |
|
866 |
if ( is_search() && isset( $wp_query->query_vars['_is_settings']['highlight_terms'] ) && isset( $wp_query->query_vars['_is_settings']['highlight_color'] ) ) {
|
867 |
echo '<style type="text/css" media="screen">' ;
|
868 |
+
echo '.is-highlight { background-color: ' . $wp_query->query_vars['_is_settings']['highlight_color'] . ' !important;}' ;
|
869 |
echo '</style>' ;
|
870 |
}
|
871 |
|
public/css/ivory-search.css
CHANGED
@@ -112,9 +112,34 @@
|
|
112 |
z-index: 99999;
|
113 |
}
|
114 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
115 |
|
116 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
117 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
118 |
|
119 |
.popup-search-close:after,
|
120 |
.search-close:after {
|
112 |
z-index: 99999;
|
113 |
}
|
114 |
|
115 |
+
.popup-search-close {
|
116 |
+
cursor: pointer;
|
117 |
+
height: 20px;
|
118 |
+
width: 20px;
|
119 |
+
z-index: 99999;
|
120 |
+
float: right;
|
121 |
+
position: relative;
|
122 |
+
margin: 20px 20px 0 0;
|
123 |
+
}
|
124 |
|
125 |
+
#is-popup-wrapper {
|
126 |
+
width: 100%;
|
127 |
+
height: 100%;
|
128 |
+
position: fixed;
|
129 |
+
top: 0;
|
130 |
+
left: 0;
|
131 |
+
background: #fff;
|
132 |
+
z-index: 999999;
|
133 |
+
}
|
134 |
|
135 |
+
.is-popup-search-form {
|
136 |
+
width: 80%;
|
137 |
+
margin: 20% auto 0;
|
138 |
+
}
|
139 |
+
|
140 |
+
.twentynineteen .is-popup-search-form form input.search-field {
|
141 |
+
width: 80%;
|
142 |
+
}
|
143 |
|
144 |
.popup-search-close:after,
|
145 |
.search-close:after {
|
public/js/ivory-search.js
CHANGED
@@ -25,21 +25,23 @@
|
|
25 |
$( this ).parent().addClass( 'open' );
|
26 |
$( this ).parent().find( 'form input[type="search"], form input[type="text"]' ).focus();
|
27 |
} else if ( $( this ).parent().hasClass( 'popup' ) ) {
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
}
|
32 |
|
33 |
$( '.is-menu form input[type="search"], .is-menu form input[type="text"]' ).focus();
|
34 |
} );
|
35 |
-
|
36 |
-
/* Premium Code Stripped by Freemius */
|
37 |
|
|
|
|
|
|
|
38 |
} );
|
39 |
|
40 |
-
|
41 |
-
|
42 |
-
|
|
|
|
|
43 |
|
44 |
$( '.is-menu form input[type="search"], .is-menu form input[type="text"]' ).on( 'click', function( e ) {
|
45 |
e.stopPropagation();
|
25 |
$( this ).parent().addClass( 'open' );
|
26 |
$( this ).parent().find( 'form input[type="search"], form input[type="text"]' ).focus();
|
27 |
} else if ( $( this ).parent().hasClass( 'popup' ) ) {
|
28 |
+
$( '#is-popup-wrapper' ).show();
|
29 |
+
$( '#is-popup-wrapper form input[type="text"], #is-popup-wrapper form input[type="search"]' ).focus();
|
|
|
30 |
}
|
31 |
|
32 |
$( '.is-menu form input[type="search"], .is-menu form input[type="text"]' ).focus();
|
33 |
} );
|
|
|
|
|
34 |
|
35 |
+
$( '.popup-search-close' ).on( 'click', function( e ) {
|
36 |
+
$( '#is-popup-wrapper' ).hide();
|
37 |
+
} );
|
38 |
} );
|
39 |
|
40 |
+
$( document ).keyup( function( e ) {
|
41 |
+
if ( e.keyCode === 27 ) {
|
42 |
+
$( '#is-popup-wrapper' ).hide();
|
43 |
+
}
|
44 |
+
} );
|
45 |
|
46 |
$( '.is-menu form input[type="search"], .is-menu form input[type="text"]' ).on( 'click', function( e ) {
|
47 |
e.stopPropagation();
|
readme.txt
CHANGED
@@ -3,9 +3,9 @@ Contributors: ivorysearch, vinod dalvi
|
|
3 |
Donate link: https://ivorysearch.com/pricing/
|
4 |
Tags: search, woocommerce search, image search, ajax search, search shortcode, live search, exclude from search, search widget, search menu, search plugin, custom search, search by post type, search by category, relevant search, search forms
|
5 |
Requires at least: 3.9
|
6 |
-
Tested up to: 5.
|
7 |
Requires PHP: 5.2.4
|
8 |
-
Stable tag: 4.4
|
9 |
License: GPLv2 or later
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -192,6 +192,14 @@ Yes we do. We try our best to help free users with customisation requests and we
|
|
192 |
|
193 |
== Changelog ==
|
194 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
195 |
= 4.4 =
|
196 |
* Improved - Plugin admin options user interface.
|
197 |
* Added - Option "Do not display post_type in the search URL".
|
3 |
Donate link: https://ivorysearch.com/pricing/
|
4 |
Tags: search, woocommerce search, image search, ajax search, search shortcode, live search, exclude from search, search widget, search menu, search plugin, custom search, search by post type, search by category, relevant search, search forms
|
5 |
Requires at least: 3.9
|
6 |
+
Tested up to: 5.3
|
7 |
Requires PHP: 5.2.4
|
8 |
+
Stable tag: 4.4.1
|
9 |
License: GPLv2 or later
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
192 |
|
193 |
== Changelog ==
|
194 |
|
195 |
+
= 4.4.1 =
|
196 |
+
* Fixed - Menu search popup was not working in the plugin free version.
|
197 |
+
* Fixed - Search results text highlight issue.
|
198 |
+
* Fixed - Default search results was not ordered to date DESC.
|
199 |
+
* Fixed - Some free plugin options were displaying premium.
|
200 |
+
* Fixed - Post status was not getting set in the free version.
|
201 |
+
* Removed - Legacy add-search-to-menu fallback code.
|
202 |
+
|
203 |
= 4.4 =
|
204 |
* Improved - Plugin admin options user interface.
|
205 |
* Added - Option "Do not display post_type in the search URL".
|