Version Description
- Added - Plugin option to display search form easy to edit links.
- Added - Plugin option to redirect More Results text to search results page.
- Added - Hooks to customize AJAX search results.
- Fixed - Ivory Search widget was not working with Elementor page builder.
- Fixed - Ivory Search shortcode was not working in Elementor shortcodes element.
- Fixed - Mobile search form disables the header menu or logo link.
Download this release
Release Info
Developer | vinod dalvi |
Plugin | Ivory Search – WordPress Search Plugin |
Version | 4.4.10 |
Comparing to | |
See all releases |
Code changes from version 4.4.9 to 4.4.10
- add-search-to-menu.php +16 -7
- admin/class-is-editor.php +26 -1
- admin/class-is-settings-fields.php +16 -8
- admin/js/ivory-search-admin.js +2 -2
- includes/class-is-admin-public.php +65 -8
- includes/class-is-search-form.php +3 -3
- includes/class-is-widget.php +8 -1
- includes/class-is.php +1 -4
- languages/add-search-to-menu.pot +167 -157
- public/class-is-ajax.php +69 -26
- public/class-is-public.php +0 -58
- public/css/ivory-search.css +5 -1
- public/js/ivory-ajax-search.js +8 -2
- public/js/ivory-search.js +9 -0
- readme.txt +9 -1
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+
|
@@ -106,12 +106,21 @@ final class Ivory_Search {
|
|
106 |
*/
|
107 |
private function define_constants() {
|
108 |
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
115 |
if ( ! defined( 'IS_ADMIN_READ_CAPABILITY' ) ) {
|
116 |
define( 'IS_ADMIN_READ_CAPABILITY', 'edit_posts' );
|
117 |
}
|
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.10
|
7 |
* Author: Ivory Search
|
8 |
* Author URI: https://ivorysearch.com/
|
9 |
* License: GPL2+
|
106 |
*/
|
107 |
private function define_constants() {
|
108 |
|
109 |
+
if ( ! defined( 'IS_VERSION' ) ) {
|
110 |
+
define( 'IS_VERSION', '4.4.10' );
|
111 |
+
}
|
112 |
+
if ( ! defined( 'IS_PLUGIN_FILE' ) ) {
|
113 |
+
define( 'IS_PLUGIN_FILE', __FILE__ );
|
114 |
+
}
|
115 |
+
if ( ! defined( 'IS_PLUGIN_BASE' ) ) {
|
116 |
+
define( 'IS_PLUGIN_BASE', plugin_basename( IS_PLUGIN_FILE ) );
|
117 |
+
}
|
118 |
+
if ( ! defined( 'IS_PLUGIN_DIR' ) ) {
|
119 |
+
define( 'IS_PLUGIN_DIR', plugin_dir_path( IS_PLUGIN_FILE ) );
|
120 |
+
}
|
121 |
+
if ( ! defined( 'IS_PLUGIN_URI' ) ) {
|
122 |
+
define( 'IS_PLUGIN_URI', plugins_url( '/', IS_PLUGIN_FILE ) );
|
123 |
+
}
|
124 |
if ( ! defined( 'IS_ADMIN_READ_CAPABILITY' ) ) {
|
125 |
define( 'IS_ADMIN_READ_CAPABILITY', 'edit_posts' );
|
126 |
}
|
admin/class-is-editor.php
CHANGED
@@ -831,6 +831,7 @@ class IS_Search_Editor
|
|
831 |
$show_description = true;
|
832 |
$show_details_box = true;
|
833 |
$show_more_result = true;
|
|
|
834 |
$show_price = true;
|
835 |
$show_matching_categories = true;
|
836 |
$show_image = true;
|
@@ -839,6 +840,7 @@ class IS_Search_Editor
|
|
839 |
$show_description = ( isset( $settings['show_description'] ) && $settings['show_description'] ? 1 : 0 );
|
840 |
$show_details_box = ( isset( $settings['show_details_box'] ) ? $settings['show_details_box'] : false );
|
841 |
$show_more_result = ( isset( $settings['show_more_result'] ) && $settings['show_more_result'] ? 1 : 0 );
|
|
|
842 |
$show_price = ( isset( $settings['show_price'] ) && $settings['show_price'] ? 1 : 0 );
|
843 |
$show_matching_categories = ( isset( $settings['show_matching_categories'] ) && $settings['show_matching_categories'] ? 1 : 0 );
|
844 |
$show_image = ( isset( $settings['show_image'] ) ? 1 : 0 );
|
@@ -1238,7 +1240,30 @@ class IS_Search_Editor
|
|
1238 |
?></span>
|
1239 |
</p>
|
1240 |
</div>
|
1241 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1242 |
<!-- Show 'View All Results' -->
|
1243 |
<!--<div class="<?php
|
1244 |
echo esc_attr( $id ) ;
|
831 |
$show_description = true;
|
832 |
$show_details_box = true;
|
833 |
$show_more_result = true;
|
834 |
+
$show_more_func = false;
|
835 |
$show_price = true;
|
836 |
$show_matching_categories = true;
|
837 |
$show_image = true;
|
840 |
$show_description = ( isset( $settings['show_description'] ) && $settings['show_description'] ? 1 : 0 );
|
841 |
$show_details_box = ( isset( $settings['show_details_box'] ) ? $settings['show_details_box'] : false );
|
842 |
$show_more_result = ( isset( $settings['show_more_result'] ) && $settings['show_more_result'] ? 1 : 0 );
|
843 |
+
$show_more_func = ( isset( $settings['show_more_func'] ) && $settings['show_more_func'] ? 1 : 0 );
|
844 |
$show_price = ( isset( $settings['show_price'] ) && $settings['show_price'] ? 1 : 0 );
|
845 |
$show_matching_categories = ( isset( $settings['show_matching_categories'] ) && $settings['show_matching_categories'] ? 1 : 0 );
|
846 |
$show_image = ( isset( $settings['show_image'] ) ? 1 : 0 );
|
1240 |
?></span>
|
1241 |
</p>
|
1242 |
</div>
|
1243 |
+
<!-- Show More Result Functionality -->
|
1244 |
+
<div class="<?php
|
1245 |
+
echo esc_attr( $id ) ;
|
1246 |
+
?>-show_more_func_wrap">
|
1247 |
+
<p class="check-radio">
|
1248 |
+
<label for="<?php
|
1249 |
+
echo esc_attr( $id ) ;
|
1250 |
+
?>-show_more_func">
|
1251 |
+
<input class="<?php
|
1252 |
+
echo esc_attr( $id ) ;
|
1253 |
+
?>-show_more_func" type="checkbox" id="<?php
|
1254 |
+
echo esc_attr( $id ) ;
|
1255 |
+
?>-show_more_func" name="<?php
|
1256 |
+
echo esc_attr( $id ) ;
|
1257 |
+
?>[show_more_func]" value="1" <?php
|
1258 |
+
checked( 1, $show_more_func );
|
1259 |
+
?>/>
|
1260 |
+
<span class="toggle-check-text"></span>
|
1261 |
+
<?php
|
1262 |
+
esc_html_e( 'Redirect to search results page clicking on the \'More Results..\' text', 'add-search-to-menu' );
|
1263 |
+
?>
|
1264 |
+
</label>
|
1265 |
+
</p>
|
1266 |
+
</div>
|
1267 |
<!-- Show 'View All Results' -->
|
1268 |
<!--<div class="<?php
|
1269 |
echo esc_attr( $id ) ;
|
admin/class-is-settings-fields.php
CHANGED
@@ -530,14 +530,6 @@ class IS_Settings_Fields
|
|
530 |
|
531 |
function extras()
|
532 |
{
|
533 |
-
/**
|
534 |
-
* Disables search functionality on whole site.
|
535 |
-
*/
|
536 |
-
$check_value = ( isset( $this->opt['disable'] ) ? $this->opt['disable'] : 0 );
|
537 |
-
$disable = checked( 1, $check_value, false );
|
538 |
-
$html = '<label for="is_disable"><input class="ivory_search_disable" type="checkbox" id="is_disable" name="is_settings[disable]" value="1" ' . $disable . ' />';
|
539 |
-
$html .= '<span class="toggle-check-text"></span>' . esc_html__( 'Disable search functionality on entire website', 'add-search-to-menu' ) . '</label>';
|
540 |
-
echo '<div>' . $html . '</div><br /><br />' ;
|
541 |
/**
|
542 |
* Controls default search functionality.
|
543 |
*/
|
@@ -547,6 +539,22 @@ class IS_Settings_Fields
|
|
547 |
$disable = checked( 1, $check_value, false );
|
548 |
$html = '<label for="is_default_search"><input class="ivory_search_default" type="checkbox" id="is_default_search" name="is_settings[default_search]" value="1" ' . $disable . ' />';
|
549 |
$html .= '<span class="toggle-check-text"></span>' . esc_html__( 'Do not use Default Search Form to control WordPress default search functionality', 'add-search-to-menu' ) . '</label>';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
550 |
echo '<div>' . $html . '</div>' ;
|
551 |
}
|
552 |
|
530 |
|
531 |
function extras()
|
532 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
533 |
/**
|
534 |
* Controls default search functionality.
|
535 |
*/
|
539 |
$disable = checked( 1, $check_value, false );
|
540 |
$html = '<label for="is_default_search"><input class="ivory_search_default" type="checkbox" id="is_default_search" name="is_settings[default_search]" value="1" ' . $disable . ' />';
|
541 |
$html .= '<span class="toggle-check-text"></span>' . esc_html__( 'Do not use Default Search Form to control WordPress default search functionality', 'add-search-to-menu' ) . '</label>';
|
542 |
+
echo '<div>' . $html . '</div><br />' ;
|
543 |
+
/**
|
544 |
+
* Disables search functionality on whole site.
|
545 |
+
*/
|
546 |
+
$check_value = ( isset( $this->opt['disable'] ) ? $this->opt['disable'] : 0 );
|
547 |
+
$disable = checked( 1, $check_value, false );
|
548 |
+
$html = '<label for="is_disable"><input class="ivory_search_disable" type="checkbox" id="is_disable" name="is_settings[disable]" value="1" ' . $disable . ' />';
|
549 |
+
$html .= '<span class="toggle-check-text"></span>' . esc_html__( 'Disable search functionality on entire website', 'add-search-to-menu' ) . '</label>';
|
550 |
+
echo '<div>' . $html . '</div><br />' ;
|
551 |
+
/**
|
552 |
+
* Display search forms easy to edit links.
|
553 |
+
*/
|
554 |
+
$check_value = ( isset( $this->opt['easy_edit'] ) ? $this->opt['easy_edit'] : 0 );
|
555 |
+
$easy_edit = checked( 1, $check_value, false );
|
556 |
+
$html = '<br /><label for="is_easy_edit"><input class="ivory_search_easy_edit" type="checkbox" id="is_easy_edit" name="is_settings[easy_edit]" value="1" ' . $easy_edit . ' />';
|
557 |
+
$html .= '<span class="toggle-check-text"></span>' . esc_html__( 'Display easy edit links of search form on the website frontend to the admin users', 'add-search-to-menu' ) . '</label>';
|
558 |
echo '<div>' . $html . '</div>' ;
|
559 |
}
|
560 |
|
admin/js/ivory-search-admin.js
CHANGED
@@ -515,9 +515,9 @@
|
|
515 |
|
516 |
function toggle_show_more_result_textbox_fields() {
|
517 |
if( $( '#_is_ajax-show_more_result' ).is(':checked') ) {
|
518 |
-
$( '._is_ajax-more_result_text_wrap' ).removeClass('is-field-disabled').show();
|
519 |
} else {
|
520 |
-
$( '._is_ajax-more_result_text_wrap' ).addClass('is-field-disabled').hide();
|
521 |
}
|
522 |
}
|
523 |
toggle_show_more_result_textbox_fields();
|
515 |
|
516 |
function toggle_show_more_result_textbox_fields() {
|
517 |
if( $( '#_is_ajax-show_more_result' ).is(':checked') ) {
|
518 |
+
$( '._is_ajax-more_result_text_wrap, ._is_ajax-show_more_func_wrap' ).removeClass('is-field-disabled').show();
|
519 |
} else {
|
520 |
+
$( '._is_ajax-more_result_text_wrap, ._is_ajax-show_more_func_wrap' ).addClass('is-field-disabled').hide();
|
521 |
}
|
522 |
}
|
523 |
toggle_show_more_result_textbox_fields();
|
includes/class-is-admin-public.php
CHANGED
@@ -45,13 +45,6 @@ class IS_Admin_Public {
|
|
45 |
return self::$_instance;
|
46 |
}
|
47 |
|
48 |
-
/**
|
49 |
-
* Registers Widgets.
|
50 |
-
*/
|
51 |
-
function widgets_init() {
|
52 |
-
register_widget( 'IS_Widget' );
|
53 |
-
}
|
54 |
-
|
55 |
/**
|
56 |
* Added MIME support
|
57 |
*
|
@@ -285,6 +278,67 @@ class IS_Admin_Public {
|
|
285 |
}
|
286 |
}
|
287 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
288 |
/**
|
289 |
* Formats attributes.
|
290 |
*/
|
@@ -319,4 +373,7 @@ class IS_Admin_Public {
|
|
319 |
|
320 |
return $html;
|
321 |
}
|
322 |
-
}
|
|
|
|
|
|
45 |
return self::$_instance;
|
46 |
}
|
47 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
/**
|
49 |
* Added MIME support
|
50 |
*
|
278 |
}
|
279 |
}
|
280 |
|
281 |
+
/**
|
282 |
+
* Displays search form by processing shortcode.
|
283 |
+
*/
|
284 |
+
function search_form_shortcode( $atts ) {
|
285 |
+
|
286 |
+
if ( is_feed() ) {
|
287 |
+
return '[ivory-search]';
|
288 |
+
}
|
289 |
+
|
290 |
+
if ( isset( $this->opt['disable'] ) ) {
|
291 |
+
return;
|
292 |
+
}
|
293 |
+
|
294 |
+
$atts = shortcode_atts(
|
295 |
+
array(
|
296 |
+
'id' => 0,
|
297 |
+
'title' => '',
|
298 |
+
),
|
299 |
+
$atts, 'ivory-search'
|
300 |
+
);
|
301 |
+
|
302 |
+
$id = (int) $atts['id'];
|
303 |
+
|
304 |
+
$search_form = IS_Search_Form::get_instance( $id );
|
305 |
+
|
306 |
+
if ( ! $search_form ) {
|
307 |
+
return '[ivory-search 404 "Not Found"]';
|
308 |
+
}
|
309 |
+
|
310 |
+
$form = $search_form->form_html( $atts );
|
311 |
+
|
312 |
+
return $form;
|
313 |
+
}
|
314 |
+
|
315 |
+
/**
|
316 |
+
* Changes default search form.
|
317 |
+
*/
|
318 |
+
function get_search_form( $form ) {
|
319 |
+
|
320 |
+
if ( isset( $this->opt['disable'] ) ) {
|
321 |
+
return '';
|
322 |
+
}
|
323 |
+
|
324 |
+
if ( isset( $this->opt['default_search'] ) ) {
|
325 |
+
return $form;
|
326 |
+
}
|
327 |
+
|
328 |
+
$page = get_page_by_path( 'default-search-form', OBJECT, 'is_search_form' );
|
329 |
+
|
330 |
+
if ( ! empty( $page ) ) {
|
331 |
+
$search_form = IS_Search_Form::get_instance( $page->ID );
|
332 |
+
if ( $search_form ) {
|
333 |
+
$atts['id'] = (int) $page->ID;
|
334 |
+
$form = $search_form->form_html( $atts, 'n' );
|
335 |
+
}
|
336 |
+
}
|
337 |
+
|
338 |
+
return $form;
|
339 |
+
}
|
340 |
+
|
341 |
+
|
342 |
/**
|
343 |
* Formats attributes.
|
344 |
*/
|
373 |
|
374 |
return $html;
|
375 |
}
|
376 |
+
}
|
377 |
+
|
378 |
+
$admin_public = IS_Admin_Public::getInstance();
|
379 |
+
add_shortcode( 'ivory-search', array( $admin_public, 'search_form_shortcode' ) );
|
includes/class-is-search-form.php
CHANGED
@@ -424,9 +424,9 @@ class IS_Search_Form {
|
|
424 |
|
425 |
if ( ! isset( $_ajax['enable_ajax'] ) && ! isset( $_customize['enable_customize'] ) ) {
|
426 |
|
427 |
-
remove_filter( 'get_search_form', array(
|
428 |
$result = get_search_form( false );
|
429 |
-
add_filter( 'get_search_form', array(
|
430 |
|
431 |
if ( 'n' !== $display_id ) {
|
432 |
$result = preg_replace('/<\/form>/', '<input type="hidden" name="id" value="' . $args['id'] . '" /></form>', $result );
|
@@ -509,7 +509,7 @@ class IS_Search_Form {
|
|
509 |
$result = apply_filters( 'is_custom_search_form', $result );
|
510 |
}
|
511 |
|
512 |
-
if ( is_user_logged_in() && current_user_can( 'administrator' ) ) {
|
513 |
$result .= '<div class="is-link-container"><div><a class="is-edit-link" target="_blank" href="'.admin_url( 'admin.php?page=ivory-search&post='.$args['id'].'&action=edit' ) . '">'.__( "Edit", "ivory-search") .'</a>';
|
514 |
|
515 |
if ( ! is_customize_preview() ) {
|
424 |
|
425 |
if ( ! isset( $_ajax['enable_ajax'] ) && ! isset( $_customize['enable_customize'] ) ) {
|
426 |
|
427 |
+
remove_filter( 'get_search_form', array( IS_Admin_Public::getInstance(), 'get_search_form' ), 9999999 );
|
428 |
$result = get_search_form( false );
|
429 |
+
add_filter( 'get_search_form', array( IS_Admin_Public::getInstance(), 'get_search_form' ), 9999999 );
|
430 |
|
431 |
if ( 'n' !== $display_id ) {
|
432 |
$result = preg_replace('/<\/form>/', '<input type="hidden" name="id" value="' . $args['id'] . '" /></form>', $result );
|
509 |
$result = apply_filters( 'is_custom_search_form', $result );
|
510 |
}
|
511 |
|
512 |
+
if ( isset( $is->opt['easy_edit'] ) && is_user_logged_in() && current_user_can( 'administrator' ) ) {
|
513 |
$result .= '<div class="is-link-container"><div><a class="is-edit-link" target="_blank" href="'.admin_url( 'admin.php?page=ivory-search&post='.$args['id'].'&action=edit' ) . '">'.__( "Edit", "ivory-search") .'</a>';
|
514 |
|
515 |
if ( ! is_customize_preview() ) {
|
includes/class-is-widget.php
CHANGED
@@ -96,4 +96,11 @@ class IS_Widget extends WP_Widget {
|
|
96 |
return $instance;
|
97 |
}
|
98 |
|
99 |
-
} // class IS_Widget
|
|
|
|
|
|
|
|
|
|
|
|
|
|
96 |
return $instance;
|
97 |
}
|
98 |
|
99 |
+
} // class IS_Widget
|
100 |
+
|
101 |
+
|
102 |
+
// Register Ivory Search Widget
|
103 |
+
function is_register_widget() {
|
104 |
+
register_widget( 'IS_Widget' );
|
105 |
+
}
|
106 |
+
add_action( 'widgets_init', 'is_register_widget' );
|
includes/class-is.php
CHANGED
@@ -109,7 +109,7 @@ class IS_Loader {
|
|
109 |
private function admin_public_hooks() {
|
110 |
$admin_public = IS_Admin_Public::getInstance();
|
111 |
add_action( 'init', array( $admin_public, 'init' ) );
|
112 |
-
|
113 |
add_action( 'customize_register', array( $admin_public, 'customize_register' ) );
|
114 |
add_filter( 'upload_mimes', array( $admin_public, 'add_custom_mime_types' ) );
|
115 |
}
|
@@ -146,9 +146,6 @@ class IS_Loader {
|
|
146 |
|
147 |
$public = IS_Public::getInstance();
|
148 |
|
149 |
-
add_action( 'init', array( $public, 'init' ) );
|
150 |
-
add_filter( 'get_search_form', array( $public, 'get_search_form' ), 9999999 );
|
151 |
-
|
152 |
if ( isset( $this->opt['disable'] ) ) {
|
153 |
return;
|
154 |
}
|
109 |
private function admin_public_hooks() {
|
110 |
$admin_public = IS_Admin_Public::getInstance();
|
111 |
add_action( 'init', array( $admin_public, 'init' ) );
|
112 |
+
add_filter( 'get_search_form', array( $admin_public, 'get_search_form' ), 9999999 );
|
113 |
add_action( 'customize_register', array( $admin_public, 'customize_register' ) );
|
114 |
add_filter( 'upload_mimes', array( $admin_public, 'add_custom_mime_types' ) );
|
115 |
}
|
146 |
|
147 |
$public = IS_Public::getInstance();
|
148 |
|
|
|
|
|
|
|
149 |
if ( isset( $this->opt['disable'] ) ) {
|
150 |
return;
|
151 |
}
|
languages/add-search-to-menu.pot
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: Ivory Search\n"
|
5 |
-
"POT-Creation-Date: 2020-06-
|
6 |
"PO-Revision-Date: 2020-03-17 21:05+0530\n"
|
7 |
"Last-Translator: \n"
|
8 |
"Language-Team: Ivory Search <admin@ivorysearch.com>\n"
|
@@ -56,7 +56,7 @@ msgid ""
|
|
56 |
msgstr ""
|
57 |
|
58 |
#: ../admin/class-is-admin.php:204 ../admin/class-is-admin.php:447
|
59 |
-
#: ../includes/class-is-admin-public.php:
|
60 |
msgid "Ivory Search"
|
61 |
msgstr ""
|
62 |
|
@@ -143,7 +143,7 @@ msgid "Validation error occurred."
|
|
143 |
msgstr ""
|
144 |
|
145 |
#: ../admin/class-is-admin.php:427 ../admin/class-is-admin.php:432
|
146 |
-
#: ../admin/class-is-editor.php:683 ../admin/class-is-editor.php:
|
147 |
#: ../admin/class-is-help.php:35 ../admin/class-is-help.php:85
|
148 |
#: ../admin/partials/search-form.php:109
|
149 |
msgid "Includes"
|
@@ -239,18 +239,18 @@ msgid "Post Types"
|
|
239 |
msgstr ""
|
240 |
|
241 |
#: ../admin/class-is-editor.php:114 ../admin/class-is-editor.php:570
|
242 |
-
#: ../admin/class-is-editor.php:654 ../admin/class-is-editor.php:
|
243 |
-
#: ../admin/class-is-editor.php:
|
244 |
-
#: ../admin/class-is-editor.php:
|
245 |
-
#: ../admin/class-is-editor.php:
|
246 |
msgid "Expand All"
|
247 |
msgstr ""
|
248 |
|
249 |
#: ../admin/class-is-editor.php:114 ../admin/class-is-editor.php:570
|
250 |
-
#: ../admin/class-is-editor.php:655 ../admin/class-is-editor.php:
|
251 |
-
#: ../admin/class-is-editor.php:
|
252 |
-
#: ../admin/class-is-editor.php:
|
253 |
-
#: ../admin/class-is-editor.php:
|
254 |
msgid "Collapse All"
|
255 |
msgstr ""
|
256 |
|
@@ -270,34 +270,34 @@ msgstr ""
|
|
270 |
msgid "Do not display post_type in the search URL"
|
271 |
msgstr ""
|
272 |
|
273 |
-
#: ../admin/class-is-editor.php:167 ../admin/class-is-editor.php:
|
274 |
msgid "( WooCommerce )"
|
275 |
msgstr ""
|
276 |
|
277 |
-
#: ../admin/class-is-editor.php:169 ../admin/class-is-editor.php:
|
278 |
msgid "( Images, Videos, Audios, Docs, PDFs, Files & Attachments )"
|
279 |
msgstr ""
|
280 |
|
281 |
#: ../admin/class-is-editor.php:214 ../admin/class-is-editor.php:262
|
282 |
#: ../admin/class-is-editor.php:285 ../admin/class-is-editor.php:336
|
283 |
-
#: ../admin/class-is-editor.php:
|
284 |
-
#: ../admin/class-is-editor.php:
|
285 |
msgid "Search.."
|
286 |
msgstr ""
|
287 |
|
288 |
-
#: ../admin/class-is-editor.php:218 ../admin/class-is-editor.php:
|
289 |
msgid "Load All"
|
290 |
msgstr ""
|
291 |
|
292 |
-
#: ../admin/class-is-editor.php:223 ../admin/class-is-editor.php:
|
293 |
#, php-format
|
294 |
msgid "No %s created."
|
295 |
msgstr ""
|
296 |
|
297 |
#: ../admin/class-is-editor.php:225 ../admin/class-is-editor.php:271
|
298 |
#: ../admin/class-is-editor.php:295 ../admin/class-is-editor.php:344
|
299 |
-
#: ../admin/class-is-editor.php:
|
300 |
-
#: ../admin/class-is-editor.php:
|
301 |
msgid ""
|
302 |
"Hold down the control (ctrl) or command button to select multiple options."
|
303 |
msgstr ""
|
@@ -345,7 +345,7 @@ msgstr ""
|
|
345 |
msgid "Selected File Types :"
|
346 |
msgstr ""
|
347 |
|
348 |
-
#: ../admin/class-is-editor.php:354 ../admin/class-is-editor.php:
|
349 |
msgid "Search all MIME types"
|
350 |
msgstr ""
|
351 |
|
@@ -384,14 +384,14 @@ msgid ""
|
|
384 |
"types."
|
385 |
msgstr ""
|
386 |
|
387 |
-
#: ../admin/class-is-editor.php:381 ../admin/class-is-editor.php:
|
388 |
msgid ""
|
389 |
"You are using WordPress version less than 4.9 which does not support "
|
390 |
"searching by MIME type."
|
391 |
msgstr ""
|
392 |
|
393 |
-
#: ../admin/class-is-editor.php:390 ../admin/class-is-editor.php:
|
394 |
-
#: ../admin/class-is-editor.php:
|
395 |
msgid "Date"
|
396 |
msgstr ""
|
397 |
|
@@ -407,7 +407,7 @@ msgstr ""
|
|
407 |
msgid "To"
|
408 |
msgstr ""
|
409 |
|
410 |
-
#: ../admin/class-is-editor.php:410 ../admin/class-is-editor.php:
|
411 |
msgid "Authors"
|
412 |
msgstr ""
|
413 |
|
@@ -450,7 +450,7 @@ msgstr ""
|
|
450 |
msgid "Search approved comment content"
|
451 |
msgstr ""
|
452 |
|
453 |
-
#: ../admin/class-is-editor.php:513 ../admin/class-is-editor.php:
|
454 |
msgid "Post Status"
|
455 |
msgstr ""
|
456 |
|
@@ -478,7 +478,7 @@ msgstr ""
|
|
478 |
msgid "Search posts without passwords"
|
479 |
msgstr ""
|
480 |
|
481 |
-
#: ../admin/class-is-editor.php:569 ../admin/class-is-editor.php:
|
482 |
#: ../admin/class-is-settings-fields.php:139
|
483 |
msgid "Extras"
|
484 |
msgstr ""
|
@@ -531,7 +531,7 @@ msgstr ""
|
|
531 |
msgid "Enable Search Form Customization"
|
532 |
msgstr ""
|
533 |
|
534 |
-
#: ../admin/class-is-editor.php:652 ../admin/class-is-editor.php:
|
535 |
#: ../includes/class-is-search-form.php:517
|
536 |
msgid "Customizer"
|
537 |
msgstr ""
|
@@ -546,441 +546,445 @@ msgstr ""
|
|
546 |
msgid "Search Form Customizer"
|
547 |
msgstr ""
|
548 |
|
549 |
-
#: ../admin/class-is-editor.php:
|
550 |
msgid "Nothing found"
|
551 |
msgstr ""
|
552 |
|
553 |
-
#: ../admin/class-is-editor.php:
|
554 |
msgid "View All"
|
555 |
msgstr ""
|
556 |
|
557 |
-
#: ../admin/class-is-editor.php:
|
558 |
msgid "More Results.."
|
559 |
msgstr ""
|
560 |
|
561 |
-
#: ../admin/class-is-editor.php:
|
562 |
msgid ""
|
563 |
"Configure below options to manage AJAX functionality of this search form."
|
564 |
msgstr ""
|
565 |
|
566 |
-
#: ../admin/class-is-editor.php:
|
567 |
-
#: ../admin/class-is-editor.php:
|
568 |
msgid "Enable AJAX Search"
|
569 |
msgstr ""
|
570 |
|
571 |
-
#: ../admin/class-is-editor.php:
|
572 |
msgid "Search Results"
|
573 |
msgstr ""
|
574 |
|
575 |
-
#: ../admin/class-is-editor.php:
|
576 |
msgid "Display selected content in the search results."
|
577 |
msgstr ""
|
578 |
|
579 |
-
#: ../admin/class-is-editor.php:
|
580 |
msgid "Description"
|
581 |
msgstr ""
|
582 |
|
583 |
-
#: ../admin/class-is-editor.php:
|
584 |
msgid "Excerpt"
|
585 |
msgstr ""
|
586 |
|
587 |
-
#: ../admin/class-is-editor.php:
|
588 |
msgid "Content"
|
589 |
msgstr ""
|
590 |
|
591 |
-
#: ../admin/class-is-editor.php:
|
592 |
msgid "Description Length."
|
593 |
msgstr ""
|
594 |
|
595 |
-
#: ../admin/class-is-editor.php:
|
596 |
msgid "Image"
|
597 |
msgstr ""
|
598 |
|
599 |
-
#: ../admin/class-is-editor.php:
|
600 |
msgid "Categories"
|
601 |
msgstr ""
|
602 |
|
603 |
-
#: ../admin/class-is-editor.php:
|
604 |
msgid "Tags"
|
605 |
msgstr ""
|
606 |
|
607 |
-
#: ../admin/class-is-editor.php:
|
608 |
msgid "Author"
|
609 |
msgstr ""
|
610 |
|
611 |
-
#: ../admin/class-is-editor.php:
|
612 |
msgid "Minimum number of characters required to run ajax search."
|
613 |
msgstr ""
|
614 |
|
615 |
-
#: ../admin/class-is-editor.php:
|
616 |
msgid "Search results box max height."
|
617 |
msgstr ""
|
618 |
|
619 |
-
#: ../admin/class-is-editor.php:
|
620 |
msgid "Configure the plugin text displayed in the search results."
|
621 |
msgstr ""
|
622 |
|
623 |
-
#: ../admin/class-is-editor.php:
|
624 |
msgid "Text when there is no search results. HTML tags is allowed."
|
625 |
msgstr ""
|
626 |
|
627 |
-
#: ../admin/class-is-editor.php:
|
628 |
msgid "Show 'More Results..' text in the bottom of the search results box"
|
629 |
msgstr ""
|
630 |
|
631 |
-
#: ../admin/class-is-editor.php:
|
632 |
msgid "Text for the \"More Results..\"."
|
633 |
msgstr ""
|
634 |
|
635 |
-
#: ../admin/class-is-editor.php:
|
|
|
|
|
|
|
|
|
636 |
msgid ""
|
637 |
"View All Result - Show link to search results page at the bottom of search "
|
638 |
"results block."
|
639 |
msgstr ""
|
640 |
|
641 |
-
#: ../admin/class-is-editor.php:
|
642 |
msgid ""
|
643 |
"Text for the \"View All\" which shown at the bottom of the search result."
|
644 |
msgstr ""
|
645 |
|
646 |
-
#: ../admin/class-is-editor.php:
|
647 |
msgid "Configure how the search button should work clicking on it."
|
648 |
msgstr ""
|
649 |
|
650 |
-
#: ../admin/class-is-editor.php:
|
651 |
msgid "Search button displays search results page"
|
652 |
msgstr ""
|
653 |
|
654 |
-
#: ../admin/class-is-editor.php:
|
655 |
msgid "Search button displays ajax search results"
|
656 |
msgstr ""
|
657 |
|
658 |
-
#: ../admin/class-is-editor.php:
|
659 |
msgid "WooCommerce"
|
660 |
msgstr ""
|
661 |
|
662 |
-
#: ../admin/class-is-editor.php:
|
663 |
#, php-format
|
664 |
msgid ""
|
665 |
"Please first configure this search form in the %s section to search "
|
666 |
"WooCommerce product post type."
|
667 |
msgstr ""
|
668 |
|
669 |
-
#: ../admin/class-is-editor.php:
|
670 |
msgid "Display selected WooCommerce content in the search results."
|
671 |
msgstr ""
|
672 |
|
673 |
-
#: ../admin/class-is-editor.php:
|
674 |
msgid "Price"
|
675 |
msgstr ""
|
676 |
|
677 |
-
#: ../admin/class-is-editor.php:
|
678 |
msgid "Hide Price for Out of Stock Products"
|
679 |
msgstr ""
|
680 |
|
681 |
-
#: ../admin/class-is-editor.php:
|
682 |
msgid "Sale Badge"
|
683 |
msgstr ""
|
684 |
|
685 |
-
#: ../admin/class-is-editor.php:
|
686 |
msgid "SKU"
|
687 |
msgstr ""
|
688 |
|
689 |
-
#: ../admin/class-is-editor.php:
|
690 |
msgid "Stock Status"
|
691 |
msgstr ""
|
692 |
|
693 |
-
#: ../admin/class-is-editor.php:
|
694 |
msgid "Featured Icon"
|
695 |
msgstr ""
|
696 |
|
697 |
-
#: ../admin/class-is-editor.php:
|
698 |
msgid "Matching Categories"
|
699 |
msgstr ""
|
700 |
|
701 |
-
#: ../admin/class-is-editor.php:
|
702 |
msgid "Matching Tags"
|
703 |
msgstr ""
|
704 |
|
705 |
-
#: ../admin/class-is-editor.php:
|
706 |
msgid "Details Box"
|
707 |
msgstr ""
|
708 |
|
709 |
-
#: ../admin/class-is-editor.php:
|
710 |
msgid "Below options only apply to matching categories or tags."
|
711 |
msgstr ""
|
712 |
|
713 |
-
#: ../admin/class-is-editor.php:
|
714 |
msgid "Product List"
|
715 |
msgstr ""
|
716 |
|
717 |
-
#: ../admin/class-is-editor.php:
|
718 |
msgid "All Product"
|
719 |
msgstr ""
|
720 |
|
721 |
-
#: ../admin/class-is-editor.php:
|
722 |
msgid "Featured Products"
|
723 |
msgstr ""
|
724 |
|
725 |
-
#: ../admin/class-is-editor.php:
|
726 |
msgid "On-sale Products</option>"
|
727 |
msgstr ""
|
728 |
|
729 |
-
#: ../admin/class-is-editor.php:
|
730 |
msgid "Order by"
|
731 |
msgstr ""
|
732 |
|
733 |
-
#: ../admin/class-is-editor.php:
|
734 |
msgid "Random"
|
735 |
msgstr ""
|
736 |
|
737 |
-
#: ../admin/class-is-editor.php:
|
738 |
msgid "Sales"
|
739 |
msgstr ""
|
740 |
|
741 |
-
#: ../admin/class-is-editor.php:
|
742 |
msgid "Order"
|
743 |
msgstr ""
|
744 |
|
745 |
-
#: ../admin/class-is-editor.php:
|
746 |
msgid "ASC"
|
747 |
msgstr ""
|
748 |
|
749 |
-
#: ../admin/class-is-editor.php:
|
750 |
msgid "DESC"
|
751 |
msgstr ""
|
752 |
|
753 |
-
#: ../admin/class-is-editor.php:
|
754 |
msgid ""
|
755 |
"Use below customizer to customize AJAX search results color and loader image."
|
756 |
msgstr ""
|
757 |
|
758 |
-
#: ../admin/class-is-editor.php:
|
759 |
msgid "AJAX Search Customizer"
|
760 |
msgstr ""
|
761 |
|
762 |
-
#: ../admin/class-is-editor.php:
|
763 |
msgid "This search form excludes the below configured content from search."
|
764 |
msgstr ""
|
765 |
|
766 |
-
#: ../admin/class-is-editor.php:
|
767 |
#, php-format
|
768 |
msgid ""
|
769 |
"The search form is configured in the %s section to only search specific "
|
770 |
"posts of another post type."
|
771 |
msgstr ""
|
772 |
|
773 |
-
#: ../admin/class-is-editor.php:
|
774 |
#, php-format
|
775 |
msgid "Do not exclude any %s from search"
|
776 |
msgstr ""
|
777 |
|
778 |
-
#: ../admin/class-is-editor.php:
|
779 |
#, php-format
|
780 |
msgid "Exclude selected %s from search"
|
781 |
msgstr ""
|
782 |
|
783 |
-
#: ../admin/class-is-editor.php:
|
784 |
#, php-format
|
785 |
msgid ""
|
786 |
"The search form is configured in the %s section to only search specific "
|
787 |
"posts."
|
788 |
msgstr ""
|
789 |
|
790 |
-
#: ../admin/class-is-editor.php:
|
791 |
#, php-format
|
792 |
msgid ""
|
793 |
"Do not exclude any %s from search of any taxonomies (%s categories, tags & "
|
794 |
"terms %s)"
|
795 |
msgstr ""
|
796 |
|
797 |
-
#: ../admin/class-is-editor.php:
|
798 |
#, php-format
|
799 |
msgid ""
|
800 |
"Exclude %s from search of selected taxonomies (%s categories, tags & terms "
|
801 |
"%s)"
|
802 |
msgstr ""
|
803 |
|
804 |
-
#: ../admin/class-is-editor.php:
|
805 |
#, php-format
|
806 |
msgid "Exclude %s from search having selected custom fields"
|
807 |
msgstr ""
|
808 |
|
809 |
-
#: ../admin/class-is-editor.php:
|
810 |
msgid "Exclude 'Out of Stock' products from search"
|
811 |
msgstr ""
|
812 |
|
813 |
-
#: ../admin/class-is-editor.php:
|
814 |
msgid "Excluded File Types :"
|
815 |
msgstr ""
|
816 |
|
817 |
-
#: ../admin/class-is-editor.php:
|
818 |
msgid "Exclude selected MIME types from search"
|
819 |
msgstr ""
|
820 |
|
821 |
-
#: ../admin/class-is-editor.php:
|
822 |
msgid "Exclude Images"
|
823 |
msgstr ""
|
824 |
|
825 |
-
#: ../admin/class-is-editor.php:
|
826 |
msgid "Exclude Videos"
|
827 |
msgstr ""
|
828 |
|
829 |
-
#: ../admin/class-is-editor.php:
|
830 |
msgid "Exclude Audios"
|
831 |
msgstr ""
|
832 |
|
833 |
-
#: ../admin/class-is-editor.php:
|
834 |
msgid "Exclude Text Files"
|
835 |
msgstr ""
|
836 |
|
837 |
-
#: ../admin/class-is-editor.php:
|
838 |
msgid "Exclude PDF Files"
|
839 |
msgstr ""
|
840 |
|
841 |
-
#: ../admin/class-is-editor.php:
|
842 |
msgid "Exclude Document Files"
|
843 |
msgstr ""
|
844 |
|
845 |
-
#: ../admin/class-is-editor.php:
|
846 |
#, php-format
|
847 |
msgid ""
|
848 |
"This search form is configured in the %s section to search specific "
|
849 |
"attachments."
|
850 |
msgstr ""
|
851 |
|
852 |
-
#: ../admin/class-is-editor.php:
|
853 |
msgid "Exclude posts from search created by selected authors."
|
854 |
msgstr ""
|
855 |
|
856 |
-
#: ../admin/class-is-editor.php:
|
857 |
msgid "Search all author posts"
|
858 |
msgstr ""
|
859 |
|
860 |
-
#: ../admin/class-is-editor.php:
|
861 |
#, php-format
|
862 |
msgid ""
|
863 |
"This search form is configured in the %s section to search posts created by "
|
864 |
"specific authors."
|
865 |
msgstr ""
|
866 |
|
867 |
-
#: ../admin/class-is-editor.php:
|
868 |
msgid "Exclude posts from search having selected post statuses."
|
869 |
msgstr ""
|
870 |
|
871 |
-
#: ../admin/class-is-editor.php:
|
872 |
msgid "Exclude sticky posts from search"
|
873 |
msgstr ""
|
874 |
|
875 |
-
#: ../admin/class-is-editor.php:
|
876 |
msgid "Configure below options to manage functionality of this search form."
|
877 |
msgstr ""
|
878 |
|
879 |
-
#: ../admin/class-is-editor.php:
|
880 |
msgid "Posts Per Page"
|
881 |
msgstr ""
|
882 |
|
883 |
-
#: ../admin/class-is-editor.php:
|
884 |
msgid "Display selected number of posts on search results page."
|
885 |
msgstr ""
|
886 |
|
887 |
-
#: ../admin/class-is-editor.php:
|
888 |
msgid "Order Search Results"
|
889 |
msgstr ""
|
890 |
|
891 |
-
#: ../admin/class-is-editor.php:
|
892 |
msgid "Display posts on search results page ordered by selected options."
|
893 |
msgstr ""
|
894 |
|
895 |
-
#: ../admin/class-is-editor.php:
|
896 |
msgid "Highlight Search Terms"
|
897 |
msgstr ""
|
898 |
|
899 |
-
#: ../admin/class-is-editor.php:
|
900 |
msgid "Highlight searched terms on search results page"
|
901 |
msgstr ""
|
902 |
|
903 |
-
#: ../admin/class-is-editor.php:
|
904 |
msgid "Set highlight color in Hex format"
|
905 |
msgstr ""
|
906 |
|
907 |
-
#: ../admin/class-is-editor.php:
|
908 |
msgid "Search All Or Any Search Terms"
|
909 |
msgstr ""
|
910 |
|
911 |
-
#: ../admin/class-is-editor.php:
|
912 |
msgid ""
|
913 |
"Select whether to search posts having all or any of the words being searched."
|
914 |
msgstr ""
|
915 |
|
916 |
-
#: ../admin/class-is-editor.php:
|
917 |
msgid "OR - Display content having any of the search terms"
|
918 |
msgstr ""
|
919 |
|
920 |
-
#: ../admin/class-is-editor.php:
|
921 |
msgid "AND - Display content having all the search terms"
|
922 |
msgstr ""
|
923 |
|
924 |
-
#: ../admin/class-is-editor.php:
|
925 |
msgid "Fuzzy Matching"
|
926 |
msgstr ""
|
927 |
|
928 |
-
#: ../admin/class-is-editor.php:
|
929 |
msgid ""
|
930 |
"Select whether to search posts having whole or partial word being searched."
|
931 |
msgstr ""
|
932 |
|
933 |
-
#: ../admin/class-is-editor.php:
|
934 |
msgid "Whole - Search posts that include the whole search term"
|
935 |
msgstr ""
|
936 |
|
937 |
-
#: ../admin/class-is-editor.php:
|
938 |
msgid ""
|
939 |
"Partial - Also search words in the posts that begins or ends with the search "
|
940 |
"term"
|
941 |
msgstr ""
|
942 |
|
943 |
-
#: ../admin/class-is-editor.php:
|
944 |
msgid "Keyword Stemming"
|
945 |
msgstr ""
|
946 |
|
947 |
-
#: ../admin/class-is-editor.php:
|
948 |
msgid "Select whether to search the base word of a searched keyword."
|
949 |
msgstr ""
|
950 |
|
951 |
-
#: ../admin/class-is-editor.php:
|
952 |
msgid ""
|
953 |
"For Example: If you search \"doing\" then it also searches base word of "
|
954 |
"\"doing\" that is \"do\" in the specified post types."
|
955 |
msgstr ""
|
956 |
|
957 |
-
#: ../admin/class-is-editor.php:
|
958 |
msgid "Not recommended to use when Fuzzy Matching option is set to Whole."
|
959 |
msgstr ""
|
960 |
|
961 |
-
#: ../admin/class-is-editor.php:
|
962 |
msgid "Also search base word of searched keyword"
|
963 |
msgstr ""
|
964 |
|
965 |
-
#: ../admin/class-is-editor.php:
|
966 |
msgid "Display sticky posts to the start of the search results page"
|
967 |
msgstr ""
|
968 |
|
969 |
-
#: ../admin/class-is-editor.php:
|
970 |
msgid "Display search form only for site administrator"
|
971 |
msgstr ""
|
972 |
|
973 |
-
#: ../admin/class-is-editor.php:
|
974 |
msgid "Disable this search form"
|
975 |
msgstr ""
|
976 |
|
977 |
-
#: ../admin/class-is-editor.php:
|
978 |
msgid ""
|
979 |
"Select whether to display an error when user perform search without any "
|
980 |
"search word."
|
981 |
msgstr ""
|
982 |
|
983 |
-
#: ../admin/class-is-editor.php:
|
984 |
msgid "Display an error for empty search query"
|
985 |
msgstr ""
|
986 |
|
@@ -1368,20 +1372,26 @@ msgid ""
|
|
1368 |
"theme JavaScript file."
|
1369 |
msgstr ""
|
1370 |
|
1371 |
-
#: ../admin/class-is-settings-fields.php:
|
1372 |
-
msgid "Disable search functionality on entire website"
|
1373 |
-
msgstr ""
|
1374 |
-
|
1375 |
-
#: ../admin/class-is-settings-fields.php:493
|
1376 |
msgid "Warning: Use with caution."
|
1377 |
msgstr ""
|
1378 |
|
1379 |
-
#: ../admin/class-is-settings-fields.php:
|
1380 |
msgid ""
|
1381 |
"Do not use Default Search Form to control WordPress default search "
|
1382 |
"functionality"
|
1383 |
msgstr ""
|
1384 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1385 |
#: ../admin/partials/search-form.php:68 ../admin/partials/search-form.php:80
|
1386 |
msgid "Search form name"
|
1387 |
msgstr ""
|
@@ -1455,55 +1465,55 @@ msgstr ""
|
|
1455 |
msgid "Rate Ivory Search"
|
1456 |
msgstr ""
|
1457 |
|
1458 |
-
#: ../includes/class-is-admin-public.php:
|
1459 |
#: ../includes/class-is-search-form.php:450
|
1460 |
msgid "Search..."
|
1461 |
msgstr ""
|
1462 |
|
1463 |
-
#: ../includes/class-is-admin-public.php:
|
1464 |
msgid "Text Box Placeholder"
|
1465 |
msgstr ""
|
1466 |
|
1467 |
-
#: ../includes/class-is-admin-public.php:
|
1468 |
#: ../includes/class-is-search-form.php:451
|
1469 |
-
#: ../includes/class-is-search-form.php:491 ../public/class-is-public.php:
|
1470 |
-
#: ../public/class-is-public.php:
|
1471 |
msgid "Search"
|
1472 |
msgstr ""
|
1473 |
|
1474 |
-
#: ../includes/class-is-admin-public.php:
|
1475 |
msgid "Search Button"
|
1476 |
msgstr ""
|
1477 |
|
1478 |
-
#: ../includes/class-is-admin-public.php:
|
1479 |
msgid "Search Form Style"
|
1480 |
msgstr ""
|
1481 |
|
1482 |
-
#: ../includes/class-is-admin-public.php:
|
1483 |
msgid "Search form submit button field style."
|
1484 |
msgstr ""
|
1485 |
|
1486 |
-
#: ../includes/class-is-admin-public.php:
|
1487 |
msgid "Default Theme Search Form"
|
1488 |
msgstr ""
|
1489 |
|
1490 |
-
#: ../includes/class-is-admin-public.php:
|
1491 |
msgid "Style 1"
|
1492 |
msgstr ""
|
1493 |
|
1494 |
-
#: ../includes/class-is-admin-public.php:
|
1495 |
msgid "Style 2"
|
1496 |
msgstr ""
|
1497 |
|
1498 |
-
#: ../includes/class-is-admin-public.php:
|
1499 |
msgid "Style 3"
|
1500 |
msgstr ""
|
1501 |
|
1502 |
-
#: ../includes/class-is-admin-public.php:
|
1503 |
msgid "Loader Image"
|
1504 |
msgstr ""
|
1505 |
|
1506 |
-
#: ../includes/class-is-admin-public.php:
|
1507 |
msgid "AJAX loader image."
|
1508 |
msgstr ""
|
1509 |
|
@@ -1552,38 +1562,38 @@ msgstr ""
|
|
1552 |
msgid "Select Search Form"
|
1553 |
msgstr ""
|
1554 |
|
1555 |
-
#: ../public/class-is-ajax.php:
|
1556 |
msgid "More results"
|
1557 |
msgstr ""
|
1558 |
|
1559 |
-
#: ../public/class-is-ajax.php:
|
1560 |
msgid "Tag"
|
1561 |
msgstr ""
|
1562 |
|
1563 |
-
#: ../public/class-is-ajax.php:
|
1564 |
msgid "Category"
|
1565 |
msgstr ""
|
1566 |
|
1567 |
-
#: ../public/class-is-ajax.php:
|
1568 |
msgid "Tagged with:"
|
1569 |
msgstr ""
|
1570 |
|
1571 |
-
#: ../public/class-is-ajax.php:
|
1572 |
msgid "Categories:"
|
1573 |
msgstr ""
|
1574 |
|
1575 |
-
#: ../public/class-is-ajax.php:
|
1576 |
msgid "In stock"
|
1577 |
msgstr ""
|
1578 |
|
1579 |
-
#: ../public/class-is-ajax.php:
|
1580 |
msgid "Out of stock"
|
1581 |
msgstr ""
|
1582 |
|
1583 |
-
#: ../public/class-is-ajax.php:
|
1584 |
msgid "SKU:"
|
1585 |
msgstr ""
|
1586 |
|
1587 |
-
#: ../public/class-is-ajax.php:
|
1588 |
msgid "Sale!"
|
1589 |
msgstr ""
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: Ivory Search\n"
|
5 |
+
"POT-Creation-Date: 2020-06-16 18:12+0530\n"
|
6 |
"PO-Revision-Date: 2020-03-17 21:05+0530\n"
|
7 |
"Last-Translator: \n"
|
8 |
"Language-Team: Ivory Search <admin@ivorysearch.com>\n"
|
56 |
msgstr ""
|
57 |
|
58 |
#: ../admin/class-is-admin.php:204 ../admin/class-is-admin.php:447
|
59 |
+
#: ../includes/class-is-admin-public.php:100 ../includes/class-is-widget.php:13
|
60 |
msgid "Ivory Search"
|
61 |
msgstr ""
|
62 |
|
143 |
msgstr ""
|
144 |
|
145 |
#: ../admin/class-is-admin.php:427 ../admin/class-is-admin.php:432
|
146 |
+
#: ../admin/class-is-editor.php:683 ../admin/class-is-editor.php:1111
|
147 |
#: ../admin/class-is-help.php:35 ../admin/class-is-help.php:85
|
148 |
#: ../admin/partials/search-form.php:109
|
149 |
msgid "Includes"
|
239 |
msgstr ""
|
240 |
|
241 |
#: ../admin/class-is-editor.php:114 ../admin/class-is-editor.php:570
|
242 |
+
#: ../admin/class-is-editor.php:654 ../admin/class-is-editor.php:751
|
243 |
+
#: ../admin/class-is-editor.php:1082 ../admin/class-is-editor.php:1140
|
244 |
+
#: ../admin/class-is-editor.php:1422 ../admin/class-is-editor.php:1453
|
245 |
+
#: ../admin/class-is-editor.php:1569 ../admin/class-is-settings-fields.php:106
|
246 |
msgid "Expand All"
|
247 |
msgstr ""
|
248 |
|
249 |
#: ../admin/class-is-editor.php:114 ../admin/class-is-editor.php:570
|
250 |
+
#: ../admin/class-is-editor.php:655 ../admin/class-is-editor.php:752
|
251 |
+
#: ../admin/class-is-editor.php:1083 ../admin/class-is-editor.php:1140
|
252 |
+
#: ../admin/class-is-editor.php:1422 ../admin/class-is-editor.php:1453
|
253 |
+
#: ../admin/class-is-editor.php:1569 ../admin/class-is-settings-fields.php:106
|
254 |
msgid "Collapse All"
|
255 |
msgstr ""
|
256 |
|
270 |
msgid "Do not display post_type in the search URL"
|
271 |
msgstr ""
|
272 |
|
273 |
+
#: ../admin/class-is-editor.php:167 ../admin/class-is-editor.php:1132
|
274 |
msgid "( WooCommerce )"
|
275 |
msgstr ""
|
276 |
|
277 |
+
#: ../admin/class-is-editor.php:169 ../admin/class-is-editor.php:1134
|
278 |
msgid "( Images, Videos, Audios, Docs, PDFs, Files & Attachments )"
|
279 |
msgstr ""
|
280 |
|
281 |
#: ../admin/class-is-editor.php:214 ../admin/class-is-editor.php:262
|
282 |
#: ../admin/class-is-editor.php:285 ../admin/class-is-editor.php:336
|
283 |
+
#: ../admin/class-is-editor.php:1183 ../admin/class-is-editor.php:1236
|
284 |
+
#: ../admin/class-is-editor.php:1260 ../admin/class-is-editor.php:1307
|
285 |
msgid "Search.."
|
286 |
msgstr ""
|
287 |
|
288 |
+
#: ../admin/class-is-editor.php:218 ../admin/class-is-editor.php:1187
|
289 |
msgid "Load All"
|
290 |
msgstr ""
|
291 |
|
292 |
+
#: ../admin/class-is-editor.php:223 ../admin/class-is-editor.php:1193
|
293 |
#, php-format
|
294 |
msgid "No %s created."
|
295 |
msgstr ""
|
296 |
|
297 |
#: ../admin/class-is-editor.php:225 ../admin/class-is-editor.php:271
|
298 |
#: ../admin/class-is-editor.php:295 ../admin/class-is-editor.php:344
|
299 |
+
#: ../admin/class-is-editor.php:1195 ../admin/class-is-editor.php:1245
|
300 |
+
#: ../admin/class-is-editor.php:1271 ../admin/class-is-editor.php:1315
|
301 |
msgid ""
|
302 |
"Hold down the control (ctrl) or command button to select multiple options."
|
303 |
msgstr ""
|
345 |
msgid "Selected File Types :"
|
346 |
msgstr ""
|
347 |
|
348 |
+
#: ../admin/class-is-editor.php:354 ../admin/class-is-editor.php:1325
|
349 |
msgid "Search all MIME types"
|
350 |
msgstr ""
|
351 |
|
384 |
"types."
|
385 |
msgstr ""
|
386 |
|
387 |
+
#: ../admin/class-is-editor.php:381 ../admin/class-is-editor.php:1351
|
388 |
msgid ""
|
389 |
"You are using WordPress version less than 4.9 which does not support "
|
390 |
"searching by MIME type."
|
391 |
msgstr ""
|
392 |
|
393 |
+
#: ../admin/class-is-editor.php:390 ../admin/class-is-editor.php:838
|
394 |
+
#: ../admin/class-is-editor.php:1057 ../admin/class-is-list-table.php:34
|
395 |
msgid "Date"
|
396 |
msgstr ""
|
397 |
|
407 |
msgid "To"
|
408 |
msgstr ""
|
409 |
|
410 |
+
#: ../admin/class-is-editor.php:410 ../admin/class-is-editor.php:1361
|
411 |
msgid "Authors"
|
412 |
msgstr ""
|
413 |
|
450 |
msgid "Search approved comment content"
|
451 |
msgstr ""
|
452 |
|
453 |
+
#: ../admin/class-is-editor.php:513 ../admin/class-is-editor.php:1421
|
454 |
msgid "Post Status"
|
455 |
msgstr ""
|
456 |
|
478 |
msgid "Search posts without passwords"
|
479 |
msgstr ""
|
480 |
|
481 |
+
#: ../admin/class-is-editor.php:569 ../admin/class-is-editor.php:1568
|
482 |
#: ../admin/class-is-settings-fields.php:139
|
483 |
msgid "Extras"
|
484 |
msgstr ""
|
531 |
msgid "Enable Search Form Customization"
|
532 |
msgstr ""
|
533 |
|
534 |
+
#: ../admin/class-is-editor.php:652 ../admin/class-is-editor.php:1080
|
535 |
#: ../includes/class-is-search-form.php:517
|
536 |
msgid "Customizer"
|
537 |
msgstr ""
|
546 |
msgid "Search Form Customizer"
|
547 |
msgstr ""
|
548 |
|
549 |
+
#: ../admin/class-is-editor.php:717 ../public/class-is-ajax.php:67
|
550 |
msgid "Nothing found"
|
551 |
msgstr ""
|
552 |
|
553 |
+
#: ../admin/class-is-editor.php:720
|
554 |
msgid "View All"
|
555 |
msgstr ""
|
556 |
|
557 |
+
#: ../admin/class-is-editor.php:724
|
558 |
msgid "More Results.."
|
559 |
msgstr ""
|
560 |
|
561 |
+
#: ../admin/class-is-editor.php:735
|
562 |
msgid ""
|
563 |
"Configure below options to manage AJAX functionality of this search form."
|
564 |
msgstr ""
|
565 |
|
566 |
+
#: ../admin/class-is-editor.php:742 ../admin/class-is-editor.php:756
|
567 |
+
#: ../admin/class-is-editor.php:938 ../admin/class-is-editor.php:1087
|
568 |
msgid "Enable AJAX Search"
|
569 |
msgstr ""
|
570 |
|
571 |
+
#: ../admin/class-is-editor.php:749
|
572 |
msgid "Search Results"
|
573 |
msgstr ""
|
574 |
|
575 |
+
#: ../admin/class-is-editor.php:757
|
576 |
msgid "Display selected content in the search results."
|
577 |
msgstr ""
|
578 |
|
579 |
+
#: ../admin/class-is-editor.php:764
|
580 |
msgid "Description"
|
581 |
msgstr ""
|
582 |
|
583 |
+
#: ../admin/class-is-editor.php:772
|
584 |
msgid "Excerpt"
|
585 |
msgstr ""
|
586 |
|
587 |
+
#: ../admin/class-is-editor.php:778
|
588 |
msgid "Content"
|
589 |
msgstr ""
|
590 |
|
591 |
+
#: ../admin/class-is-editor.php:786
|
592 |
msgid "Description Length."
|
593 |
msgstr ""
|
594 |
|
595 |
+
#: ../admin/class-is-editor.php:794
|
596 |
msgid "Image"
|
597 |
msgstr ""
|
598 |
|
599 |
+
#: ../admin/class-is-editor.php:805
|
600 |
msgid "Categories"
|
601 |
msgstr ""
|
602 |
|
603 |
+
#: ../admin/class-is-editor.php:816
|
604 |
msgid "Tags"
|
605 |
msgstr ""
|
606 |
|
607 |
+
#: ../admin/class-is-editor.php:827 ../admin/class-is-list-table.php:33
|
608 |
msgid "Author"
|
609 |
msgstr ""
|
610 |
|
611 |
+
#: ../admin/class-is-editor.php:845
|
612 |
msgid "Minimum number of characters required to run ajax search."
|
613 |
msgstr ""
|
614 |
|
615 |
+
#: ../admin/class-is-editor.php:850
|
616 |
msgid "Search results box max height."
|
617 |
msgstr ""
|
618 |
|
619 |
+
#: ../admin/class-is-editor.php:853
|
620 |
msgid "Configure the plugin text displayed in the search results."
|
621 |
msgstr ""
|
622 |
|
623 |
+
#: ../admin/class-is-editor.php:858
|
624 |
msgid "Text when there is no search results. HTML tags is allowed."
|
625 |
msgstr ""
|
626 |
|
627 |
+
#: ../admin/class-is-editor.php:867
|
628 |
msgid "Show 'More Results..' text in the bottom of the search results box"
|
629 |
msgstr ""
|
630 |
|
631 |
+
#: ../admin/class-is-editor.php:875
|
632 |
msgid "Text for the \"More Results..\"."
|
633 |
msgstr ""
|
634 |
|
635 |
+
#: ../admin/class-is-editor.php:884
|
636 |
+
msgid "Redirect to search results page clicking on the 'More Results..' text"
|
637 |
+
msgstr ""
|
638 |
+
|
639 |
+
#: ../admin/class-is-editor.php:894
|
640 |
msgid ""
|
641 |
"View All Result - Show link to search results page at the bottom of search "
|
642 |
"results block."
|
643 |
msgstr ""
|
644 |
|
645 |
+
#: ../admin/class-is-editor.php:903
|
646 |
msgid ""
|
647 |
"Text for the \"View All\" which shown at the bottom of the search result."
|
648 |
msgstr ""
|
649 |
|
650 |
+
#: ../admin/class-is-editor.php:908
|
651 |
msgid "Configure how the search button should work clicking on it."
|
652 |
msgstr ""
|
653 |
|
654 |
+
#: ../admin/class-is-editor.php:914
|
655 |
msgid "Search button displays search results page"
|
656 |
msgstr ""
|
657 |
|
658 |
+
#: ../admin/class-is-editor.php:921
|
659 |
msgid "Search button displays ajax search results"
|
660 |
msgstr ""
|
661 |
|
662 |
+
#: ../admin/class-is-editor.php:929 ../admin/class-is-help.php:137
|
663 |
msgid "WooCommerce"
|
664 |
msgstr ""
|
665 |
|
666 |
+
#: ../admin/class-is-editor.php:936
|
667 |
#, php-format
|
668 |
msgid ""
|
669 |
"Please first configure this search form in the %s section to search "
|
670 |
"WooCommerce product post type."
|
671 |
msgstr ""
|
672 |
|
673 |
+
#: ../admin/class-is-editor.php:939
|
674 |
msgid "Display selected WooCommerce content in the search results."
|
675 |
msgstr ""
|
676 |
|
677 |
+
#: ../admin/class-is-editor.php:946 ../admin/class-is-editor.php:1058
|
678 |
msgid "Price"
|
679 |
msgstr ""
|
680 |
|
681 |
+
#: ../admin/class-is-editor.php:957
|
682 |
msgid "Hide Price for Out of Stock Products"
|
683 |
msgstr ""
|
684 |
|
685 |
+
#: ../admin/class-is-editor.php:968
|
686 |
msgid "Sale Badge"
|
687 |
msgstr ""
|
688 |
|
689 |
+
#: ../admin/class-is-editor.php:979
|
690 |
msgid "SKU"
|
691 |
msgstr ""
|
692 |
|
693 |
+
#: ../admin/class-is-editor.php:990
|
694 |
msgid "Stock Status"
|
695 |
msgstr ""
|
696 |
|
697 |
+
#: ../admin/class-is-editor.php:1001 ../public/class-is-ajax.php:623
|
698 |
msgid "Featured Icon"
|
699 |
msgstr ""
|
700 |
|
701 |
+
#: ../admin/class-is-editor.php:1012
|
702 |
msgid "Matching Categories"
|
703 |
msgstr ""
|
704 |
|
705 |
+
#: ../admin/class-is-editor.php:1023
|
706 |
msgid "Matching Tags"
|
707 |
msgstr ""
|
708 |
|
709 |
+
#: ../admin/class-is-editor.php:1034
|
710 |
msgid "Details Box"
|
711 |
msgstr ""
|
712 |
|
713 |
+
#: ../admin/class-is-editor.php:1040
|
714 |
msgid "Below options only apply to matching categories or tags."
|
715 |
msgstr ""
|
716 |
|
717 |
+
#: ../admin/class-is-editor.php:1042
|
718 |
msgid "Product List"
|
719 |
msgstr ""
|
720 |
|
721 |
+
#: ../admin/class-is-editor.php:1045
|
722 |
msgid "All Product"
|
723 |
msgstr ""
|
724 |
|
725 |
+
#: ../admin/class-is-editor.php:1046
|
726 |
msgid "Featured Products"
|
727 |
msgstr ""
|
728 |
|
729 |
+
#: ../admin/class-is-editor.php:1047
|
730 |
msgid "On-sale Products</option>"
|
731 |
msgstr ""
|
732 |
|
733 |
+
#: ../admin/class-is-editor.php:1054
|
734 |
msgid "Order by"
|
735 |
msgstr ""
|
736 |
|
737 |
+
#: ../admin/class-is-editor.php:1059
|
738 |
msgid "Random"
|
739 |
msgstr ""
|
740 |
|
741 |
+
#: ../admin/class-is-editor.php:1060
|
742 |
msgid "Sales"
|
743 |
msgstr ""
|
744 |
|
745 |
+
#: ../admin/class-is-editor.php:1067
|
746 |
msgid "Order"
|
747 |
msgstr ""
|
748 |
|
749 |
+
#: ../admin/class-is-editor.php:1070
|
750 |
msgid "ASC"
|
751 |
msgstr ""
|
752 |
|
753 |
+
#: ../admin/class-is-editor.php:1071
|
754 |
msgid "DESC"
|
755 |
msgstr ""
|
756 |
|
757 |
+
#: ../admin/class-is-editor.php:1088
|
758 |
msgid ""
|
759 |
"Use below customizer to customize AJAX search results color and loader image."
|
760 |
msgstr ""
|
761 |
|
762 |
+
#: ../admin/class-is-editor.php:1096
|
763 |
msgid "AJAX Search Customizer"
|
764 |
msgstr ""
|
765 |
|
766 |
+
#: ../admin/class-is-editor.php:1115
|
767 |
msgid "This search form excludes the below configured content from search."
|
768 |
msgstr ""
|
769 |
|
770 |
+
#: ../admin/class-is-editor.php:1202
|
771 |
#, php-format
|
772 |
msgid ""
|
773 |
"The search form is configured in the %s section to only search specific "
|
774 |
"posts of another post type."
|
775 |
msgstr ""
|
776 |
|
777 |
+
#: ../admin/class-is-editor.php:1208
|
778 |
#, php-format
|
779 |
msgid "Do not exclude any %s from search"
|
780 |
msgstr ""
|
781 |
|
782 |
+
#: ../admin/class-is-editor.php:1210
|
783 |
#, php-format
|
784 |
msgid "Exclude selected %s from search"
|
785 |
msgstr ""
|
786 |
|
787 |
+
#: ../admin/class-is-editor.php:1213
|
788 |
#, php-format
|
789 |
msgid ""
|
790 |
"The search form is configured in the %s section to only search specific "
|
791 |
"posts."
|
792 |
msgstr ""
|
793 |
|
794 |
+
#: ../admin/class-is-editor.php:1249
|
795 |
#, php-format
|
796 |
msgid ""
|
797 |
"Do not exclude any %s from search of any taxonomies (%s categories, tags & "
|
798 |
"terms %s)"
|
799 |
msgstr ""
|
800 |
|
801 |
+
#: ../admin/class-is-editor.php:1251
|
802 |
#, php-format
|
803 |
msgid ""
|
804 |
"Exclude %s from search of selected taxonomies (%s categories, tags & terms "
|
805 |
"%s)"
|
806 |
msgstr ""
|
807 |
|
808 |
+
#: ../admin/class-is-editor.php:1275
|
809 |
#, php-format
|
810 |
msgid "Exclude %s from search having selected custom fields"
|
811 |
msgstr ""
|
812 |
|
813 |
+
#: ../admin/class-is-editor.php:1287
|
814 |
msgid "Exclude 'Out of Stock' products from search"
|
815 |
msgstr ""
|
816 |
|
817 |
+
#: ../admin/class-is-editor.php:1317
|
818 |
msgid "Excluded File Types :"
|
819 |
msgstr ""
|
820 |
|
821 |
+
#: ../admin/class-is-editor.php:1327
|
822 |
msgid "Exclude selected MIME types from search"
|
823 |
msgstr ""
|
824 |
|
825 |
+
#: ../admin/class-is-editor.php:1331
|
826 |
msgid "Exclude Images"
|
827 |
msgstr ""
|
828 |
|
829 |
+
#: ../admin/class-is-editor.php:1333
|
830 |
msgid "Exclude Videos"
|
831 |
msgstr ""
|
832 |
|
833 |
+
#: ../admin/class-is-editor.php:1335
|
834 |
msgid "Exclude Audios"
|
835 |
msgstr ""
|
836 |
|
837 |
+
#: ../admin/class-is-editor.php:1337
|
838 |
msgid "Exclude Text Files"
|
839 |
msgstr ""
|
840 |
|
841 |
+
#: ../admin/class-is-editor.php:1339
|
842 |
msgid "Exclude PDF Files"
|
843 |
msgstr ""
|
844 |
|
845 |
+
#: ../admin/class-is-editor.php:1341
|
846 |
msgid "Exclude Document Files"
|
847 |
msgstr ""
|
848 |
|
849 |
+
#: ../admin/class-is-editor.php:1348
|
850 |
#, php-format
|
851 |
msgid ""
|
852 |
"This search form is configured in the %s section to search specific "
|
853 |
"attachments."
|
854 |
msgstr ""
|
855 |
|
856 |
+
#: ../admin/class-is-editor.php:1365
|
857 |
msgid "Exclude posts from search created by selected authors."
|
858 |
msgstr ""
|
859 |
|
860 |
+
#: ../admin/class-is-editor.php:1384 ../admin/class-is-editor.php:1386
|
861 |
msgid "Search all author posts"
|
862 |
msgstr ""
|
863 |
|
864 |
+
#: ../admin/class-is-editor.php:1414
|
865 |
#, php-format
|
866 |
msgid ""
|
867 |
"This search form is configured in the %s section to search posts created by "
|
868 |
"specific authors."
|
869 |
msgstr ""
|
870 |
|
871 |
+
#: ../admin/class-is-editor.php:1426
|
872 |
msgid "Exclude posts from search having selected post statuses."
|
873 |
msgstr ""
|
874 |
|
875 |
+
#: ../admin/class-is-editor.php:1431
|
876 |
msgid "Exclude sticky posts from search"
|
877 |
msgstr ""
|
878 |
|
879 |
+
#: ../admin/class-is-editor.php:1445
|
880 |
msgid "Configure below options to manage functionality of this search form."
|
881 |
msgstr ""
|
882 |
|
883 |
+
#: ../admin/class-is-editor.php:1452
|
884 |
msgid "Posts Per Page"
|
885 |
msgstr ""
|
886 |
|
887 |
+
#: ../admin/class-is-editor.php:1456
|
888 |
msgid "Display selected number of posts on search results page."
|
889 |
msgstr ""
|
890 |
|
891 |
+
#: ../admin/class-is-editor.php:1473
|
892 |
msgid "Order Search Results"
|
893 |
msgstr ""
|
894 |
|
895 |
+
#: ../admin/class-is-editor.php:1476
|
896 |
msgid "Display posts on search results page ordered by selected options."
|
897 |
msgstr ""
|
898 |
|
899 |
+
#: ../admin/class-is-editor.php:1501
|
900 |
msgid "Highlight Search Terms"
|
901 |
msgstr ""
|
902 |
|
903 |
+
#: ../admin/class-is-editor.php:1507
|
904 |
msgid "Highlight searched terms on search results page"
|
905 |
msgstr ""
|
906 |
|
907 |
+
#: ../admin/class-is-editor.php:1510
|
908 |
msgid "Set highlight color in Hex format"
|
909 |
msgstr ""
|
910 |
|
911 |
+
#: ../admin/class-is-editor.php:1516
|
912 |
msgid "Search All Or Any Search Terms"
|
913 |
msgstr ""
|
914 |
|
915 |
+
#: ../admin/class-is-editor.php:1520
|
916 |
msgid ""
|
917 |
"Select whether to search posts having all or any of the words being searched."
|
918 |
msgstr ""
|
919 |
|
920 |
+
#: ../admin/class-is-editor.php:1525
|
921 |
msgid "OR - Display content having any of the search terms"
|
922 |
msgstr ""
|
923 |
|
924 |
+
#: ../admin/class-is-editor.php:1527
|
925 |
msgid "AND - Display content having all the search terms"
|
926 |
msgstr ""
|
927 |
|
928 |
+
#: ../admin/class-is-editor.php:1533
|
929 |
msgid "Fuzzy Matching"
|
930 |
msgstr ""
|
931 |
|
932 |
+
#: ../admin/class-is-editor.php:1536
|
933 |
msgid ""
|
934 |
"Select whether to search posts having whole or partial word being searched."
|
935 |
msgstr ""
|
936 |
|
937 |
+
#: ../admin/class-is-editor.php:1541
|
938 |
msgid "Whole - Search posts that include the whole search term"
|
939 |
msgstr ""
|
940 |
|
941 |
+
#: ../admin/class-is-editor.php:1543
|
942 |
msgid ""
|
943 |
"Partial - Also search words in the posts that begins or ends with the search "
|
944 |
"term"
|
945 |
msgstr ""
|
946 |
|
947 |
+
#: ../admin/class-is-editor.php:1549
|
948 |
msgid "Keyword Stemming"
|
949 |
msgstr ""
|
950 |
|
951 |
+
#: ../admin/class-is-editor.php:1553
|
952 |
msgid "Select whether to search the base word of a searched keyword."
|
953 |
msgstr ""
|
954 |
|
955 |
+
#: ../admin/class-is-editor.php:1554
|
956 |
msgid ""
|
957 |
"For Example: If you search \"doing\" then it also searches base word of "
|
958 |
"\"doing\" that is \"do\" in the specified post types."
|
959 |
msgstr ""
|
960 |
|
961 |
+
#: ../admin/class-is-editor.php:1555
|
962 |
msgid "Not recommended to use when Fuzzy Matching option is set to Whole."
|
963 |
msgstr ""
|
964 |
|
965 |
+
#: ../admin/class-is-editor.php:1561
|
966 |
msgid "Also search base word of searched keyword"
|
967 |
msgstr ""
|
968 |
|
969 |
+
#: ../admin/class-is-editor.php:1574
|
970 |
msgid "Display sticky posts to the start of the search results page"
|
971 |
msgstr ""
|
972 |
|
973 |
+
#: ../admin/class-is-editor.php:1578
|
974 |
msgid "Display search form only for site administrator"
|
975 |
msgstr ""
|
976 |
|
977 |
+
#: ../admin/class-is-editor.php:1582
|
978 |
msgid "Disable this search form"
|
979 |
msgstr ""
|
980 |
|
981 |
+
#: ../admin/class-is-editor.php:1585
|
982 |
msgid ""
|
983 |
"Select whether to display an error when user perform search without any "
|
984 |
"search word."
|
985 |
msgstr ""
|
986 |
|
987 |
+
#: ../admin/class-is-editor.php:1589
|
988 |
msgid "Display an error for empty search query"
|
989 |
msgstr ""
|
990 |
|
1372 |
"theme JavaScript file."
|
1373 |
msgstr ""
|
1374 |
|
1375 |
+
#: ../admin/class-is-settings-fields.php:485
|
|
|
|
|
|
|
|
|
1376 |
msgid "Warning: Use with caution."
|
1377 |
msgstr ""
|
1378 |
|
1379 |
+
#: ../admin/class-is-settings-fields.php:490
|
1380 |
msgid ""
|
1381 |
"Do not use Default Search Form to control WordPress default search "
|
1382 |
"functionality"
|
1383 |
msgstr ""
|
1384 |
|
1385 |
+
#: ../admin/class-is-settings-fields.php:499
|
1386 |
+
msgid "Disable search functionality on entire website"
|
1387 |
+
msgstr ""
|
1388 |
+
|
1389 |
+
#: ../admin/class-is-settings-fields.php:509
|
1390 |
+
msgid ""
|
1391 |
+
"Display easy edit links of search form on the website frontend to the admin "
|
1392 |
+
"users"
|
1393 |
+
msgstr ""
|
1394 |
+
|
1395 |
#: ../admin/partials/search-form.php:68 ../admin/partials/search-form.php:80
|
1396 |
msgid "Search form name"
|
1397 |
msgstr ""
|
1465 |
msgid "Rate Ivory Search"
|
1466 |
msgstr ""
|
1467 |
|
1468 |
+
#: ../includes/class-is-admin-public.php:164
|
1469 |
#: ../includes/class-is-search-form.php:450
|
1470 |
msgid "Search..."
|
1471 |
msgstr ""
|
1472 |
|
1473 |
+
#: ../includes/class-is-admin-public.php:168
|
1474 |
msgid "Text Box Placeholder"
|
1475 |
msgstr ""
|
1476 |
|
1477 |
+
#: ../includes/class-is-admin-public.php:177
|
1478 |
#: ../includes/class-is-search-form.php:451
|
1479 |
+
#: ../includes/class-is-search-form.php:491 ../public/class-is-public.php:163
|
1480 |
+
#: ../public/class-is-public.php:206
|
1481 |
msgid "Search"
|
1482 |
msgstr ""
|
1483 |
|
1484 |
+
#: ../includes/class-is-admin-public.php:181
|
1485 |
msgid "Search Button"
|
1486 |
msgstr ""
|
1487 |
|
1488 |
+
#: ../includes/class-is-admin-public.php:195
|
1489 |
msgid "Search Form Style"
|
1490 |
msgstr ""
|
1491 |
|
1492 |
+
#: ../includes/class-is-admin-public.php:196
|
1493 |
msgid "Search form submit button field style."
|
1494 |
msgstr ""
|
1495 |
|
1496 |
+
#: ../includes/class-is-admin-public.php:200
|
1497 |
msgid "Default Theme Search Form"
|
1498 |
msgstr ""
|
1499 |
|
1500 |
+
#: ../includes/class-is-admin-public.php:203
|
1501 |
msgid "Style 1"
|
1502 |
msgstr ""
|
1503 |
|
1504 |
+
#: ../includes/class-is-admin-public.php:207
|
1505 |
msgid "Style 2"
|
1506 |
msgstr ""
|
1507 |
|
1508 |
+
#: ../includes/class-is-admin-public.php:211
|
1509 |
msgid "Style 3"
|
1510 |
msgstr ""
|
1511 |
|
1512 |
+
#: ../includes/class-is-admin-public.php:258
|
1513 |
msgid "Loader Image"
|
1514 |
msgstr ""
|
1515 |
|
1516 |
+
#: ../includes/class-is-admin-public.php:261
|
1517 |
msgid "AJAX loader image."
|
1518 |
msgstr ""
|
1519 |
|
1562 |
msgid "Select Search Form"
|
1563 |
msgstr ""
|
1564 |
|
1565 |
+
#: ../public/class-is-ajax.php:70
|
1566 |
msgid "More results"
|
1567 |
msgstr ""
|
1568 |
|
1569 |
+
#: ../public/class-is-ajax.php:100 ../public/class-is-ajax.php:512
|
1570 |
msgid "Tag"
|
1571 |
msgstr ""
|
1572 |
|
1573 |
+
#: ../public/class-is-ajax.php:110 ../public/class-is-ajax.php:510
|
1574 |
msgid "Category"
|
1575 |
msgstr ""
|
1576 |
|
1577 |
+
#: ../public/class-is-ajax.php:706
|
1578 |
msgid "Tagged with:"
|
1579 |
msgstr ""
|
1580 |
|
1581 |
+
#: ../public/class-is-ajax.php:734
|
1582 |
msgid "Categories:"
|
1583 |
msgstr ""
|
1584 |
|
1585 |
+
#: ../public/class-is-ajax.php:798
|
1586 |
msgid "In stock"
|
1587 |
msgstr ""
|
1588 |
|
1589 |
+
#: ../public/class-is-ajax.php:798
|
1590 |
msgid "Out of stock"
|
1591 |
msgstr ""
|
1592 |
|
1593 |
+
#: ../public/class-is-ajax.php:821
|
1594 |
msgid "SKU:"
|
1595 |
msgstr ""
|
1596 |
|
1597 |
+
#: ../public/class-is-ajax.php:873
|
1598 |
msgid "Sale!"
|
1599 |
msgstr ""
|
public/class-is-ajax.php
CHANGED
@@ -66,6 +66,7 @@ class IS_Ajax {
|
|
66 |
'show_date' => 0,
|
67 |
'nothing_found_text' => __( 'Nothing found', 'add-search-to-menu' ),
|
68 |
'show_more_result' => 0,
|
|
|
69 |
'more_result_text' => __( 'More results', 'add-search-to-menu' ),
|
70 |
'show_price' => 0,
|
71 |
'hide_price_out_of_stock' => 0,
|
@@ -79,11 +80,13 @@ class IS_Ajax {
|
|
79 |
);
|
80 |
|
81 |
$field = wp_parse_args( $stored_field, $defaults );
|
82 |
-
|
|
|
83 |
|
84 |
if ( isset( $field['show_details_box'] ) && $field['show_details_box'] ) {
|
85 |
$posts_class = 'is-show-details-enabled';
|
86 |
}
|
|
|
87 |
?>
|
88 |
<?php if( 1 == $page ) { ?>
|
89 |
<div class="is-ajax-search-items <?php echo esc_attr( $posts_class ); ?>">
|
@@ -117,6 +120,7 @@ class IS_Ajax {
|
|
117 |
'paged' => $page,
|
118 |
);
|
119 |
|
|
|
120 |
$posts = get_posts( $post_args );
|
121 |
|
122 |
if ( $posts ) {
|
@@ -201,16 +205,20 @@ class IS_Ajax {
|
|
201 |
<?php } ?>
|
202 |
<?php
|
203 |
if ( isset( $field['show_more_result'] ) && $field['show_more_result'] && ( count( $posts ) >= $posts_per_page ) ) {
|
204 |
-
$next_page = $page + 1;
|
205 |
-
|
|
|
|
|
206 |
<div class="is-show-more-results-text"><?php echo $field['more_result_text']; ?></div>
|
207 |
<?php
|
|
|
208 |
// AAJX Loader.
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
|
|
214 |
?>
|
215 |
</div>
|
216 |
<?php } ?>
|
@@ -367,7 +375,10 @@ class IS_Ajax {
|
|
367 |
$wrapper_class = $args['wrapper_class'];
|
368 |
|
369 |
$tags = $this->get_taxonomies( $taxonomy, $search_term );
|
370 |
-
|
|
|
|
|
|
|
371 |
<div class="<?php echo $wrapper_class; ?>">
|
372 |
<?php foreach ($tags as $key => $tag) { ?>
|
373 |
<div data-id="<?php echo esc_attr( $tag['term_id'] ); ?>" class="is-ajax-search-post">
|
@@ -397,7 +408,10 @@ class IS_Ajax {
|
|
397 |
$wrapper_class = $args['wrapper_class'];
|
398 |
|
399 |
$terms = $this->get_taxonomies( $taxonomy, $search_term );
|
400 |
-
|
|
|
|
|
|
|
401 |
?>
|
402 |
<div class="<?php echo $wrapper_class; ?>">
|
403 |
<?php
|
@@ -575,7 +589,10 @@ class IS_Ajax {
|
|
575 |
} else if( has_post_thumbnail( $post->ID ) ) {
|
576 |
$image = get_the_post_thumbnail( $post->ID, $image_size );
|
577 |
}
|
578 |
-
|
|
|
|
|
|
|
579 |
<div class="left-section">
|
580 |
<div class="thumbnail">
|
581 |
<a href="<?php echo get_the_permalink( $post->ID ); ?>"><?php echo $image; ?></a>
|
@@ -595,7 +612,10 @@ class IS_Ajax {
|
|
595 |
* @return void
|
596 |
*/
|
597 |
function title_markup( $field, $post, $product ) {
|
598 |
-
|
|
|
|
|
|
|
599 |
?>
|
600 |
<div class="is-title">
|
601 |
<a href="<?php echo get_the_permalink( $post->ID ); ?>">
|
@@ -620,7 +640,10 @@ class IS_Ajax {
|
|
620 |
* @return void
|
621 |
*/
|
622 |
function author_markup( $field ) {
|
623 |
-
|
|
|
|
|
|
|
624 |
<span class="author vcard">
|
625 |
<?php echo sprintf( '<i>%s</i>', _ex( 'By', 'Article written by', 'add-search-to-menu' ) ); ?>
|
626 |
<a class="url fn n" href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>">
|
@@ -640,7 +663,10 @@ class IS_Ajax {
|
|
640 |
* @return void
|
641 |
*/
|
642 |
function date_markup( $field, $post ) {
|
643 |
-
|
|
|
|
|
|
|
644 |
<span class="meta-date">
|
645 |
<span class="posted-on">
|
646 |
<?php
|
@@ -670,7 +696,10 @@ class IS_Ajax {
|
|
670 |
* @return void
|
671 |
*/
|
672 |
function tags_markup( $field, $post ) {
|
673 |
-
|
|
|
|
|
|
|
674 |
<?php $terms = get_the_terms( $post->ID, $post->post_type.'_tag' );
|
675 |
if ( $terms && ! is_wp_error( $terms ) ) { ?>
|
676 |
<span class="is-meta-tag">
|
@@ -693,7 +722,10 @@ class IS_Ajax {
|
|
693 |
* @return void
|
694 |
*/
|
695 |
function categories_markup( $field, $post ) {
|
696 |
-
|
|
|
|
|
|
|
697 |
<?php
|
698 |
$tax_name = ( 'post' === $post->post_type ) ? 'category' : $post->post_type.'_cat';
|
699 |
$terms = get_the_terms( $post->ID, $tax_name );
|
@@ -718,9 +750,10 @@ class IS_Ajax {
|
|
718 |
* @return void
|
719 |
*/
|
720 |
function description_markup( $field, $post, $single = false ) {
|
721 |
-
|
722 |
-
|
723 |
-
|
|
|
724 |
|
725 |
$excerpt_length = ( isset( $field['description_length'] ) && $field['description_length'] ) ? absint( $field['description_length'] ) : 20;
|
726 |
|
@@ -755,8 +788,10 @@ class IS_Ajax {
|
|
755 |
* @return void
|
756 |
*/
|
757 |
function product_stock_status_markup( $field, $product ) {
|
758 |
-
|
759 |
-
if( $
|
|
|
|
|
760 |
// Show stock status.
|
761 |
if( isset( $field['show_stock_status'] ) && $field['show_stock_status'] ) {
|
762 |
$stock_status = ( $product->is_in_stock() ) ? 'in-stock' : 'out-of-stock';
|
@@ -776,7 +811,10 @@ class IS_Ajax {
|
|
776 |
* @return void
|
777 |
*/
|
778 |
function product_sku_markup( $field, $product ) {
|
779 |
-
|
|
|
|
|
|
|
780 |
// Show SKU.
|
781 |
if( isset( $field['show_sku'] ) && $field['show_sku'] ) {
|
782 |
$sku = $product->get_sku();
|
@@ -796,10 +834,12 @@ class IS_Ajax {
|
|
796 |
*/
|
797 |
function product_price_markup( $field, $product ) {
|
798 |
|
799 |
-
$
|
800 |
-
|
801 |
-
|
|
|
802 |
if ( isset( $field['show_price'] ) && $field['show_price'] ) {
|
|
|
803 |
if ( $product->is_in_stock() || false === $hide_price_out_of_stock ) {?>
|
804 |
<span class="is-prices">
|
805 |
<?php
|
@@ -822,7 +862,10 @@ class IS_Ajax {
|
|
822 |
* @return void
|
823 |
*/
|
824 |
function product_sale_badge_markup( $field, $product ) {
|
825 |
-
|
|
|
|
|
|
|
826 |
// Show sale badge.
|
827 |
if ( isset( $field['show_sale_badge'] ) && $field['show_sale_badge'] ) {
|
828 |
$on_sale = ( $product->is_in_stock() ) ? $product->is_on_sale() : '';
|
66 |
'show_date' => 0,
|
67 |
'nothing_found_text' => __( 'Nothing found', 'add-search-to-menu' ),
|
68 |
'show_more_result' => 0,
|
69 |
+
'show_more_func' => 0,
|
70 |
'more_result_text' => __( 'More results', 'add-search-to-menu' ),
|
71 |
'show_price' => 0,
|
72 |
'hide_price_out_of_stock' => 0,
|
80 |
);
|
81 |
|
82 |
$field = wp_parse_args( $stored_field, $defaults );
|
83 |
+
$field = apply_filters( 'is_ajax_fields', $field );
|
84 |
+
$posts_class = 'is-show-details-disabled';
|
85 |
|
86 |
if ( isset( $field['show_details_box'] ) && $field['show_details_box'] ) {
|
87 |
$posts_class = 'is-show-details-enabled';
|
88 |
}
|
89 |
+
$posts_class = apply_filters( 'is_ajax_items_classes', $posts_class );
|
90 |
?>
|
91 |
<?php if( 1 == $page ) { ?>
|
92 |
<div class="is-ajax-search-items <?php echo esc_attr( $posts_class ); ?>">
|
120 |
'paged' => $page,
|
121 |
);
|
122 |
|
123 |
+
$post_args = apply_filters( 'is_ajax_search_args', $post_args );
|
124 |
$posts = get_posts( $post_args );
|
125 |
|
126 |
if ( $posts ) {
|
205 |
<?php } ?>
|
206 |
<?php
|
207 |
if ( isset( $field['show_more_result'] ) && $field['show_more_result'] && ( count( $posts ) >= $posts_per_page ) ) {
|
208 |
+
$next_page = $page + 1;
|
209 |
+
$show_more_class = ( isset( $field['show_more_func'] ) && $field['show_more_func'] ) ? 'redirect-tosr' : '';
|
210 |
+
?>
|
211 |
+
<div class="is-show-more-results <?php echo $show_more_class;?>" data-page="<?php echo $next_page; ?>">
|
212 |
<div class="is-show-more-results-text"><?php echo $field['more_result_text']; ?></div>
|
213 |
<?php
|
214 |
+
if ( '' === $show_more_class ){
|
215 |
// AAJX Loader.
|
216 |
+
$settings = get_option( 'is_search_' . $search_post_id );
|
217 |
+
$loader_image = isset( $settings['loader-image'] ) ? $settings['loader-image'] : IS_PLUGIN_URI . 'public/images/spinner.gif';
|
218 |
+
if( $loader_image ) {
|
219 |
+
echo '<img class="is-load-more-image" alt="'. esc_attr__( "Loader Image", 'add-search-to-menu' ) .'" src="'.esc_attr( $loader_image ).'" style="display: none;" />';
|
220 |
+
}
|
221 |
+
}
|
222 |
?>
|
223 |
</div>
|
224 |
<?php } ?>
|
375 |
$wrapper_class = $args['wrapper_class'];
|
376 |
|
377 |
$tags = $this->get_taxonomies( $taxonomy, $search_term );
|
378 |
+
$is_markup = apply_filters( 'is_customize_term_title_markup', false );
|
379 |
+
if ( $is_markup ) {
|
380 |
+
do_action( 'is_term_title_markup', $taxonomy, $search_term, $term_title, $wrapper_class, $tags );
|
381 |
+
} else if( $tags ) { ?>
|
382 |
<div class="<?php echo $wrapper_class; ?>">
|
383 |
<?php foreach ($tags as $key => $tag) { ?>
|
384 |
<div data-id="<?php echo esc_attr( $tag['term_id'] ); ?>" class="is-ajax-search-post">
|
408 |
$wrapper_class = $args['wrapper_class'];
|
409 |
|
410 |
$terms = $this->get_taxonomies( $taxonomy, $search_term );
|
411 |
+
$is_markup = apply_filters( 'is_customize_product_details_markup', false );
|
412 |
+
if ( $is_markup ) {
|
413 |
+
do_action( 'is_product_details_markup', $taxonomy, $search_term, $field, $wrapper_class, $terms );
|
414 |
+
} else if ( $terms ) {
|
415 |
?>
|
416 |
<div class="<?php echo $wrapper_class; ?>">
|
417 |
<?php
|
589 |
} else if( has_post_thumbnail( $post->ID ) ) {
|
590 |
$image = get_the_post_thumbnail( $post->ID, $image_size );
|
591 |
}
|
592 |
+
$is_markup = apply_filters( 'is_customize_image_markup', false );
|
593 |
+
if ( $is_markup ) {
|
594 |
+
do_action( 'is_image_markup', $image, $field );
|
595 |
+
} else if ( isset( $field['show_image'] ) && $field['show_image'] ) { ?>
|
596 |
<div class="left-section">
|
597 |
<div class="thumbnail">
|
598 |
<a href="<?php echo get_the_permalink( $post->ID ); ?>"><?php echo $image; ?></a>
|
612 |
* @return void
|
613 |
*/
|
614 |
function title_markup( $field, $post, $product ) {
|
615 |
+
$is_markup = apply_filters( 'is_customize_title_markup', false );
|
616 |
+
if ( $is_markup ) {
|
617 |
+
do_action( 'is_title_markup', $field, $post, $product );
|
618 |
+
} else if ( '' !== get_the_title( $post->ID ) ) {
|
619 |
?>
|
620 |
<div class="is-title">
|
621 |
<a href="<?php echo get_the_permalink( $post->ID ); ?>">
|
640 |
* @return void
|
641 |
*/
|
642 |
function author_markup( $field ) {
|
643 |
+
$is_markup = apply_filters( 'is_customize_author_markup', false );
|
644 |
+
if ( $is_markup ) {
|
645 |
+
do_action( 'is_author_markup', $field );
|
646 |
+
} else if ( isset( $field['show_author'] ) && $field['show_author'] ) { ?>
|
647 |
<span class="author vcard">
|
648 |
<?php echo sprintf( '<i>%s</i>', _ex( 'By', 'Article written by', 'add-search-to-menu' ) ); ?>
|
649 |
<a class="url fn n" href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>">
|
663 |
* @return void
|
664 |
*/
|
665 |
function date_markup( $field, $post ) {
|
666 |
+
$is_markup = apply_filters( 'is_customize_date_markup', false );
|
667 |
+
if ( $is_markup ) {
|
668 |
+
do_action( 'is_date_markup', $field, $post );
|
669 |
+
} else if ( isset( $field['show_date'] ) && $field['show_date'] ) { ?>
|
670 |
<span class="meta-date">
|
671 |
<span class="posted-on">
|
672 |
<?php
|
696 |
* @return void
|
697 |
*/
|
698 |
function tags_markup( $field, $post ) {
|
699 |
+
$is_markup = apply_filters( 'is_customize_tags_markup', false );
|
700 |
+
if ( $is_markup ) {
|
701 |
+
do_action( 'is_tags_markup', $field, $post );
|
702 |
+
} else if ( isset( $field['show_tags'] ) && $field['show_tags'] ) { ?>
|
703 |
<?php $terms = get_the_terms( $post->ID, $post->post_type.'_tag' );
|
704 |
if ( $terms && ! is_wp_error( $terms ) ) { ?>
|
705 |
<span class="is-meta-tag">
|
722 |
* @return void
|
723 |
*/
|
724 |
function categories_markup( $field, $post ) {
|
725 |
+
$is_markup = apply_filters( 'is_customize_categories_markup', false );
|
726 |
+
if ( $is_markup ) {
|
727 |
+
do_action( 'is_categories_markup', $field, $post );
|
728 |
+
} else if ( isset( $field['show_categories'] ) && $field['show_categories'] ) { ?>
|
729 |
<?php
|
730 |
$tax_name = ( 'post' === $post->post_type ) ? 'category' : $post->post_type.'_cat';
|
731 |
$terms = get_the_terms( $post->ID, $tax_name );
|
750 |
* @return void
|
751 |
*/
|
752 |
function description_markup( $field, $post, $single = false ) {
|
753 |
+
$is_markup = apply_filters( 'is_customize_description_markup', false );
|
754 |
+
if ( $is_markup ) {
|
755 |
+
do_action( 'is_description_markup', $field, $post, $single );
|
756 |
+
} else if ( isset( $field['show_description'] ) && $field['show_description'] ) { // Description either content or excerpt.
|
757 |
|
758 |
$excerpt_length = ( isset( $field['description_length'] ) && $field['description_length'] ) ? absint( $field['description_length'] ) : 20;
|
759 |
|
788 |
* @return void
|
789 |
*/
|
790 |
function product_stock_status_markup( $field, $product ) {
|
791 |
+
$is_markup = apply_filters( 'is_customize_product_stock_status_markup', false );
|
792 |
+
if ( $is_markup ) {
|
793 |
+
do_action( 'is_product_stock_status_markup', $field, $product );
|
794 |
+
} else if( $product ) {
|
795 |
// Show stock status.
|
796 |
if( isset( $field['show_stock_status'] ) && $field['show_stock_status'] ) {
|
797 |
$stock_status = ( $product->is_in_stock() ) ? 'in-stock' : 'out-of-stock';
|
811 |
* @return void
|
812 |
*/
|
813 |
function product_sku_markup( $field, $product ) {
|
814 |
+
$is_markup = apply_filters( 'is_customize_product_sku_markup', false );
|
815 |
+
if ( $is_markup ) {
|
816 |
+
do_action( 'is_product_sku_markup', $field, $product );
|
817 |
+
} else if ( $product ) {
|
818 |
// Show SKU.
|
819 |
if( isset( $field['show_sku'] ) && $field['show_sku'] ) {
|
820 |
$sku = $product->get_sku();
|
834 |
*/
|
835 |
function product_price_markup( $field, $product ) {
|
836 |
|
837 |
+
$is_markup = apply_filters( 'is_customize_product_price_markup', false );
|
838 |
+
if ( $is_markup ) {
|
839 |
+
do_action( 'is_product_price_markup', $field, $product );
|
840 |
+
} else if ( $product ) {
|
841 |
if ( isset( $field['show_price'] ) && $field['show_price'] ) {
|
842 |
+
$hide_price_out_of_stock = isset( $field['hide_price_out_of_stock'] ) && $field['hide_price_out_of_stock'] ? $field['hide_price_out_of_stock'] : false;
|
843 |
if ( $product->is_in_stock() || false === $hide_price_out_of_stock ) {?>
|
844 |
<span class="is-prices">
|
845 |
<?php
|
862 |
* @return void
|
863 |
*/
|
864 |
function product_sale_badge_markup( $field, $product ) {
|
865 |
+
$is_markup = apply_filters( 'is_customize_product_sale_badge_markup', false );
|
866 |
+
if ( $is_markup ) {
|
867 |
+
do_action( 'is_product_sale_badge_markup', $field, $product );
|
868 |
+
} else if ( $product ) {
|
869 |
// Show sale badge.
|
870 |
if ( isset( $field['show_sale_badge'] ) && $field['show_sale_badge'] ) {
|
871 |
$on_sale = ( $product->is_in_stock() ) ? $product->is_on_sale() : '';
|
public/class-is-public.php
CHANGED
@@ -111,14 +111,6 @@ class IS_Public
|
|
111 |
|
112 |
}
|
113 |
|
114 |
-
/**
|
115 |
-
* Registers search form shortcode.
|
116 |
-
*/
|
117 |
-
function init()
|
118 |
-
{
|
119 |
-
add_shortcode( 'ivory-search', array( $this, 'search_form_shortcode' ) );
|
120 |
-
}
|
121 |
-
|
122 |
/**
|
123 |
* Add classes to body element.
|
124 |
*/
|
@@ -128,56 +120,6 @@ class IS_Public
|
|
128 |
return $classes;
|
129 |
}
|
130 |
|
131 |
-
/**
|
132 |
-
* Displays search form by processing shortcode.
|
133 |
-
*/
|
134 |
-
function search_form_shortcode( $atts )
|
135 |
-
{
|
136 |
-
if ( is_feed() ) {
|
137 |
-
return '[ivory-search]';
|
138 |
-
}
|
139 |
-
if ( isset( $this->opt['disable'] ) ) {
|
140 |
-
return;
|
141 |
-
}
|
142 |
-
$atts = shortcode_atts( array(
|
143 |
-
'id' => 0,
|
144 |
-
'title' => '',
|
145 |
-
), $atts, 'ivory-search' );
|
146 |
-
$id = (int) $atts['id'];
|
147 |
-
$search_form = IS_Search_Form::get_instance( $id );
|
148 |
-
if ( !$search_form ) {
|
149 |
-
return '[ivory-search 404 "Not Found"]';
|
150 |
-
}
|
151 |
-
$form = $search_form->form_html( $atts );
|
152 |
-
return $form;
|
153 |
-
}
|
154 |
-
|
155 |
-
/**
|
156 |
-
* Changes default search form.
|
157 |
-
*/
|
158 |
-
function get_search_form( $form )
|
159 |
-
{
|
160 |
-
if ( isset( $this->opt['disable'] ) ) {
|
161 |
-
return '';
|
162 |
-
}
|
163 |
-
if ( isset( $this->opt['default_search'] ) ) {
|
164 |
-
return $form;
|
165 |
-
}
|
166 |
-
$page = get_page_by_path( 'default-search-form', OBJECT, 'is_search_form' );
|
167 |
-
|
168 |
-
if ( !empty($page) ) {
|
169 |
-
$search_form = IS_Search_Form::get_instance( $page->ID );
|
170 |
-
|
171 |
-
if ( $search_form ) {
|
172 |
-
$atts['id'] = (int) $page->ID;
|
173 |
-
$form = $search_form->form_html( $atts, 'n' );
|
174 |
-
}
|
175 |
-
|
176 |
-
}
|
177 |
-
|
178 |
-
return $form;
|
179 |
-
}
|
180 |
-
|
181 |
/**
|
182 |
* Displays menu search form.
|
183 |
*
|
111 |
|
112 |
}
|
113 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
114 |
/**
|
115 |
* Add classes to body element.
|
116 |
*/
|
120 |
return $classes;
|
121 |
}
|
122 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
123 |
/**
|
124 |
* Displays menu search form.
|
125 |
*
|
public/css/ivory-search.css
CHANGED
@@ -74,10 +74,14 @@
|
|
74 |
position: absolute;
|
75 |
right: 5px;
|
76 |
top: 5px;
|
77 |
-
width:
|
78 |
z-index: 9999;
|
79 |
}
|
80 |
|
|
|
|
|
|
|
|
|
81 |
.admin-bar .is-menu-wrapper {
|
82 |
top: 51px;
|
83 |
}
|
74 |
position: absolute;
|
75 |
right: 5px;
|
76 |
top: 5px;
|
77 |
+
width: auto;
|
78 |
z-index: 9999;
|
79 |
}
|
80 |
|
81 |
+
.is-menu-wrapper.is-expanded {
|
82 |
+
width: 100%;
|
83 |
+
}
|
84 |
+
|
85 |
.admin-bar .is-menu-wrapper {
|
86 |
top: 51px;
|
87 |
}
|
public/js/ivory-ajax-search.js
CHANGED
@@ -97,11 +97,17 @@
|
|
97 |
|
98 |
$( document ).on('click', '.is-show-more-results', function(event) {
|
99 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
100 |
$(this).find('.is-show-more-results-text').hide();
|
101 |
$(this).find('.is-load-more-image').show();
|
102 |
|
103 |
-
var search_results = $(event.target).closest('.is-ajax-search-result').attr('id');
|
104 |
-
var form_id = search_results.split(/[-]+/).pop();
|
105 |
var self = $( '.is-form-id-'+form_id+' .is-search-input' );
|
106 |
var page = $(this).attr('data-page') || '';
|
107 |
|
97 |
|
98 |
$( document ).on('click', '.is-show-more-results', function(event) {
|
99 |
|
100 |
+
var search_results = $(event.target).closest('.is-ajax-search-result').attr('id');
|
101 |
+
var form_id = search_results.split(/[-]+/).pop();
|
102 |
+
|
103 |
+
if ( $(this).hasClass( 'redirect-tosr' ) ) {
|
104 |
+
$( '.is-form-id-' + form_id ).submit();
|
105 |
+
return;
|
106 |
+
}
|
107 |
+
|
108 |
$(this).find('.is-show-more-results-text').hide();
|
109 |
$(this).find('.is-load-more-image').show();
|
110 |
|
|
|
|
|
111 |
var self = $( '.is-form-id-'+form_id+' .is-search-input' );
|
112 |
var page = $(this).attr('data-page') || '';
|
113 |
|
public/js/ivory-search.js
CHANGED
@@ -13,6 +13,12 @@
|
|
13 |
$( this ).parent().parent().css( 'position', 'relative' );
|
14 |
}
|
15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
if ( $( this ).parent().hasClass( 'dropdown' ) ) {
|
17 |
$( this ).parent().find( 'form' ).fadeToggle();
|
18 |
} else if ( $( this ).parent().hasClass( 'sliding' ) ) {
|
@@ -49,7 +55,9 @@
|
|
49 |
} );
|
50 |
|
51 |
$( 'form.is-search-form, form.search-form' ).on( 'hover', function( e ) {
|
|
|
52 |
$( this ).append( $( this ).next( ".is-link-container" ).remove() );
|
|
|
53 |
} );
|
54 |
|
55 |
$( window ).click( function( e ) {
|
@@ -61,6 +69,7 @@
|
|
61 |
function() {
|
62 |
$( '.is-menu' ).removeClass( 'active-search' );
|
63 |
$( '.is-menu' ).removeClass( 'open' );
|
|
|
64 |
}
|
65 |
);
|
66 |
} else if ( $( '.is-menu' ).hasClass( 'dropdown' ) ) {
|
13 |
$( this ).parent().parent().css( 'position', 'relative' );
|
14 |
}
|
15 |
|
16 |
+
if ( $( this ).closest( '.is-menu-wrapper' ).length ) {
|
17 |
+
if ( $( this ).parent().hasClass( 'sliding' ) || $( this ).parent().hasClass( 'full-width-menu' ) ) {
|
18 |
+
$( this ).closest( '.is-menu-wrapper' ).addClass( 'is-expanded' );
|
19 |
+
}
|
20 |
+
}
|
21 |
+
|
22 |
if ( $( this ).parent().hasClass( 'dropdown' ) ) {
|
23 |
$( this ).parent().find( 'form' ).fadeToggle();
|
24 |
} else if ( $( this ).parent().hasClass( 'sliding' ) ) {
|
55 |
} );
|
56 |
|
57 |
$( 'form.is-search-form, form.search-form' ).on( 'hover', function( e ) {
|
58 |
+
if ( $( this ).next( ".is-link-container" ).length ){
|
59 |
$( this ).append( $( this ).next( ".is-link-container" ).remove() );
|
60 |
+
}
|
61 |
} );
|
62 |
|
63 |
$( window ).click( function( e ) {
|
69 |
function() {
|
70 |
$( '.is-menu' ).removeClass( 'active-search' );
|
71 |
$( '.is-menu' ).removeClass( 'open' );
|
72 |
+
$( '.is-menu-wrapper' ).removeClass( 'is-expanded' );
|
73 |
}
|
74 |
);
|
75 |
} else if ( $( '.is-menu' ).hasClass( 'dropdown' ) ) {
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: search, woocommerce search, image search, ajax search, search shortcode, l
|
|
5 |
Requires at least: 3.9
|
6 |
Tested up to: 5.4
|
7 |
Requires PHP: 5.2.4
|
8 |
-
Stable tag: 4.4.
|
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.9 =
|
196 |
* Fixed - Admin area search forms listing conflict with WPML plugin.
|
197 |
* Fixed - Lazy loading issue by replacing ajax loader image with span tag.
|
5 |
Requires at least: 3.9
|
6 |
Tested up to: 5.4
|
7 |
Requires PHP: 5.2.4
|
8 |
+
Stable tag: 4.4.10
|
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.10 =
|
196 |
+
* Added - Plugin option to display search form easy to edit links.
|
197 |
+
* Added - Plugin option to redirect More Results text to search results page.
|
198 |
+
* Added - Hooks to customize AJAX search results.
|
199 |
+
* Fixed - Ivory Search widget was not working with Elementor page builder.
|
200 |
+
* Fixed - Ivory Search shortcode was not working in Elementor shortcodes element.
|
201 |
+
* Fixed - Mobile search form disables the header menu or logo link.
|
202 |
+
|
203 |
= 4.4.9 =
|
204 |
* Fixed - Admin area search forms listing conflict with WPML plugin.
|
205 |
* Fixed - Lazy loading issue by replacing ajax loader image with span tag.
|