Version Description
- Improved - Plugin admin area functionality.
Download this release
Release Info
Developer | vinod dalvi |
Plugin | Ivory Search – WordPress Search Plugin |
Version | 4.3.2 |
Comparing to | |
See all releases |
Code changes from version 4.3.1 to 4.3.2
- add-search-to-menu.php +1 -1
- admin/class-is-admin.php +87 -45
- admin/class-is-editor.php +72 -119
- admin/class-is-list-table.php +8 -0
- admin/class-is-settings-fields.php +2 -2
- admin/class-is-template.php +0 -44
- admin/css/ivory-search-admin.css +0 -4
- admin/partials/search-form.php +1 -1
- includes/class-is-search-form.php +0 -4
- includes/class-is.php +3 -2
- includes/freemius/includes/class-freemius.php +2 -2
- languages/default.po +276 -276
- public/class-is-public.php +4 -4
- readme.txt +5 -3
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.3.
|
7 |
* Author: Ivory Search
|
8 |
* Author URI: https://ivorysearch.com/
|
9 |
* License: GPL2+
|
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.3.2
|
7 |
* Author: Ivory Search
|
8 |
* Author URI: https://ivorysearch.com/
|
9 |
* License: GPL2+
|
admin/class-is-admin.php
CHANGED
@@ -78,7 +78,7 @@ class IS_Admin
|
|
78 |
);
|
79 |
|
80 |
if ( $this->custom_admin_pointers_check() ) {
|
81 |
-
add_action( 'admin_print_footer_scripts', array( $this, 'custom_admin_pointers_footer' ) );
|
82 |
wp_enqueue_script( 'wp-pointer' );
|
83 |
wp_enqueue_style( 'wp-pointer' );
|
84 |
}
|
@@ -104,6 +104,7 @@ class IS_Admin
|
|
104 |
<script type="text/javascript">
|
105 |
/* <![CDATA[ */
|
106 |
( function($) {
|
|
|
107 |
<?php
|
108 |
foreach ( $admin_pointers as $pointer => $array ) {
|
109 |
|
@@ -137,6 +138,7 @@ class IS_Admin
|
|
137 |
|
138 |
}
|
139 |
?>
|
|
|
140 |
} )(jQuery);
|
141 |
/* ]]> */
|
142 |
</script>
|
@@ -174,14 +176,36 @@ class IS_Admin
|
|
174 |
function plugin_action_links( $links, $file )
|
175 |
{
|
176 |
|
177 |
-
if (
|
178 |
-
$mylinks = array( '<a href="
|
179 |
$links = array_merge( $mylinks, $links );
|
180 |
}
|
181 |
|
182 |
return $links;
|
183 |
}
|
184 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
185 |
/**
|
186 |
* Change the admin footer text on Ivory Search admin pages.
|
187 |
*/
|
@@ -212,7 +236,7 @@ class IS_Admin
|
|
212 |
if ( !isset( $this->opt['is_notices']['config'] ) || !$this->opt['is_notices']['config'] ) {
|
213 |
$url = ( is_network_admin() ? network_site_url() : site_url( '/' ) );
|
214 |
echo '<div class="notice ivory-search"><p>' . sprintf(
|
215 |
-
__( 'Thank you for using <strong>Ivory Search</strong> plugin.
|
216 |
$url . 'wp-admin/admin.php?page=ivory-search',
|
217 |
'https://ivorysearch.com/support/',
|
218 |
'https://ivorysearch.com/contact/'
|
@@ -341,33 +365,30 @@ class IS_Admin
|
|
341 |
wp_redirect( remove_query_arg( 'is_dismiss' ) );
|
342 |
}
|
343 |
|
344 |
-
if ( !get_option( 'is_install', false ) ) {
|
345 |
-
update_option( 'is_install', date( 'Y-m-d' ) );
|
346 |
-
}
|
347 |
-
|
348 |
-
if ( !empty($GLOBALS['pagenow']) && ('admin.php' === $GLOBALS['pagenow'] || 'options.php' === $GLOBALS['pagenow']) ) {
|
349 |
-
$settings_fields = new IS_Settings_Fields( $this->opt );
|
350 |
-
$settings_fields->register_settings_fields();
|
351 |
-
}
|
352 |
|
353 |
-
|
354 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
355 |
|
356 |
-
if ( NULL === $search_form ) {
|
357 |
-
$args['id'] = -1;
|
358 |
-
$args['title'] = 'Default Search Form';
|
359 |
-
$args['_is_locale'] = 'en_US';
|
360 |
-
$args['_is_includes'] = array(
|
361 |
-
'post_type' => array(
|
362 |
-
'post' => 'post',
|
363 |
-
'page' => 'page',
|
364 |
-
),
|
365 |
-
'search_title' => 1,
|
366 |
-
'search_content' => 1,
|
367 |
-
);
|
368 |
-
$args['_is_excludes'] = '';
|
369 |
-
$args['_is_settings'] = '';
|
370 |
-
$this->save_form( $args );
|
371 |
}
|
372 |
|
373 |
}
|
@@ -461,14 +482,28 @@ class IS_Admin
|
|
461 |
array( $this, 'search_forms_page' )
|
462 |
);
|
463 |
add_action( 'load-' . $edit, array( $this, 'load_admin_search_form' ) );
|
464 |
-
$addnew =
|
465 |
-
|
466 |
-
|
467 |
-
|
468 |
-
|
469 |
-
|
470 |
-
|
471 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
472 |
add_action( 'load-' . $addnew, array( $this, 'load_admin_search_form' ) );
|
473 |
$settings = add_submenu_page(
|
474 |
'ivory-search',
|
@@ -584,6 +619,7 @@ class IS_Admin
|
|
584 |
$args = $_REQUEST;
|
585 |
$args['id'] = $id;
|
586 |
$args['title'] = ( isset( $_POST['post_title'] ) ? $_POST['post_title'] : null );
|
|
|
587 |
$args['_is_locale'] = ( isset( $_POST['is_locale'] ) ? $_POST['is_locale'] : null );
|
588 |
$args['_is_includes'] = ( isset( $_POST['_is_includes'] ) ? $_POST['_is_includes'] : '' );
|
589 |
$args['_is_excludes'] = ( isset( $_POST['_is_excludes'] ) ? $_POST['_is_excludes'] : '' );
|
@@ -683,14 +719,7 @@ class IS_Admin
|
|
683 |
$args['id'] = $id;
|
684 |
$args['title'] = ( isset( $_POST['post_title'] ) ? $_POST['post_title'] : null );
|
685 |
$args['_is_locale'] = null;
|
686 |
-
$args['_is_includes'] =
|
687 |
-
'post_type' => array(
|
688 |
-
'post' => 'post',
|
689 |
-
'page' => 'page',
|
690 |
-
),
|
691 |
-
'search_title' => 1,
|
692 |
-
'search_content' => 1,
|
693 |
-
);
|
694 |
$args['_is_excludes'] = '';
|
695 |
$args['_is_ajax'] = '';
|
696 |
$args['_is_customize'] = '';
|
@@ -828,9 +857,22 @@ class IS_Admin
|
|
828 |
$search_form->set_locale( $args['_is_locale'] );
|
829 |
}
|
830 |
$properties = $search_form->get_properties();
|
|
|
831 |
if ( null === $args['tab'] || 'includes' === $args['tab'] ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
832 |
$properties['_is_includes'] = $this->sanitize_includes( $args['_is_includes'] );
|
833 |
}
|
|
|
834 |
if ( null === $args['tab'] || 'excludes' === $args['tab'] ) {
|
835 |
$properties['_is_excludes'] = $this->sanitize_excludes( $args['_is_excludes'] );
|
836 |
}
|
78 |
);
|
79 |
|
80 |
if ( $this->custom_admin_pointers_check() ) {
|
81 |
+
add_action( 'admin_print_footer_scripts', array( $this, 'custom_admin_pointers_footer' ), 999999 );
|
82 |
wp_enqueue_script( 'wp-pointer' );
|
83 |
wp_enqueue_style( 'wp-pointer' );
|
84 |
}
|
104 |
<script type="text/javascript">
|
105 |
/* <![CDATA[ */
|
106 |
( function($) {
|
107 |
+
$( window ).load( function() {
|
108 |
<?php
|
109 |
foreach ( $admin_pointers as $pointer => $array ) {
|
110 |
|
138 |
|
139 |
}
|
140 |
?>
|
141 |
+
} );
|
142 |
} )(jQuery);
|
143 |
/* ]]> */
|
144 |
</script>
|
176 |
function plugin_action_links( $links, $file )
|
177 |
{
|
178 |
|
179 |
+
if ( IS_PLUGIN_BASE === $file ) {
|
180 |
+
$mylinks = array( '<a href="' . esc_url( menu_page_url( 'ivory-search', false ) ) . '">' . esc_html__( 'Settings', 'ivory-search' ) . '</a>' );
|
181 |
$links = array_merge( $mylinks, $links );
|
182 |
}
|
183 |
|
184 |
return $links;
|
185 |
}
|
186 |
|
187 |
+
/**
|
188 |
+
* Show row meta on the plugin screen.
|
189 |
+
*
|
190 |
+
* @param mixed $links Plugin Row Meta.
|
191 |
+
* @param mixed $file Plugin Base file.
|
192 |
+
*
|
193 |
+
* @return array
|
194 |
+
*/
|
195 |
+
function plugin_row_meta( $links, $file )
|
196 |
+
{
|
197 |
+
|
198 |
+
if ( IS_PLUGIN_BASE === $file ) {
|
199 |
+
$row_meta = array(
|
200 |
+
'docs' => '<a href="https://ivorysearch.com/documentation/" aria-label="' . esc_attr__( 'View Ivory Search documentation', 'ivory-search' ) . '">' . esc_html__( 'Docs', 'ivory-search' ) . '</a>',
|
201 |
+
'support' => '<a href="https://ivorysearch.com/support" aria-label="' . esc_attr__( 'Visit plugin customer support', 'ivory-search' ) . '">' . esc_html__( 'Support', 'ivory-search' ) . '</a>',
|
202 |
+
);
|
203 |
+
return array_merge( $links, $row_meta );
|
204 |
+
}
|
205 |
+
|
206 |
+
return (array) $links;
|
207 |
+
}
|
208 |
+
|
209 |
/**
|
210 |
* Change the admin footer text on Ivory Search admin pages.
|
211 |
*/
|
236 |
if ( !isset( $this->opt['is_notices']['config'] ) || !$this->opt['is_notices']['config'] ) {
|
237 |
$url = ( is_network_admin() ? network_site_url() : site_url( '/' ) );
|
238 |
echo '<div class="notice ivory-search"><p>' . sprintf(
|
239 |
+
__( 'Thank you for using <strong>Ivory Search</strong> plugin. You can configure its <a href="%1$s">settings</a> and get support on <a href="%2$s" target="_blank">support forum</a> or <a href="%3$s" target="_blank">contact us</a>.', 'ivory-search' ),
|
240 |
$url . 'wp-admin/admin.php?page=ivory-search',
|
241 |
'https://ivorysearch.com/support/',
|
242 |
'https://ivorysearch.com/contact/'
|
365 |
wp_redirect( remove_query_arg( 'is_dismiss' ) );
|
366 |
}
|
367 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
368 |
|
369 |
+
if ( empty($GLOBALS['pagenow']) || 'plugins.php' != $GLOBALS['pagenow'] ) {
|
370 |
+
if ( !get_option( 'is_install', false ) ) {
|
371 |
+
update_option( 'is_install', date( 'Y-m-d' ) );
|
372 |
+
}
|
373 |
+
|
374 |
+
if ( !empty($GLOBALS['pagenow']) && ('admin.php' === $GLOBALS['pagenow'] || 'options.php' === $GLOBALS['pagenow']) ) {
|
375 |
+
$settings_fields = new IS_Settings_Fields( $this->opt );
|
376 |
+
$settings_fields->register_settings_fields();
|
377 |
+
}
|
378 |
+
|
379 |
+
/* Creates default search form */
|
380 |
+
$search_form = get_page_by_path( 'default-search-form', OBJECT, IS_Search_Form::post_type );
|
381 |
+
|
382 |
+
if ( NULL == $search_form ) {
|
383 |
+
$args['id'] = -1;
|
384 |
+
$args['title'] = 'Default Search Form';
|
385 |
+
$args['_is_locale'] = 'en_US';
|
386 |
+
$args['_is_includes'] = '';
|
387 |
+
$args['_is_excludes'] = '';
|
388 |
+
$args['_is_settings'] = '';
|
389 |
+
$this->save_form( $args );
|
390 |
+
}
|
391 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
392 |
}
|
393 |
|
394 |
}
|
482 |
array( $this, 'search_forms_page' )
|
483 |
);
|
484 |
add_action( 'load-' . $edit, array( $this, 'load_admin_search_form' ) );
|
485 |
+
$addnew = '';
|
486 |
+
|
487 |
+
if ( isset( $_GET['page'] ) && 'ivory-search-new' == $_GET['page'] ) {
|
488 |
+
$addnew = add_submenu_page(
|
489 |
+
'ivory-search',
|
490 |
+
__( 'Add New Search Form', 'ivory-search' ),
|
491 |
+
__( 'Add New', 'ivory-search' ),
|
492 |
+
'manage_options',
|
493 |
+
'ivory-search-new',
|
494 |
+
array( $this, 'new_search_form_page' )
|
495 |
+
);
|
496 |
+
} else {
|
497 |
+
$addnew = add_submenu_page(
|
498 |
+
'',
|
499 |
+
__( 'Add New Search Form', 'ivory-search' ),
|
500 |
+
__( 'Add New', 'ivory-search' ),
|
501 |
+
'manage_options',
|
502 |
+
'ivory-search-new',
|
503 |
+
array( $this, 'new_search_form_page' )
|
504 |
+
);
|
505 |
+
}
|
506 |
+
|
507 |
add_action( 'load-' . $addnew, array( $this, 'load_admin_search_form' ) );
|
508 |
$settings = add_submenu_page(
|
509 |
'ivory-search',
|
619 |
$args = $_REQUEST;
|
620 |
$args['id'] = $id;
|
621 |
$args['title'] = ( isset( $_POST['post_title'] ) ? $_POST['post_title'] : null );
|
622 |
+
$args['title'] = ( null != $args['title'] && 'default search form' == strtolower( $args['title'] ) ? $args['title'] . ' ( Duplicate )' : $args['title'] );
|
623 |
$args['_is_locale'] = ( isset( $_POST['is_locale'] ) ? $_POST['is_locale'] : null );
|
624 |
$args['_is_includes'] = ( isset( $_POST['_is_includes'] ) ? $_POST['_is_includes'] : '' );
|
625 |
$args['_is_excludes'] = ( isset( $_POST['_is_excludes'] ) ? $_POST['_is_excludes'] : '' );
|
719 |
$args['id'] = $id;
|
720 |
$args['title'] = ( isset( $_POST['post_title'] ) ? $_POST['post_title'] : null );
|
721 |
$args['_is_locale'] = null;
|
722 |
+
$args['_is_includes'] = '';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
723 |
$args['_is_excludes'] = '';
|
724 |
$args['_is_ajax'] = '';
|
725 |
$args['_is_customize'] = '';
|
857 |
$search_form->set_locale( $args['_is_locale'] );
|
858 |
}
|
859 |
$properties = $search_form->get_properties();
|
860 |
+
|
861 |
if ( null === $args['tab'] || 'includes' === $args['tab'] ) {
|
862 |
+
if ( '' == $args['_is_includes'] ) {
|
863 |
+
$args['_is_includes'] = array(
|
864 |
+
'post_type' => get_post_types( array(
|
865 |
+
'public' => true,
|
866 |
+
'exclude_from_search' => false,
|
867 |
+
) ),
|
868 |
+
'search_title' => 1,
|
869 |
+
'search_content' => 1,
|
870 |
+
'search_excerpt' => 1,
|
871 |
+
);
|
872 |
+
}
|
873 |
$properties['_is_includes'] = $this->sanitize_includes( $args['_is_includes'] );
|
874 |
}
|
875 |
+
|
876 |
if ( null === $args['tab'] || 'excludes' === $args['tab'] ) {
|
877 |
$properties['_is_excludes'] = $this->sanitize_excludes( $args['_is_excludes'] );
|
878 |
}
|
admin/class-is-editor.php
CHANGED
@@ -96,6 +96,7 @@ class IS_Search_Editor
|
|
96 |
$includes = $post->prop( $id );
|
97 |
$excludes = $post->prop( '_is_excludes' );
|
98 |
$settings = $post->prop( '_is_settings' );
|
|
|
99 |
?>
|
100 |
<h4 class="panel-desc">
|
101 |
<?php
|
@@ -125,33 +126,27 @@ class IS_Search_Editor
|
|
125 |
$content = __( 'Search selected post types.', 'ivory-search' );
|
126 |
IS_Help::help_info( $content );
|
127 |
echo '<div>' ;
|
128 |
-
$
|
129 |
-
'public'
|
130 |
-
|
131 |
-
|
132 |
-
$args = array(
|
133 |
-
'public' => true,
|
134 |
-
'exclude_from_search' => false,
|
135 |
-
);
|
136 |
-
}
|
137 |
-
$posts = get_post_types( $args );
|
138 |
|
139 |
-
if ( !empty($
|
140 |
-
foreach ( $
|
141 |
-
$checked = ( isset( $includes['post_type'][esc_attr( $key )] ) ?
|
142 |
echo '<div class="col-wrapper check-radio">' ;
|
143 |
echo '<label for="' . $id . '-post_type-' . esc_attr( $key ) . '"> ' ;
|
144 |
echo '<input class="_is_includes-post_type" type="checkbox" id="' . $id . '-post_type-' . esc_attr( $key ) . '" name="' . $id . '[post_type][' . esc_attr( $key ) . ']" value="' . esc_attr( $key ) . '" ' . checked( $key, $checked, false ) . '/>' ;
|
145 |
echo '<span class="toggle-check-text"></span>' ;
|
146 |
echo ucfirst( esc_html( $post_type ) ) . '</label></div>' ;
|
147 |
}
|
148 |
-
$checked = ( isset( $includes['search_title'] ) && $includes['search_title'] ? 1 : 0 );
|
149 |
echo '<br /><br /><p class="check-radio"><label for="' . $id . '-search_title"><input class="_is_includes-post_type" type="checkbox" id="' . $id . '-search_title" name="' . $id . '[search_title]" value="1" ' . checked( 1, $checked, false ) . '/>' ;
|
150 |
echo '<span class="toggle-check-text"></span>' . esc_html__( "Search post title", 'ivory-search' ) . '</label></p>' ;
|
151 |
-
$checked = ( isset( $includes['search_content'] ) && $includes['search_content'] ? 1 : 0 );
|
152 |
echo '<p class="check-radio"><label for="' . $id . '-search_content"><input class="_is_includes-post_type" type="checkbox" id="' . $id . '-search_content" name="' . $id . '[search_content]" value="1" ' . checked( 1, $checked, false ) . '/>' ;
|
153 |
echo '<span class="toggle-check-text"></span>' . esc_html__( "Search post content", 'ivory-search' ) . '</label></p>' ;
|
154 |
-
$checked = ( isset( $includes['search_excerpt'] ) && $includes['search_excerpt'] ? 1 : 0 );
|
155 |
echo '<p class="check-radio"><label for="' . $id . '-search_excerpt"><input class="_is_includes-post_type" type="checkbox" id="' . $id . '-search_excerpt" name="' . $id . '[search_excerpt]" value="1" ' . checked( 1, $checked, false ) . '/>' ;
|
156 |
echo '<span class="toggle-check-text"></span>' . esc_html__( "Search post excerpt", 'ivory-search' ) . '</label></p>' ;
|
157 |
} else {
|
@@ -177,7 +172,6 @@ class IS_Search_Editor
|
|
177 |
$content = __( 'Search only selected posts.', 'ivory-search' );
|
178 |
IS_Help::help_info( $content );
|
179 |
echo '<div>' ;
|
180 |
-
$post_types = array( 'post', 'page' );
|
181 |
if ( isset( $includes['post_type'] ) && !empty($includes['post_type']) && is_array( $includes['post_type'] ) ) {
|
182 |
$post_types = array_values( $includes['post_type'] );
|
183 |
}
|
@@ -244,11 +238,7 @@ class IS_Search_Editor
|
|
244 |
$content = __( 'Search posts of only selected categories, taxonomies & terms.', 'ivory-search' );
|
245 |
IS_Help::help_info( $content );
|
246 |
echo '<div>' ;
|
247 |
-
$
|
248 |
-
if ( isset( $includes['post_type'] ) && !empty($includes['post_type']) && is_array( $includes['post_type'] ) ) {
|
249 |
-
$args = array_values( $includes['post_type'] );
|
250 |
-
}
|
251 |
-
$tax_objs = get_object_taxonomies( $args, 'objects' );
|
252 |
|
253 |
if ( !empty($tax_objs) ) {
|
254 |
foreach ( $tax_objs as $key => $tax_obj ) {
|
@@ -309,11 +299,7 @@ class IS_Search_Editor
|
|
309 |
$content = __( 'Search values of selected custom fields.', 'ivory-search' );
|
310 |
IS_Help::help_info( $content );
|
311 |
echo '<div>' ;
|
312 |
-
$
|
313 |
-
if ( isset( $includes['post_type'] ) && !empty($includes['post_type']) && is_array( $includes['post_type'] ) ) {
|
314 |
-
$args = array_values( $includes['post_type'] );
|
315 |
-
}
|
316 |
-
$meta_keys = $this->is_meta_keys( $args );
|
317 |
|
318 |
if ( !empty($meta_keys) ) {
|
319 |
echo '<input class="list-search wide" placeholder="' . __( "Search..", 'ivory-search' ) . '" type="text">' ;
|
@@ -358,12 +344,8 @@ class IS_Search_Editor
|
|
358 |
echo '<div>' ;
|
359 |
|
360 |
if ( class_exists( 'WooCommerce' ) ) {
|
361 |
-
$args = array( 'post', 'page' );
|
362 |
-
if ( isset( $includes['post_type'] ) && !empty($includes['post_type']) && is_array( $includes['post_type'] ) ) {
|
363 |
-
$args = array_values( $includes['post_type'] );
|
364 |
-
}
|
365 |
|
366 |
-
if ( in_array( 'product', $
|
367 |
$woo_sku_disable = ( is_fs()->is_plan_or_trial( 'pro_plus' ) && $this->is_premium_plugin ? '' : ' disabled ' );
|
368 |
$checked = ( isset( $includes['woo']['sku'] ) && $includes['woo']['sku'] ? 1 : 0 );
|
369 |
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 ) . '/>' ;
|
@@ -606,30 +588,27 @@ class IS_Search_Editor
|
|
606 |
?>
|
607 |
</div></div>
|
608 |
|
609 |
-
<?php
|
610 |
-
global $wp_version ;
|
611 |
-
|
612 |
-
if ( 4.9 <= $wp_version ) {
|
613 |
-
?>
|
614 |
-
|
615 |
<h3 scope="row">
|
616 |
<label for="<?php
|
617 |
-
|
618 |
-
|
619 |
-
|
620 |
-
|
621 |
<span class="actions"><a class="expand" href="#"><?php
|
622 |
-
|
623 |
-
|
624 |
-
|
625 |
-
|
626 |
<div>
|
627 |
<?php
|
628 |
-
|
629 |
-
|
630 |
-
|
|
|
|
|
|
|
631 |
|
632 |
-
if ( isset( $includes['post_type'] ) && in_array( 'attachment', $includes['post_type'] ) ) {
|
633 |
|
634 |
if ( !isset( $excludes['post_file_type'] ) ) {
|
635 |
$file_types = get_allowed_mime_types();
|
@@ -655,22 +634,21 @@ class IS_Search_Editor
|
|
655 |
} else {
|
656 |
echo '<span class="notice-is-info">' . __( 'Please first configure this search form to search Attachment post type.', 'ivory-search' ) . '</span>' ;
|
657 |
}
|
658 |
-
|
659 |
-
|
660 |
-
|
661 |
-
|
662 |
-
|
663 |
-
|
664 |
-
|
|
|
|
|
|
|
665 |
}
|
666 |
-
|
667 |
-
?>
|
668 |
-
</div></div>
|
669 |
-
|
670 |
-
<?php
|
671 |
}
|
672 |
|
673 |
?>
|
|
|
674 |
</div>
|
675 |
|
676 |
</div>
|
@@ -1703,6 +1681,7 @@ class IS_Search_Editor
|
|
1703 |
$id = '_is_excludes';
|
1704 |
$excludes = $post->prop( $id );
|
1705 |
$includes = $post->prop( '_is_includes' );
|
|
|
1706 |
?>
|
1707 |
<h4 class="panel-desc">
|
1708 |
<?php
|
@@ -1730,7 +1709,10 @@ class IS_Search_Editor
|
|
1730 |
$content = __( 'Exclude selected posts from search.', 'ivory-search' );
|
1731 |
IS_Help::help_info( $content );
|
1732 |
echo '<div>' ;
|
1733 |
-
$post_types = array(
|
|
|
|
|
|
|
1734 |
if ( isset( $includes['post_type'] ) && !empty($includes['post_type']) && is_array( $includes['post_type'] ) ) {
|
1735 |
$post_types = array_values( $includes['post_type'] );
|
1736 |
}
|
@@ -1899,12 +1881,8 @@ class IS_Search_Editor
|
|
1899 |
echo '<div>' ;
|
1900 |
|
1901 |
if ( class_exists( 'WooCommerce' ) ) {
|
1902 |
-
$args = array( 'post', 'page' );
|
1903 |
-
if ( isset( $includes['post_type'] ) && !empty($includes['post_type']) && is_array( $includes['post_type'] ) ) {
|
1904 |
-
$args = array_values( $includes['post_type'] );
|
1905 |
-
}
|
1906 |
|
1907 |
-
if ( in_array( 'product', $
|
1908 |
$outofstock_disable = ( is_fs()->is_plan_or_trial( 'pro_plus' ) && $this->is_premium_plugin ? '' : ' disabled ' );
|
1909 |
$checked = ( isset( $excludes['woo']['outofstock'] ) && $excludes['woo']['outofstock'] ? 1 : 0 );
|
1910 |
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 ) . '/>' ;
|
@@ -2017,30 +1995,27 @@ class IS_Search_Editor
|
|
2017 |
?>
|
2018 |
</div></div>
|
2019 |
|
2020 |
-
<?php
|
2021 |
-
global $wp_version ;
|
2022 |
-
|
2023 |
-
if ( 4.9 <= $wp_version ) {
|
2024 |
-
?>
|
2025 |
-
|
2026 |
<h3 scope="row">
|
2027 |
<label for="<?php
|
2028 |
-
|
2029 |
-
|
2030 |
-
|
2031 |
-
|
2032 |
<span class="actions"><a class="expand" href="#"><?php
|
2033 |
-
|
2034 |
-
|
2035 |
-
|
2036 |
-
|
2037 |
<div>
|
2038 |
<?php
|
2039 |
-
|
2040 |
-
|
2041 |
-
|
|
|
|
|
|
|
2042 |
|
2043 |
-
if ( isset( $includes['post_type'] ) && in_array( 'attachment', $includes['post_type'] ) ) {
|
2044 |
|
2045 |
if ( !isset( $includes['post_file_type'] ) ) {
|
2046 |
$file_types = get_allowed_mime_types();
|
@@ -2066,22 +2041,21 @@ class IS_Search_Editor
|
|
2066 |
} else {
|
2067 |
echo '<span class="notice-is-info">' . __( 'Please first configure this search form to search Attachment post type.', 'ivory-search' ) . '</span>' ;
|
2068 |
}
|
2069 |
-
|
2070 |
-
|
2071 |
-
|
2072 |
-
|
2073 |
-
|
2074 |
-
|
2075 |
-
|
|
|
|
|
|
|
2076 |
}
|
2077 |
-
|
2078 |
-
?>
|
2079 |
-
</div></div>
|
2080 |
-
|
2081 |
-
<?php
|
2082 |
}
|
2083 |
|
2084 |
?>
|
|
|
2085 |
</div>
|
2086 |
</div>
|
2087 |
<?php
|
@@ -2323,27 +2297,6 @@ class IS_Search_Editor
|
|
2323 |
?>
|
2324 |
</div></div>
|
2325 |
|
2326 |
-
|
2327 |
-
<h3 scope="row">
|
2328 |
-
<label for="<?php
|
2329 |
-
echo $id ;
|
2330 |
-
?>-exclude_from_search"><?php
|
2331 |
-
echo esc_html( __( 'Respect exclude_from_search', 'ivory-search' ) ) ;
|
2332 |
-
?></label>
|
2333 |
-
<span class="actions"><a class="expand" href="#"><?php
|
2334 |
-
esc_html_e( 'Expand All', 'ivory-search' );
|
2335 |
-
?></a><a class="collapse" href="#" style="display:none;"><?php
|
2336 |
-
esc_html_e( 'Collapse All', 'ivory-search' );
|
2337 |
-
?></a></span></h3>
|
2338 |
-
<div><div>
|
2339 |
-
<?php
|
2340 |
-
$checked = ( isset( $settings['exclude_from_search'] ) && $settings['exclude_from_search'] ? 1 : 0 );
|
2341 |
-
echo '<p class="check-radio"><label for="' . $id . '-exclude_from_search" ><input class="_is_settings-exclude_from_search" type="checkbox" id="' . $id . '-exclude_from_search" name="' . $id . '[exclude_from_search]" value="1" ' . checked( 1, $checked, false ) . '/>' ;
|
2342 |
-
echo '<span class="toggle-check-text"></span>' . esc_html__( "Do not search post types which are excluded from search", 'ivory-search' ) . '</label></p>' ;
|
2343 |
-
?>
|
2344 |
-
</div></div>
|
2345 |
-
|
2346 |
-
|
2347 |
<h3 scope="row">
|
2348 |
<label for="<?php
|
2349 |
echo $id ;
|
96 |
$includes = $post->prop( $id );
|
97 |
$excludes = $post->prop( '_is_excludes' );
|
98 |
$settings = $post->prop( '_is_settings' );
|
99 |
+
$default_search = ( NULL == $post->id() ? true : false );
|
100 |
?>
|
101 |
<h4 class="panel-desc">
|
102 |
<?php
|
126 |
$content = __( 'Search selected post types.', 'ivory-search' );
|
127 |
IS_Help::help_info( $content );
|
128 |
echo '<div>' ;
|
129 |
+
$post_types = get_post_types( array(
|
130 |
+
'public' => true,
|
131 |
+
'exclude_from_search' => false,
|
132 |
+
) );
|
|
|
|
|
|
|
|
|
|
|
|
|
133 |
|
134 |
+
if ( !empty($post_types) ) {
|
135 |
+
foreach ( $post_types as $key => $post_type ) {
|
136 |
+
$checked = ( $default_search || isset( $includes['post_type'][esc_attr( $key )] ) ? esc_attr( $key ) : 0 );
|
137 |
echo '<div class="col-wrapper check-radio">' ;
|
138 |
echo '<label for="' . $id . '-post_type-' . esc_attr( $key ) . '"> ' ;
|
139 |
echo '<input class="_is_includes-post_type" type="checkbox" id="' . $id . '-post_type-' . esc_attr( $key ) . '" name="' . $id . '[post_type][' . esc_attr( $key ) . ']" value="' . esc_attr( $key ) . '" ' . checked( $key, $checked, false ) . '/>' ;
|
140 |
echo '<span class="toggle-check-text"></span>' ;
|
141 |
echo ucfirst( esc_html( $post_type ) ) . '</label></div>' ;
|
142 |
}
|
143 |
+
$checked = ( $default_search || isset( $includes['search_title'] ) && $includes['search_title'] ? 1 : 0 );
|
144 |
echo '<br /><br /><p class="check-radio"><label for="' . $id . '-search_title"><input class="_is_includes-post_type" type="checkbox" id="' . $id . '-search_title" name="' . $id . '[search_title]" value="1" ' . checked( 1, $checked, false ) . '/>' ;
|
145 |
echo '<span class="toggle-check-text"></span>' . esc_html__( "Search post title", 'ivory-search' ) . '</label></p>' ;
|
146 |
+
$checked = ( $default_search || isset( $includes['search_content'] ) && $includes['search_content'] ? 1 : 0 );
|
147 |
echo '<p class="check-radio"><label for="' . $id . '-search_content"><input class="_is_includes-post_type" type="checkbox" id="' . $id . '-search_content" name="' . $id . '[search_content]" value="1" ' . checked( 1, $checked, false ) . '/>' ;
|
148 |
echo '<span class="toggle-check-text"></span>' . esc_html__( "Search post content", 'ivory-search' ) . '</label></p>' ;
|
149 |
+
$checked = ( $default_search || isset( $includes['search_excerpt'] ) && $includes['search_excerpt'] ? 1 : 0 );
|
150 |
echo '<p class="check-radio"><label for="' . $id . '-search_excerpt"><input class="_is_includes-post_type" type="checkbox" id="' . $id . '-search_excerpt" name="' . $id . '[search_excerpt]" value="1" ' . checked( 1, $checked, false ) . '/>' ;
|
151 |
echo '<span class="toggle-check-text"></span>' . esc_html__( "Search post excerpt", 'ivory-search' ) . '</label></p>' ;
|
152 |
} else {
|
172 |
$content = __( 'Search only selected posts.', 'ivory-search' );
|
173 |
IS_Help::help_info( $content );
|
174 |
echo '<div>' ;
|
|
|
175 |
if ( isset( $includes['post_type'] ) && !empty($includes['post_type']) && is_array( $includes['post_type'] ) ) {
|
176 |
$post_types = array_values( $includes['post_type'] );
|
177 |
}
|
238 |
$content = __( 'Search posts of only selected categories, taxonomies & terms.', 'ivory-search' );
|
239 |
IS_Help::help_info( $content );
|
240 |
echo '<div>' ;
|
241 |
+
$tax_objs = get_object_taxonomies( $post_types, 'objects' );
|
|
|
|
|
|
|
|
|
242 |
|
243 |
if ( !empty($tax_objs) ) {
|
244 |
foreach ( $tax_objs as $key => $tax_obj ) {
|
299 |
$content = __( 'Search values of selected custom fields.', 'ivory-search' );
|
300 |
IS_Help::help_info( $content );
|
301 |
echo '<div>' ;
|
302 |
+
$meta_keys = $this->is_meta_keys( $post_types );
|
|
|
|
|
|
|
|
|
303 |
|
304 |
if ( !empty($meta_keys) ) {
|
305 |
echo '<input class="list-search wide" placeholder="' . __( "Search..", 'ivory-search' ) . '" type="text">' ;
|
344 |
echo '<div>' ;
|
345 |
|
346 |
if ( class_exists( 'WooCommerce' ) ) {
|
|
|
|
|
|
|
|
|
347 |
|
348 |
+
if ( $default_search || in_array( 'product', $post_types ) ) {
|
349 |
$woo_sku_disable = ( is_fs()->is_plan_or_trial( 'pro_plus' ) && $this->is_premium_plugin ? '' : ' disabled ' );
|
350 |
$checked = ( isset( $includes['woo']['sku'] ) && $includes['woo']['sku'] ? 1 : 0 );
|
351 |
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 ) . '/>' ;
|
588 |
?>
|
589 |
</div></div>
|
590 |
|
|
|
|
|
|
|
|
|
|
|
|
|
591 |
<h3 scope="row">
|
592 |
<label for="<?php
|
593 |
+
echo $id ;
|
594 |
+
?>-post_file_type"><?php
|
595 |
+
echo esc_html( __( 'Attachments, Media, Files & MIME Types', 'ivory-search' ) ) ;
|
596 |
+
?></label>
|
597 |
<span class="actions"><a class="expand" href="#"><?php
|
598 |
+
esc_html_e( 'Expand All', 'ivory-search' );
|
599 |
+
?></a><a class="collapse" href="#" style="display:none;"><?php
|
600 |
+
esc_html_e( 'Collapse All', 'ivory-search' );
|
601 |
+
?></a></span></h3>
|
602 |
<div>
|
603 |
<?php
|
604 |
+
$content = __( 'Search selected media, attachments, images, documents, videos, files or MIME types.', 'ivory-search' );
|
605 |
+
IS_Help::help_info( $content );
|
606 |
+
echo '<div>' ;
|
607 |
+
global $wp_version ;
|
608 |
+
|
609 |
+
if ( 4.9 <= $wp_version ) {
|
610 |
|
611 |
+
if ( $default_search || isset( $includes['post_type'] ) && in_array( 'attachment', $includes['post_type'] ) ) {
|
612 |
|
613 |
if ( !isset( $excludes['post_file_type'] ) ) {
|
614 |
$file_types = get_allowed_mime_types();
|
634 |
} else {
|
635 |
echo '<span class="notice-is-info">' . __( 'Please first configure this search form to search Attachment post type.', 'ivory-search' ) . '</span>' ;
|
636 |
}
|
637 |
+
|
638 |
+
} else {
|
639 |
+
echo '<span class="notice-is-info">' . __( 'You are using WordPress version less than 4.9 which does not support searching by MIME type.', 'ivory-search' ) . '</span>' ;
|
640 |
+
}
|
641 |
+
|
642 |
+
|
643 |
+
if ( isset( $includes['post_file_type'] ) ) {
|
644 |
+
echo '<br />' . __( 'Selected File Types :', 'ivory-search' ) ;
|
645 |
+
foreach ( $includes['post_file_type'] as $post_file_type ) {
|
646 |
+
echo '<br /><span style="font-size: 11px;">' . $post_file_type . '</span>' ;
|
647 |
}
|
|
|
|
|
|
|
|
|
|
|
648 |
}
|
649 |
|
650 |
?>
|
651 |
+
</div></div>
|
652 |
</div>
|
653 |
|
654 |
</div>
|
1681 |
$id = '_is_excludes';
|
1682 |
$excludes = $post->prop( $id );
|
1683 |
$includes = $post->prop( '_is_includes' );
|
1684 |
+
$default_search = ( NULL == $post->id() ? true : false );
|
1685 |
?>
|
1686 |
<h4 class="panel-desc">
|
1687 |
<?php
|
1709 |
$content = __( 'Exclude selected posts from search.', 'ivory-search' );
|
1710 |
IS_Help::help_info( $content );
|
1711 |
echo '<div>' ;
|
1712 |
+
$post_types = get_post_types( array(
|
1713 |
+
'public' => true,
|
1714 |
+
'exclude_from_search' => false,
|
1715 |
+
) );
|
1716 |
if ( isset( $includes['post_type'] ) && !empty($includes['post_type']) && is_array( $includes['post_type'] ) ) {
|
1717 |
$post_types = array_values( $includes['post_type'] );
|
1718 |
}
|
1881 |
echo '<div>' ;
|
1882 |
|
1883 |
if ( class_exists( 'WooCommerce' ) ) {
|
|
|
|
|
|
|
|
|
1884 |
|
1885 |
+
if ( in_array( 'product', $post_types ) ) {
|
1886 |
$outofstock_disable = ( is_fs()->is_plan_or_trial( 'pro_plus' ) && $this->is_premium_plugin ? '' : ' disabled ' );
|
1887 |
$checked = ( isset( $excludes['woo']['outofstock'] ) && $excludes['woo']['outofstock'] ? 1 : 0 );
|
1888 |
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 ) . '/>' ;
|
1995 |
?>
|
1996 |
</div></div>
|
1997 |
|
|
|
|
|
|
|
|
|
|
|
|
|
1998 |
<h3 scope="row">
|
1999 |
<label for="<?php
|
2000 |
+
echo $id ;
|
2001 |
+
?>-post_file_type"><?php
|
2002 |
+
echo esc_html( __( 'Attachments, Media, Files & MIME Types', 'ivory-search' ) ) ;
|
2003 |
+
?></label>
|
2004 |
<span class="actions"><a class="expand" href="#"><?php
|
2005 |
+
esc_html_e( 'Expand All', 'ivory-search' );
|
2006 |
+
?></a><a class="collapse" href="#" style="display:none;"><?php
|
2007 |
+
esc_html_e( 'Collapse All', 'ivory-search' );
|
2008 |
+
?></a></span></h3>
|
2009 |
<div>
|
2010 |
<?php
|
2011 |
+
$content = __( 'Exclude selected media, attachments, images, documents, videos, files or MIME types from search.', 'ivory-search' );
|
2012 |
+
IS_Help::help_info( $content );
|
2013 |
+
echo '<div>' ;
|
2014 |
+
global $wp_version ;
|
2015 |
+
|
2016 |
+
if ( 4.9 <= $wp_version ) {
|
2017 |
|
2018 |
+
if ( $default_search || isset( $includes['post_type'] ) && in_array( 'attachment', $includes['post_type'] ) ) {
|
2019 |
|
2020 |
if ( !isset( $includes['post_file_type'] ) ) {
|
2021 |
$file_types = get_allowed_mime_types();
|
2041 |
} else {
|
2042 |
echo '<span class="notice-is-info">' . __( 'Please first configure this search form to search Attachment post type.', 'ivory-search' ) . '</span>' ;
|
2043 |
}
|
2044 |
+
|
2045 |
+
} else {
|
2046 |
+
echo '<span class="notice-is-info">' . __( 'You are using WordPress version less than 4.9 which does not support searching by MIME type.', 'ivory-search' ) . '</span>' ;
|
2047 |
+
}
|
2048 |
+
|
2049 |
+
|
2050 |
+
if ( isset( $excludes['post_file_type'] ) ) {
|
2051 |
+
echo '<br />' . __( 'Excluded File Types :', 'ivory-search' ) ;
|
2052 |
+
foreach ( $excludes['post_file_type'] as $post_file_type ) {
|
2053 |
+
echo '<br /><span style="font-size: 11px;">' . $post_file_type . '</span>' ;
|
2054 |
}
|
|
|
|
|
|
|
|
|
|
|
2055 |
}
|
2056 |
|
2057 |
?>
|
2058 |
+
</div></div>
|
2059 |
</div>
|
2060 |
</div>
|
2061 |
<?php
|
2297 |
?>
|
2298 |
</div></div>
|
2299 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2300 |
<h3 scope="row">
|
2301 |
<label for="<?php
|
2302 |
echo $id ;
|
admin/class-is-list-table.php
CHANGED
@@ -85,6 +85,14 @@ class IS_List_Table extends WP_List_Table {
|
|
85 |
$total_items = IS_Search_Form::count();
|
86 |
$total_pages = ceil( $total_items / $per_page );
|
87 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
88 |
$this->set_pagination_args( array(
|
89 |
'total_items' => $total_items,
|
90 |
'total_pages' => $total_pages,
|
85 |
$total_items = IS_Search_Form::count();
|
86 |
$total_pages = ceil( $total_items / $per_page );
|
87 |
|
88 |
+
if ( 1 == $total_items && ! isset( $_GET['s'] ) ) {
|
89 |
+
if ( isset( $this->items[0] ) && $this->items[0]->id() ) {
|
90 |
+
$redirect_to = esc_url( menu_page_url( 'ivory-search', false ) ) . '&post='.$this->items[0]->id().'&action=edit';
|
91 |
+
wp_safe_redirect( $redirect_to );
|
92 |
+
exit();
|
93 |
+
}
|
94 |
+
}
|
95 |
+
|
96 |
$this->set_pagination_args( array(
|
97 |
'total_items' => $total_items,
|
98 |
'total_pages' => $total_pages,
|
admin/class-is-settings-fields.php
CHANGED
@@ -349,8 +349,8 @@ class IS_Settings_Fields
|
|
349 |
}
|
350 |
$html .= '</select>';
|
351 |
|
352 |
-
if ( $check_value
|
353 |
-
$html .= '<a href="' . esc_url( menu_page_url( 'ivory-search', false ) ) . '&post=' . $check_value . '&action=edit"> ' . esc_html__( "Edit", 'ivory-search' ) . '</a>';
|
354 |
} else {
|
355 |
$html .= '<a href="' . esc_url( menu_page_url( 'ivory-search-new', false ) ) . '"> ' . esc_html__( "Create New", 'ivory-search' ) . '</a>';
|
356 |
}
|
349 |
}
|
350 |
$html .= '</select>';
|
351 |
|
352 |
+
if ( $check_value ) {
|
353 |
+
$html .= '<a href="' . esc_url( menu_page_url( 'ivory-search', false ) ) . '&post=' . $check_value . '&action=edit"> ' . esc_html__( "Edit Search Form", 'ivory-search' ) . '</a>';
|
354 |
} else {
|
355 |
$html .= '<a href="' . esc_url( menu_page_url( 'ivory-search-new', false ) ) . '"> ' . esc_html__( "Create New", 'ivory-search' ) . '</a>';
|
356 |
}
|
admin/class-is-template.php
DELETED
@@ -1,44 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Defines default search form fields.
|
4 |
-
*
|
5 |
-
* @package IS
|
6 |
-
*/
|
7 |
-
|
8 |
-
class IS_Template {
|
9 |
-
|
10 |
-
public static function get_default( $prop = '_is_includes' ) {
|
11 |
-
if ( '_is_includes' == $prop ) {
|
12 |
-
$template = self::includes();
|
13 |
-
} else if ( '_is_excludes' == $prop ) {
|
14 |
-
$template = self::excludes();
|
15 |
-
} else if ( '_is_settings' == $prop ) {
|
16 |
-
$template = self::settings();
|
17 |
-
} else {
|
18 |
-
$template = null;
|
19 |
-
}
|
20 |
-
|
21 |
-
return apply_filters( 'is_default_template', $template, $prop );
|
22 |
-
}
|
23 |
-
|
24 |
-
public static function includes() {
|
25 |
-
$template = array(
|
26 |
-
'post_type' => array(
|
27 |
-
'post' => 'post',
|
28 |
-
'page' => 'page'
|
29 |
-
),
|
30 |
-
'search_title' => 1,
|
31 |
-
'search_content' => 1,
|
32 |
-
);
|
33 |
-
|
34 |
-
return $template;
|
35 |
-
}
|
36 |
-
|
37 |
-
public static function excludes() {
|
38 |
-
return '';
|
39 |
-
}
|
40 |
-
|
41 |
-
public static function settings() {
|
42 |
-
return '';
|
43 |
-
}
|
44 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
admin/css/ivory-search-admin.css
CHANGED
@@ -275,10 +275,6 @@ h4.panel-desc::before,
|
|
275 |
text-decoration: none;
|
276 |
}
|
277 |
|
278 |
-
#toplevel_page_ivory-search .wp-submenu .wp-first-item + li {
|
279 |
-
display: none !important;
|
280 |
-
}
|
281 |
-
|
282 |
@media only screen and (min-width: 1420px) {
|
283 |
#search-form-editor #search-form-editor-tabs {
|
284 |
max-width: 185px;
|
275 |
text-decoration: none;
|
276 |
}
|
277 |
|
|
|
|
|
|
|
|
|
278 |
@media only screen and (min-width: 1420px) {
|
279 |
#search-form-editor #search-form-editor-tabs {
|
280 |
max-width: 185px;
|
admin/partials/search-form.php
CHANGED
@@ -156,7 +156,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
156 |
<?php $this->save_button( $post_id ); ?>
|
157 |
</div>
|
158 |
<?php
|
159 |
-
if ( ! $post->initial() && 'Default Search Form' !== $post->title() ) :
|
160 |
$delete_nonce = wp_create_nonce( 'is-delete-search-form_' . $post_id );
|
161 |
?>
|
162 |
<div id="delete-action">
|
156 |
<?php $this->save_button( $post_id ); ?>
|
157 |
</div>
|
158 |
<?php
|
159 |
+
if ( ! $post->initial() && ( 'Default Search Form' !== $post->title() || defined( 'DELETE_DEFAULT_SEARCH_FORM' ) ) ) :
|
160 |
$delete_nonce = wp_create_nonce( 'is-delete-search-form_' . $post_id );
|
161 |
?>
|
162 |
<div id="delete-action">
|
includes/class-is-search-form.php
CHANGED
@@ -113,10 +113,6 @@ class IS_Search_Form {
|
|
113 |
|
114 |
$properties = $search_form->get_properties();
|
115 |
|
116 |
-
foreach ( $properties as $key => $value ) {
|
117 |
-
$properties[$key] = IS_Template::get_default( $key );
|
118 |
-
}
|
119 |
-
|
120 |
$search_form->properties = $properties;
|
121 |
|
122 |
$search_form = apply_filters( 'is_search_form_default_pack',
|
113 |
|
114 |
$properties = $search_form->get_properties();
|
115 |
|
|
|
|
|
|
|
|
|
116 |
$search_form->properties = $properties;
|
117 |
|
118 |
$search_form = apply_filters( 'is_search_form_default_pack',
|
includes/class-is.php
CHANGED
@@ -125,6 +125,7 @@ class IS_Loader {
|
|
125 |
add_action( 'all_admin_notices', array( $admin, 'all_admin_notices' ) );
|
126 |
add_action( 'admin_footer', array( $admin, 'admin_footer' ), 100 );
|
127 |
add_action( 'plugin_action_links', array( $admin, 'plugin_action_links' ), 10, 2 );
|
|
|
128 |
add_action( 'admin_menu', array( $admin, 'admin_menu' ) );
|
129 |
add_action( 'wp_ajax_nopriv_display_posts', array( $admin, 'display_posts' ) );
|
130 |
add_action( 'wp_ajax_display_posts', array( $admin, 'display_posts' ) );
|
@@ -163,7 +164,7 @@ class IS_Loader {
|
|
163 |
$display_in_mobile_menu = $header_menu_search && wp_is_mobile() ? true : false;
|
164 |
|
165 |
if ( $display_in_mobile_menu || $site_cache ) {
|
166 |
-
|
167 |
}
|
168 |
|
169 |
if ( ! $display_in_mobile_menu || $site_cache ) {
|
@@ -175,7 +176,7 @@ class IS_Loader {
|
|
175 |
add_filter( 'posts_search', array( $public, 'posts_search' ), 9999999, 2 );
|
176 |
add_action( 'pre_get_posts', array( $public, 'pre_get_posts' ), 9999999 );
|
177 |
add_action( 'wp_footer', array( $public, 'wp_footer' ) );
|
178 |
-
add_action( 'wp_head', array( $public, 'wp_head' ) );
|
179 |
|
180 |
$ajax = IS_Ajax::getInstance();
|
181 |
add_action( 'wp_ajax_is_ajax_load_posts', array( $ajax, 'ajax_load_posts' ) );
|
125 |
add_action( 'all_admin_notices', array( $admin, 'all_admin_notices' ) );
|
126 |
add_action( 'admin_footer', array( $admin, 'admin_footer' ), 100 );
|
127 |
add_action( 'plugin_action_links', array( $admin, 'plugin_action_links' ), 10, 2 );
|
128 |
+
add_filter( 'plugin_row_meta', array( $admin, 'plugin_row_meta' ), 10, 2 );
|
129 |
add_action( 'admin_menu', array( $admin, 'admin_menu' ) );
|
130 |
add_action( 'wp_ajax_nopriv_display_posts', array( $admin, 'display_posts' ) );
|
131 |
add_action( 'wp_ajax_display_posts', array( $admin, 'display_posts' ) );
|
164 |
$display_in_mobile_menu = $header_menu_search && wp_is_mobile() ? true : false;
|
165 |
|
166 |
if ( $display_in_mobile_menu || $site_cache ) {
|
167 |
+
add_action( 'wp_head', array( $public, 'header_menu_search' ), 9999999 );
|
168 |
}
|
169 |
|
170 |
if ( ! $display_in_mobile_menu || $site_cache ) {
|
176 |
add_filter( 'posts_search', array( $public, 'posts_search' ), 9999999, 2 );
|
177 |
add_action( 'pre_get_posts', array( $public, 'pre_get_posts' ), 9999999 );
|
178 |
add_action( 'wp_footer', array( $public, 'wp_footer' ) );
|
179 |
+
add_action( 'wp_head', array( $public, 'wp_head' ), 9999999 );
|
180 |
|
181 |
$ajax = IS_Ajax::getInstance();
|
182 |
add_action( 'wp_ajax_is_ajax_load_posts', array( $ajax, 'ajax_load_posts' ) );
|
includes/freemius/includes/class-freemius.php
CHANGED
@@ -6912,8 +6912,8 @@
|
|
6912 |
* Don't redirect if activating multiple plugins at once (bulk activation).
|
6913 |
*/
|
6914 |
} else {
|
6915 |
-
$this->_redirect_on_activation_hook();
|
6916 |
-
return;
|
6917 |
}
|
6918 |
}
|
6919 |
|
6912 |
* Don't redirect if activating multiple plugins at once (bulk activation).
|
6913 |
*/
|
6914 |
} else {
|
6915 |
+
// $this->_redirect_on_activation_hook();
|
6916 |
+
// return;
|
6917 |
}
|
6918 |
}
|
6919 |
|
languages/default.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Ivory Search\n"
|
4 |
-
"POT-Creation-Date: 2019-06-
|
5 |
-
"PO-Revision-Date: 2019-06-
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: Ivory Search <admin@ivorysearch.com>\n"
|
8 |
"Language: en_US\n"
|
@@ -20,169 +20,176 @@ 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:
|
|
|
24 |
msgid "Edit Search Form"
|
25 |
msgstr ""
|
26 |
|
27 |
-
#: ../admin/class-is-admin.php:
|
28 |
msgid "Click on the search form title to edit it."
|
29 |
msgstr ""
|
30 |
|
31 |
-
#: ../admin/class-is-admin.php:
|
32 |
msgid "Edit the Default Search Form to manage the default WordPress search."
|
33 |
msgstr ""
|
34 |
|
35 |
-
#: ../admin/class-is-admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
#: ../admin/partials/search-form.php:195 ../admin/partials/settings-form.php:98
|
37 |
msgid "Support"
|
38 |
msgstr ""
|
39 |
|
40 |
-
#: ../admin/class-is-admin.php:
|
41 |
#, php-format
|
42 |
msgid ""
|
43 |
"If you like %1$s please leave us a %2$s rating. A huge thanks in advance!"
|
44 |
msgstr ""
|
45 |
|
46 |
-
#: ../admin/class-is-admin.php:
|
47 |
#: ../includes/class-is-admin-public.php:106 ../includes/class-is-widget.php:13
|
48 |
#: ../includes/class-is-widget.php:45
|
49 |
msgid "Ivory Search"
|
50 |
msgstr ""
|
51 |
|
52 |
-
#: ../admin/class-is-admin.php:
|
53 |
#, php-format
|
54 |
msgid ""
|
55 |
-
"Thank you for using <strong>Ivory Search</strong> plugin.
|
56 |
-
"its <a href=\"%1$s\">
|
57 |
-
"
|
58 |
-
"
|
59 |
msgstr ""
|
60 |
|
61 |
-
#: ../admin/class-is-admin.php:
|
62 |
msgid "Dismiss"
|
63 |
msgstr ""
|
64 |
|
65 |
-
#: ../admin/class-is-admin.php:
|
66 |
msgid "Have you found Ivory Search plugin useful?"
|
67 |
msgstr ""
|
68 |
|
69 |
-
#: ../admin/class-is-admin.php:
|
70 |
msgid ""
|
71 |
"We poured a lot of hours into creating it, and we'd love it if you could "
|
72 |
"give us a nice rating on the official plugin directory."
|
73 |
msgstr ""
|
74 |
|
75 |
-
#: ../admin/class-is-admin.php:
|
76 |
msgid "Rate Ivory Search and Help Us Out"
|
77 |
msgstr ""
|
78 |
|
79 |
-
#: ../admin/class-is-admin.php:
|
80 |
msgid "Get Support"
|
81 |
msgstr ""
|
82 |
|
83 |
-
#: ../admin/class-is-admin.php:
|
84 |
msgid "Say Hi"
|
85 |
msgstr ""
|
86 |
|
87 |
-
#: ../admin/class-is-admin.php:
|
88 |
msgid "No posts found"
|
89 |
msgstr ""
|
90 |
|
91 |
-
#: ../admin/class-is-admin.php:
|
92 |
msgid "Search form created."
|
93 |
msgstr ""
|
94 |
|
95 |
-
#: ../admin/class-is-admin.php:
|
96 |
msgid "Search form saved."
|
97 |
msgstr ""
|
98 |
|
99 |
-
#: ../admin/class-is-admin.php:
|
100 |
msgid "Search form deleted."
|
101 |
msgstr ""
|
102 |
|
103 |
-
#: ../admin/class-is-admin.php:
|
104 |
msgid "Search form reset."
|
105 |
msgstr ""
|
106 |
|
107 |
-
#: ../admin/class-is-admin.php:
|
108 |
msgid "There was an error saving the search form."
|
109 |
msgstr ""
|
110 |
|
111 |
-
#: ../admin/class-is-admin.php:
|
112 |
msgid "There was a validation error saving the search form."
|
113 |
msgstr ""
|
114 |
|
115 |
-
#: ../admin/class-is-admin.php:
|
116 |
#, php-format
|
117 |
msgid ""
|
118 |
"Please make sure you have not selected similar %s fields in the search form "
|
119 |
"Includes and Excludes sections."
|
120 |
msgstr ""
|
121 |
|
122 |
-
#: ../admin/class-is-admin.php:
|
123 |
#: ../includes/class-is-search-form.php:59
|
124 |
msgid "Search Forms"
|
125 |
msgstr ""
|
126 |
|
127 |
-
#: ../admin/class-is-admin.php:
|
|
|
128 |
msgid "Add New Search Form"
|
129 |
msgstr ""
|
130 |
|
131 |
-
#: ../admin/class-is-admin.php:
|
132 |
-
#: ../admin/partials/search-form.php:31
|
133 |
msgid "Add New"
|
134 |
msgstr ""
|
135 |
|
136 |
-
#: ../admin/class-is-admin.php:
|
137 |
msgid "Ivory Search Settings"
|
138 |
msgstr ""
|
139 |
|
140 |
-
#: ../admin/class-is-admin.php:
|
141 |
-
msgid "Settings"
|
142 |
-
msgstr ""
|
143 |
-
|
144 |
-
#: ../admin/class-is-admin.php:458
|
145 |
#, php-format
|
146 |
msgid "Search results for “%s”"
|
147 |
msgstr ""
|
148 |
|
149 |
-
#: ../admin/class-is-admin.php:
|
150 |
msgid "Find Search Forms"
|
151 |
msgstr ""
|
152 |
|
153 |
-
#: ../admin/class-is-admin.php:
|
154 |
msgid "You are not allowed to edit this item."
|
155 |
msgstr ""
|
156 |
|
157 |
-
#: ../admin/class-is-admin.php:
|
158 |
msgid "You are not allowed to reset this item."
|
159 |
msgstr ""
|
160 |
|
161 |
-
#: ../admin/class-is-admin.php:
|
162 |
msgid "You are not allowed to copy this item."
|
163 |
msgstr ""
|
164 |
|
165 |
-
#: ../admin/class-is-admin.php:
|
166 |
msgid "You are not allowed to delete this item."
|
167 |
msgstr ""
|
168 |
|
169 |
-
#: ../admin/class-is-admin.php:
|
170 |
msgid "Error in deleting."
|
171 |
msgstr ""
|
172 |
|
173 |
-
#: ../admin/class-is-admin.php:
|
174 |
msgid "Save Form"
|
175 |
msgstr ""
|
176 |
|
177 |
-
#: ../admin/class-is-admin.php:
|
178 |
msgid "Upgrade to Pro to Access"
|
179 |
msgstr ""
|
180 |
|
181 |
-
#: ../admin/class-is-admin.php:
|
182 |
msgid "Install Premium Version to Access"
|
183 |
msgstr ""
|
184 |
|
185 |
-
#: ../admin/class-is-admin.php:
|
186 |
msgid "Upgrade to Pro Plus to Access"
|
187 |
msgstr ""
|
188 |
|
@@ -190,731 +197,729 @@ msgstr ""
|
|
190 |
msgid "The requested section does not exist."
|
191 |
msgstr ""
|
192 |
|
193 |
-
#: ../admin/class-is-editor.php:
|
194 |
msgid "This search form searches the below configured content."
|
195 |
msgstr ""
|
196 |
|
197 |
-
#: ../admin/class-is-editor.php:
|
198 |
msgid "Post Types"
|
199 |
msgstr ""
|
200 |
|
201 |
-
#: ../admin/class-is-editor.php:
|
202 |
-
#: ../admin/class-is-editor.php:
|
203 |
-
#: ../admin/class-is-editor.php:
|
204 |
-
#: ../admin/class-is-editor.php:
|
205 |
-
#: ../admin/class-is-editor.php:
|
206 |
-
#: ../admin/class-is-editor.php:
|
207 |
-
#: ../admin/class-is-editor.php:
|
208 |
-
#: ../admin/class-is-editor.php:
|
209 |
-
#: ../admin/class-is-editor.php:
|
210 |
-
#: ../admin/class-is-editor.php:
|
211 |
-
#: ../admin/class-is-editor.php:
|
212 |
-
#: ../admin/class-is-editor.php:
|
213 |
-
#: ../admin/class-is-editor.php:
|
214 |
-
#: ../admin/class-is-editor.php:
|
215 |
-
#: ../admin/class-is-editor.php:
|
216 |
-
#: ../admin/class-is-editor.php:
|
217 |
-
#: ../admin/class-is-
|
218 |
msgid "Expand All"
|
219 |
msgstr ""
|
220 |
|
221 |
-
#: ../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 |
-
#: ../admin/class-is-editor.php:
|
227 |
-
#: ../admin/class-is-editor.php:
|
228 |
-
#: ../admin/class-is-editor.php:
|
229 |
-
#: ../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 |
-
#: ../admin/class-is-editor.php:
|
235 |
-
#: ../admin/class-is-editor.php:
|
236 |
-
#: ../admin/class-is-editor.php:
|
237 |
-
#: ../admin/class-is-
|
238 |
msgid "Collapse All"
|
239 |
msgstr ""
|
240 |
|
241 |
-
#: ../admin/class-is-editor.php:
|
242 |
msgid "Search selected post types."
|
243 |
msgstr ""
|
244 |
|
245 |
-
#: ../admin/class-is-editor.php:
|
246 |
msgid "Search post title"
|
247 |
msgstr ""
|
248 |
|
249 |
-
#: ../admin/class-is-editor.php:
|
250 |
msgid "Search post content"
|
251 |
msgstr ""
|
252 |
|
253 |
-
#: ../admin/class-is-editor.php:
|
254 |
msgid "Search post excerpt"
|
255 |
msgstr ""
|
256 |
|
257 |
-
#: ../admin/class-is-editor.php:
|
258 |
msgid "No post types registered on your site."
|
259 |
msgstr ""
|
260 |
|
261 |
-
#: ../admin/class-is-editor.php:
|
262 |
msgid "Posts, Pages & Custom Posts"
|
263 |
msgstr ""
|
264 |
|
265 |
-
#: ../admin/class-is-editor.php:
|
266 |
msgid "Search only selected posts."
|
267 |
msgstr ""
|
268 |
|
269 |
-
#: ../admin/class-is-editor.php:
|
270 |
-
#: ../admin/class-is-editor.php:
|
271 |
-
#: ../admin/class-is-editor.php:
|
272 |
-
#: ../admin/class-is-editor.php:
|
273 |
msgid "Search.."
|
274 |
msgstr ""
|
275 |
|
276 |
-
#: ../admin/class-is-editor.php:
|
277 |
msgid "Load All"
|
278 |
msgstr ""
|
279 |
|
280 |
-
#: ../admin/class-is-editor.php:
|
281 |
msgid "No posts created for selected post types."
|
282 |
msgstr ""
|
283 |
|
284 |
-
#: ../admin/class-is-editor.php:
|
285 |
-
#: ../admin/class-is-editor.php:
|
286 |
-
#: ../admin/class-is-editor.php:
|
287 |
-
#: ../admin/class-is-editor.php:
|
288 |
msgid ""
|
289 |
"Press CTRL key & Left Mouse button to select multiple terms or deselect them."
|
290 |
msgstr ""
|
291 |
|
292 |
-
#: ../admin/class-is-editor.php:
|
293 |
msgid "Category & Taxonomy Terms"
|
294 |
msgstr ""
|
295 |
|
296 |
-
#: ../admin/class-is-editor.php:
|
297 |
msgid "Search posts of only selected categories, taxonomies & terms."
|
298 |
msgstr ""
|
299 |
|
300 |
-
#: ../admin/class-is-editor.php:
|
301 |
msgid "AND - Search posts having all the above selected terms"
|
302 |
msgstr ""
|
303 |
|
304 |
-
#: ../admin/class-is-editor.php:
|
305 |
msgid "OR - Search posts having any one of the above selected terms"
|
306 |
msgstr ""
|
307 |
|
308 |
-
#: ../admin/class-is-editor.php:
|
309 |
msgid "Search term title"
|
310 |
msgstr ""
|
311 |
|
312 |
-
#: ../admin/class-is-editor.php:
|
313 |
msgid "Search term description"
|
314 |
msgstr ""
|
315 |
|
316 |
-
#: ../admin/class-is-editor.php:
|
317 |
msgid "No taxonomies registered for selected post types."
|
318 |
msgstr ""
|
319 |
|
320 |
-
#: ../admin/class-is-editor.php:
|
321 |
msgid "Custom Fields & Metadata"
|
322 |
msgstr ""
|
323 |
|
324 |
-
#: ../admin/class-is-editor.php:
|
325 |
msgid "Search values of selected custom fields."
|
326 |
msgstr ""
|
327 |
|
328 |
-
#: ../admin/class-is-editor.php:
|
329 |
msgid "No custom fields created for selected post types."
|
330 |
msgstr ""
|
331 |
|
332 |
-
#: ../admin/class-is-editor.php:
|
333 |
msgid "Selected Custom Fields :"
|
334 |
msgstr ""
|
335 |
|
336 |
-
#: ../admin/class-is-editor.php:
|
337 |
-
#: ../admin/class-is-editor.php:
|
338 |
msgid "WooCommerce"
|
339 |
msgstr ""
|
340 |
|
341 |
-
#: ../admin/class-is-editor.php:
|
342 |
msgid "Search WooCommerce products."
|
343 |
msgstr ""
|
344 |
|
345 |
-
#: ../admin/class-is-editor.php:
|
346 |
msgid "Search product SKU"
|
347 |
msgstr ""
|
348 |
|
349 |
-
#: ../admin/class-is-editor.php:
|
350 |
msgid "Search product variation"
|
351 |
msgstr ""
|
352 |
|
353 |
-
#: ../admin/class-is-editor.php:
|
354 |
msgid ""
|
355 |
"Please first configure this search form to search WooCommerce product post "
|
356 |
"type."
|
357 |
msgstr ""
|
358 |
|
359 |
-
#: ../admin/class-is-editor.php:
|
360 |
msgid "Authors"
|
361 |
msgstr ""
|
362 |
|
363 |
-
#: ../admin/class-is-editor.php:
|
364 |
msgid "Search posts of selected authors."
|
365 |
msgstr ""
|
366 |
|
367 |
-
#: ../admin/class-is-editor.php:
|
368 |
msgid ""
|
369 |
"This search form is already configured in the Excludes section to not search "
|
370 |
"for specific author posts."
|
371 |
msgstr ""
|
372 |
|
373 |
-
#: ../admin/class-is-editor.php:
|
374 |
msgid "Search author Display Name and display the posts created by that author"
|
375 |
msgstr ""
|
376 |
|
377 |
-
#: ../admin/class-is-editor.php:
|
378 |
msgid "Post Status"
|
379 |
msgstr ""
|
380 |
|
381 |
-
#: ../admin/class-is-editor.php:
|
382 |
msgid "Search posts having selected post statuses."
|
383 |
msgstr ""
|
384 |
|
385 |
-
#: ../admin/class-is-editor.php:
|
386 |
msgid ""
|
387 |
"This search form is already configured in the Excludes section to not search "
|
388 |
"posts of specific post statuses."
|
389 |
msgstr ""
|
390 |
|
391 |
-
#: ../admin/class-is-editor.php:
|
392 |
msgid "Comments"
|
393 |
msgstr ""
|
394 |
|
395 |
-
#: ../admin/class-is-editor.php:
|
396 |
msgid "Search posts by comments."
|
397 |
msgstr ""
|
398 |
|
399 |
-
#: ../admin/class-is-editor.php:
|
400 |
msgid "Search posts having number of comments"
|
401 |
msgstr ""
|
402 |
|
403 |
-
#: ../admin/class-is-editor.php:
|
404 |
msgid "NA"
|
405 |
msgstr ""
|
406 |
|
407 |
-
#: ../admin/class-is-editor.php:
|
408 |
msgid "Search approved comment content"
|
409 |
msgstr ""
|
410 |
|
411 |
-
#: ../admin/class-is-editor.php:
|
412 |
-
#: ../admin/class-is-editor.php:
|
413 |
msgid "Date"
|
414 |
msgstr ""
|
415 |
|
416 |
-
#: ../admin/class-is-editor.php:
|
417 |
msgid "Search posts created in the specified date range."
|
418 |
msgstr ""
|
419 |
|
420 |
-
#: ../admin/class-is-editor.php:
|
421 |
msgid "From"
|
422 |
msgstr ""
|
423 |
|
424 |
-
#: ../admin/class-is-editor.php:
|
425 |
msgid "To"
|
426 |
msgstr ""
|
427 |
|
428 |
-
#: ../admin/class-is-editor.php:
|
429 |
msgid "Day"
|
430 |
msgstr ""
|
431 |
|
432 |
-
#: ../admin/class-is-editor.php:
|
433 |
msgid "Month"
|
434 |
msgstr ""
|
435 |
|
436 |
-
#: ../admin/class-is-editor.php:
|
437 |
msgid "Year"
|
438 |
msgstr ""
|
439 |
|
440 |
-
#: ../admin/class-is-editor.php:
|
441 |
msgid "Password Protected"
|
442 |
msgstr ""
|
443 |
|
444 |
-
#: ../admin/class-is-editor.php:
|
445 |
msgid "Search posts with or without passwords"
|
446 |
msgstr ""
|
447 |
|
448 |
-
#: ../admin/class-is-editor.php:
|
449 |
msgid "Search posts with passwords"
|
450 |
msgstr ""
|
451 |
|
452 |
-
#: ../admin/class-is-editor.php:
|
453 |
msgid "Search posts without passwords"
|
454 |
msgstr ""
|
455 |
|
456 |
-
#: ../admin/class-is-editor.php:
|
457 |
msgid "Attachments, Media, Files & MIME Types"
|
458 |
msgstr ""
|
459 |
|
460 |
-
#: ../admin/class-is-editor.php:
|
461 |
msgid ""
|
462 |
"Search selected media, attachments, images, documents, videos, files or MIME "
|
463 |
"types."
|
464 |
msgstr ""
|
465 |
|
466 |
-
#: ../admin/class-is-editor.php:
|
467 |
msgid ""
|
468 |
"This search form is already configured in the Excludes section to not search "
|
469 |
"specific file & MIME types."
|
470 |
msgstr ""
|
471 |
|
472 |
-
#: ../admin/class-is-editor.php:
|
473 |
msgid "Please first configure this search form to search Attachment post type."
|
474 |
msgstr ""
|
475 |
|
476 |
-
#: ../admin/class-is-editor.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
477 |
msgid "Selected File Types :"
|
478 |
msgstr ""
|
479 |
|
480 |
-
#: ../admin/class-is-editor.php:
|
481 |
msgid "Use below options to customize this search form."
|
482 |
msgstr ""
|
483 |
|
484 |
-
#: ../admin/class-is-editor.php:
|
485 |
msgid "Enable Search Form Customization"
|
486 |
msgstr ""
|
487 |
|
488 |
-
#: ../admin/class-is-editor.php:
|
489 |
-
#: ../includes/class-is-search-form.php:
|
490 |
msgid "Customizer"
|
491 |
msgstr ""
|
492 |
|
493 |
-
#: ../admin/class-is-editor.php:
|
494 |
msgid ""
|
495 |
"Use below customizer to customize search form colors, text and search form "
|
496 |
"style."
|
497 |
msgstr ""
|
498 |
|
499 |
-
#: ../admin/class-is-editor.php:
|
500 |
msgid "Search Form Customizer"
|
501 |
msgstr ""
|
502 |
|
503 |
-
#: ../admin/class-is-editor.php:
|
504 |
msgid "Nothing found"
|
505 |
msgstr ""
|
506 |
|
507 |
-
#: ../admin/class-is-editor.php:
|
508 |
msgid "View All"
|
509 |
msgstr ""
|
510 |
|
511 |
-
#: ../admin/class-is-editor.php:
|
512 |
msgid "More Results.."
|
513 |
msgstr ""
|
514 |
|
515 |
-
#: ../admin/class-is-editor.php:
|
516 |
msgid ""
|
517 |
"Configure below options to manage AJAX functionality of this search form."
|
518 |
msgstr ""
|
519 |
|
520 |
-
#: ../admin/class-is-editor.php:
|
521 |
-
#: ../admin/class-is-editor.php:
|
522 |
msgid "Enable AJAX Search"
|
523 |
msgstr ""
|
524 |
|
525 |
-
#: ../admin/class-is-editor.php:
|
526 |
msgid "Search Results"
|
527 |
msgstr ""
|
528 |
|
529 |
-
#: ../admin/class-is-editor.php:
|
530 |
msgid "Display selected content in the search results."
|
531 |
msgstr ""
|
532 |
|
533 |
-
#: ../admin/class-is-editor.php:
|
534 |
msgid "Description"
|
535 |
msgstr ""
|
536 |
|
537 |
-
#: ../admin/class-is-editor.php:
|
538 |
msgid "Excerpt"
|
539 |
msgstr ""
|
540 |
|
541 |
-
#: ../admin/class-is-editor.php:
|
542 |
msgid "Content"
|
543 |
msgstr ""
|
544 |
|
545 |
-
#: ../admin/class-is-editor.php:
|
546 |
msgid "Description Length."
|
547 |
msgstr ""
|
548 |
|
549 |
-
#: ../admin/class-is-editor.php:
|
550 |
msgid "Image"
|
551 |
msgstr ""
|
552 |
|
553 |
-
#: ../admin/class-is-editor.php:
|
554 |
msgid "Categories"
|
555 |
msgstr ""
|
556 |
|
557 |
-
#: ../admin/class-is-editor.php:
|
558 |
msgid "Tags"
|
559 |
msgstr ""
|
560 |
|
561 |
-
#: ../admin/class-is-editor.php:
|
562 |
msgid "Author"
|
563 |
msgstr ""
|
564 |
|
565 |
-
#: ../admin/class-is-editor.php:
|
566 |
msgid "Minimum number of characters required to run ajax search."
|
567 |
msgstr ""
|
568 |
|
569 |
-
#: ../admin/class-is-editor.php:
|
570 |
msgid "Search results box max height."
|
571 |
msgstr ""
|
572 |
|
573 |
-
#: ../admin/class-is-editor.php:
|
574 |
msgid "Configure the plugin text displayed in the search results."
|
575 |
msgstr ""
|
576 |
|
577 |
-
#: ../admin/class-is-editor.php:
|
578 |
msgid "Text when there is no search results. HTML tags is allowed."
|
579 |
msgstr ""
|
580 |
|
581 |
-
#: ../admin/class-is-editor.php:
|
582 |
msgid "Show 'More Results..' text in the bottom of the search results box"
|
583 |
msgstr ""
|
584 |
|
585 |
-
#: ../admin/class-is-editor.php:
|
586 |
msgid "Text for the \"More Results..\"."
|
587 |
msgstr ""
|
588 |
|
589 |
-
#: ../admin/class-is-editor.php:
|
590 |
msgid ""
|
591 |
"View All Result - Show link to search results page at the bottom of search "
|
592 |
"results block."
|
593 |
msgstr ""
|
594 |
|
595 |
-
#: ../admin/class-is-editor.php:
|
596 |
msgid ""
|
597 |
"Text for the \"View All\" which shown at the bottom of the search result."
|
598 |
msgstr ""
|
599 |
|
600 |
-
#: ../admin/class-is-editor.php:
|
601 |
msgid "Configure how the search button should work clicking on it."
|
602 |
msgstr ""
|
603 |
|
604 |
-
#: ../admin/class-is-editor.php:
|
605 |
msgid "Search button displays search results page"
|
606 |
msgstr ""
|
607 |
|
608 |
-
#: ../admin/class-is-editor.php:
|
609 |
msgid "Search button displays ajax search results"
|
610 |
msgstr ""
|
611 |
|
612 |
-
#: ../admin/class-is-editor.php:
|
613 |
msgid ""
|
614 |
"Please first configure this search form to search WooCommerce product post "
|
615 |
"type."
|
616 |
msgstr ""
|
617 |
|
618 |
-
#: ../admin/class-is-editor.php:
|
619 |
msgid "Display selected WooCommerce content in the search results."
|
620 |
msgstr ""
|
621 |
|
622 |
-
#: ../admin/class-is-editor.php:
|
623 |
msgid "Price"
|
624 |
msgstr ""
|
625 |
|
626 |
-
#: ../admin/class-is-editor.php:
|
627 |
msgid "Hide Price for Out of Stock Products"
|
628 |
msgstr ""
|
629 |
|
630 |
-
#: ../admin/class-is-editor.php:
|
631 |
msgid "Sale Badge"
|
632 |
msgstr ""
|
633 |
|
634 |
-
#: ../admin/class-is-editor.php:
|
635 |
msgid "SKU"
|
636 |
msgstr ""
|
637 |
|
638 |
-
#: ../admin/class-is-editor.php:
|
639 |
msgid "Stock Status"
|
640 |
msgstr ""
|
641 |
|
642 |
-
#: ../admin/class-is-editor.php:
|
643 |
msgid "Featured Icon"
|
644 |
msgstr ""
|
645 |
|
646 |
-
#: ../admin/class-is-editor.php:
|
647 |
msgid "Matching Categories"
|
648 |
msgstr ""
|
649 |
|
650 |
-
#: ../admin/class-is-editor.php:
|
651 |
msgid "Matching Tags"
|
652 |
msgstr ""
|
653 |
|
654 |
-
#: ../admin/class-is-editor.php:
|
655 |
msgid "Details Box"
|
656 |
msgstr ""
|
657 |
|
658 |
-
#: ../admin/class-is-editor.php:
|
659 |
msgid "Below options only apply to matching categories or tags."
|
660 |
msgstr ""
|
661 |
|
662 |
-
#: ../admin/class-is-editor.php:
|
663 |
msgid "Product List"
|
664 |
msgstr ""
|
665 |
|
666 |
-
#: ../admin/class-is-editor.php:
|
667 |
msgid "All Product"
|
668 |
msgstr ""
|
669 |
|
670 |
-
#: ../admin/class-is-editor.php:
|
671 |
msgid "Featured Products"
|
672 |
msgstr ""
|
673 |
|
674 |
-
#: ../admin/class-is-editor.php:
|
675 |
msgid "On-sale Products</option>"
|
676 |
msgstr ""
|
677 |
|
678 |
-
#: ../admin/class-is-editor.php:
|
679 |
msgid "Order by"
|
680 |
msgstr ""
|
681 |
|
682 |
-
#: ../admin/class-is-editor.php:
|
683 |
msgid "Random"
|
684 |
msgstr ""
|
685 |
|
686 |
-
#: ../admin/class-is-editor.php:
|
687 |
msgid "Sales"
|
688 |
msgstr ""
|
689 |
|
690 |
-
#: ../admin/class-is-editor.php:
|
691 |
msgid "Order"
|
692 |
msgstr ""
|
693 |
|
694 |
-
#: ../admin/class-is-editor.php:
|
695 |
msgid "ASC"
|
696 |
msgstr ""
|
697 |
|
698 |
-
#: ../admin/class-is-editor.php:
|
699 |
msgid "DESC"
|
700 |
msgstr ""
|
701 |
|
702 |
-
#: ../admin/class-is-editor.php:
|
703 |
msgid ""
|
704 |
"Use below customizer to customize AJAX search results color and loader image."
|
705 |
msgstr ""
|
706 |
|
707 |
-
#: ../admin/class-is-editor.php:
|
708 |
msgid "AJAX Search Customizer"
|
709 |
msgstr ""
|
710 |
|
711 |
-
#: ../admin/class-is-editor.php:
|
712 |
msgid "This search form excludes the below configured content from search."
|
713 |
msgstr ""
|
714 |
|
715 |
-
#: ../admin/class-is-editor.php:
|
716 |
msgid "Exclude selected posts from search."
|
717 |
msgstr ""
|
718 |
|
719 |
-
#: ../admin/class-is-editor.php:
|
720 |
msgid ""
|
721 |
"This search form is already configured in the Includes section to search "
|
722 |
"specific posts."
|
723 |
msgstr ""
|
724 |
|
725 |
-
#: ../admin/class-is-editor.php:
|
726 |
msgid "Exclude posts of selected categories, taxonomies & terms from search."
|
727 |
msgstr ""
|
728 |
|
729 |
-
#: ../admin/class-is-editor.php:
|
730 |
msgid "Exclude posts having selected custom fields from search."
|
731 |
msgstr ""
|
732 |
|
733 |
-
#: ../admin/class-is-editor.php:
|
734 |
msgid "Excluded Custom Fields :"
|
735 |
msgstr ""
|
736 |
|
737 |
-
#: ../admin/class-is-editor.php:
|
738 |
msgid "Exclude selected WooCommerce products from search."
|
739 |
msgstr ""
|
740 |
|
741 |
-
#: ../admin/class-is-editor.php:
|
742 |
msgid "Exclude 'Out of Stock' products"
|
743 |
msgstr ""
|
744 |
|
745 |
-
#: ../admin/class-is-editor.php:
|
746 |
msgid "Exclude posts created by selected authors from search."
|
747 |
msgstr ""
|
748 |
|
749 |
-
#: ../admin/class-is-editor.php:
|
750 |
msgid ""
|
751 |
"This search form is already configured in the Includes section to search "
|
752 |
"posts created by specific authors."
|
753 |
msgstr ""
|
754 |
|
755 |
-
#: ../admin/class-is-editor.php:
|
756 |
msgid "Exclude posts having selected post statuses from search."
|
757 |
msgstr ""
|
758 |
|
759 |
-
#: ../admin/class-is-editor.php:
|
760 |
msgid ""
|
761 |
"This search form is already configured in the Includes section to search "
|
762 |
"posts of specific post statuses."
|
763 |
msgstr ""
|
764 |
|
765 |
-
#: ../admin/class-is-editor.php:
|
766 |
msgid "Exclude sticky posts from search"
|
767 |
msgstr ""
|
768 |
|
769 |
-
#: ../admin/class-is-editor.php:
|
770 |
msgid ""
|
771 |
"Exclude selected media, attachments, images, documents, videos, files or "
|
772 |
"MIME types from search."
|
773 |
msgstr ""
|
774 |
|
775 |
-
#: ../admin/class-is-editor.php:
|
776 |
msgid ""
|
777 |
"This search form is already configured in the Includes section to search "
|
778 |
"specific Attachments, Media or Files."
|
779 |
msgstr ""
|
780 |
|
781 |
-
#: ../admin/class-is-editor.php:
|
782 |
msgid "Excluded File Types :"
|
783 |
msgstr ""
|
784 |
|
785 |
-
#: ../admin/class-is-editor.php:
|
786 |
msgid "Configure below options to manage functionality of this search form."
|
787 |
msgstr ""
|
788 |
|
789 |
-
#: ../admin/class-is-editor.php:
|
790 |
msgid "Posts Per Page"
|
791 |
msgstr ""
|
792 |
|
793 |
-
#: ../admin/class-is-editor.php:
|
794 |
msgid "Display selected number of posts on search results page."
|
795 |
msgstr ""
|
796 |
|
797 |
-
#: ../admin/class-is-editor.php:
|
798 |
msgid "Order Search Results"
|
799 |
msgstr ""
|
800 |
|
801 |
-
#: ../admin/class-is-editor.php:
|
802 |
msgid "Display posts on search results page ordered by selected options."
|
803 |
msgstr ""
|
804 |
|
805 |
-
#: ../admin/class-is-editor.php:
|
806 |
msgid "Highlight Search Terms"
|
807 |
msgstr ""
|
808 |
|
809 |
-
#: ../admin/class-is-editor.php:
|
810 |
msgid "Highlight searched terms on search results page"
|
811 |
msgstr ""
|
812 |
|
813 |
-
#: ../admin/class-is-editor.php:
|
814 |
msgid "Set highlight color in Hex format"
|
815 |
msgstr ""
|
816 |
|
817 |
-
#: ../admin/class-is-editor.php:
|
818 |
msgid "Search All Or Any Search Terms"
|
819 |
msgstr ""
|
820 |
|
821 |
-
#: ../admin/class-is-editor.php:
|
822 |
msgid ""
|
823 |
"Select whether to search posts having all or any of the words being searched."
|
824 |
msgstr ""
|
825 |
|
826 |
-
#: ../admin/class-is-editor.php:
|
827 |
msgid "OR - Display content having any of the search terms"
|
828 |
msgstr ""
|
829 |
|
830 |
-
#: ../admin/class-is-editor.php:
|
831 |
msgid "AND - Display content having all the search terms"
|
832 |
msgstr ""
|
833 |
|
834 |
-
#: ../admin/class-is-editor.php:
|
835 |
msgid "Fuzzy Matching"
|
836 |
msgstr ""
|
837 |
|
838 |
-
#: ../admin/class-is-editor.php:
|
839 |
msgid ""
|
840 |
"Select whether to search posts having whole or partial word being searched."
|
841 |
msgstr ""
|
842 |
|
843 |
-
#: ../admin/class-is-editor.php:
|
844 |
msgid "Whole - Search posts that include the whole search term"
|
845 |
msgstr ""
|
846 |
|
847 |
-
#: ../admin/class-is-editor.php:
|
848 |
msgid ""
|
849 |
"Partial - Also search words in the posts that begins or ends with the search "
|
850 |
"term"
|
851 |
msgstr ""
|
852 |
|
853 |
-
#: ../admin/class-is-editor.php:
|
854 |
msgid "Keyword Stemming"
|
855 |
msgstr ""
|
856 |
|
857 |
-
#: ../admin/class-is-editor.php:
|
858 |
msgid "Select whether to search the base word of a searched keyword."
|
859 |
msgstr ""
|
860 |
|
861 |
-
#: ../admin/class-is-editor.php:
|
862 |
msgid ""
|
863 |
"For Example: If you search \"doing\" then it also searches base word of "
|
864 |
"\"doing\" that is \"do\" in the specified post types."
|
865 |
msgstr ""
|
866 |
|
867 |
-
#: ../admin/class-is-editor.php:
|
868 |
msgid "Not recommended to use when Fuzzy Matching option is set to Whole."
|
869 |
msgstr ""
|
870 |
|
871 |
-
#: ../admin/class-is-editor.php:
|
872 |
msgid "Also search base word of searched keyword"
|
873 |
msgstr ""
|
874 |
|
875 |
-
#: ../admin/class-is-editor.php:
|
876 |
msgid "Sticky Posts"
|
877 |
msgstr ""
|
878 |
|
879 |
-
#: ../admin/class-is-editor.php:
|
880 |
msgid "Display sticky posts to the start of the search results page"
|
881 |
msgstr ""
|
882 |
|
883 |
-
#: ../admin/class-is-editor.php:
|
884 |
msgid "Empty Search Query"
|
885 |
msgstr ""
|
886 |
|
887 |
-
#: ../admin/class-is-editor.php:
|
888 |
msgid ""
|
889 |
"Select whether to display an error when user perform search without any "
|
890 |
"search word."
|
891 |
msgstr ""
|
892 |
|
893 |
-
#: ../admin/class-is-editor.php:
|
894 |
msgid "Display an error for empty search query"
|
895 |
msgstr ""
|
896 |
|
897 |
-
#: ../admin/class-is-editor.php:
|
898 |
-
msgid "Respect exclude_from_search"
|
899 |
-
msgstr ""
|
900 |
-
|
901 |
-
#: ../admin/class-is-editor.php:1523
|
902 |
-
msgid "Do not search post types which are excluded from search"
|
903 |
-
msgstr ""
|
904 |
-
|
905 |
-
#: ../admin/class-is-editor.php:1529
|
906 |
msgid "Demo Search"
|
907 |
msgstr ""
|
908 |
|
909 |
-
#: ../admin/class-is-editor.php:
|
910 |
msgid "Display search form only for site administrator"
|
911 |
msgstr ""
|
912 |
|
913 |
-
#: ../admin/class-is-editor.php:
|
914 |
msgid "Disable Search"
|
915 |
msgstr ""
|
916 |
|
917 |
-
#: ../admin/class-is-editor.php:
|
918 |
msgid "Disable this search form"
|
919 |
msgstr ""
|
920 |
|
@@ -1058,10 +1063,6 @@ msgstr ""
|
|
1058 |
msgid "For more information:"
|
1059 |
msgstr ""
|
1060 |
|
1061 |
-
#: ../admin/class-is-help.php:110
|
1062 |
-
msgid "Docs"
|
1063 |
-
msgstr ""
|
1064 |
-
|
1065 |
#: ../admin/class-is-help.php:112 ../admin/partials/settings-form.php:100
|
1066 |
msgid "Give us a rating"
|
1067 |
msgstr ""
|
@@ -1078,44 +1079,43 @@ msgstr ""
|
|
1078 |
msgid "Shortcode"
|
1079 |
msgstr ""
|
1080 |
|
1081 |
-
#: ../admin/class-is-list-table.php:
|
1082 |
#: ../admin/partials/search-form.php:163
|
1083 |
msgid "Delete"
|
1084 |
msgstr ""
|
1085 |
|
1086 |
-
#: ../admin/class-is-list-table.php:
|
1087 |
#, php-format
|
1088 |
msgid "Edit “%s”"
|
1089 |
msgstr ""
|
1090 |
|
1091 |
-
#: ../admin/class-is-list-table.php:
|
1092 |
-
#: ../admin/class-is-settings-fields.php:255
|
1093 |
#: ../admin/class-is-settings-fields.php:385
|
1094 |
#: ../admin/class-is-settings-fields.php:417
|
1095 |
-
#: ../includes/class-is-search-form.php:
|
1096 |
msgid "Edit"
|
1097 |
msgstr ""
|
1098 |
|
1099 |
-
#: ../admin/class-is-list-table.php:
|
1100 |
msgid "Duplicate"
|
1101 |
msgstr ""
|
1102 |
|
1103 |
-
#: ../admin/class-is-list-table.php:
|
1104 |
msgid ""
|
1105 |
"You are about to delete this search form.\n"
|
1106 |
" 'Cancel' to stop, 'OK' to delete."
|
1107 |
msgstr ""
|
1108 |
|
1109 |
-
#: ../admin/class-is-list-table.php:
|
1110 |
msgid "Y/m/d g:i:s A"
|
1111 |
msgstr ""
|
1112 |
|
1113 |
-
#: ../admin/class-is-list-table.php:
|
1114 |
#, php-format
|
1115 |
msgid "%s ago"
|
1116 |
msgstr ""
|
1117 |
|
1118 |
-
#: ../admin/class-is-list-table.php:
|
1119 |
msgid "d/m/Y"
|
1120 |
msgstr ""
|
1121 |
|
@@ -1414,7 +1414,7 @@ msgid "Rate Ivory Search"
|
|
1414 |
msgstr ""
|
1415 |
|
1416 |
#: ../includes/class-is-admin-public.php:170
|
1417 |
-
#: ../includes/class-is-search-form.php:
|
1418 |
msgid "Search..."
|
1419 |
msgstr ""
|
1420 |
|
@@ -1423,7 +1423,7 @@ msgid "Text Box Placeholder"
|
|
1423 |
msgstr ""
|
1424 |
|
1425 |
#: ../includes/class-is-admin-public.php:183
|
1426 |
-
#: ../includes/class-is-search-form.php:
|
1427 |
msgid "Search"
|
1428 |
msgstr ""
|
1429 |
|
@@ -1464,18 +1464,18 @@ msgid "AJAX loader image."
|
|
1464 |
msgstr ""
|
1465 |
|
1466 |
#: ../includes/class-is-search-form.php:111
|
1467 |
-
#: ../includes/class-is-search-form.php:
|
1468 |
msgid "Untitled"
|
1469 |
msgstr ""
|
1470 |
|
1471 |
-
#: ../includes/class-is-search-form.php:
|
1472 |
#, php-format
|
1473 |
msgid ""
|
1474 |
"<code>%1$s</code> property of a <code>IS_Search_Form</code> object is "
|
1475 |
"<strong>no longer accessible</strong>. Use <code>%2$s</code> method instead."
|
1476 |
msgstr ""
|
1477 |
|
1478 |
-
#: ../includes/class-is-search-form.php:
|
1479 |
msgid "Invalid search form."
|
1480 |
msgstr ""
|
1481 |
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Ivory Search\n"
|
4 |
+
"POT-Creation-Date: 2019-06-26 18:54+0530\n"
|
5 |
+
"PO-Revision-Date: 2019-06-26 18:54+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:136 ../admin/class-is-settings-fields.php:255
|
24 |
+
#: ../admin/partials/search-form.php:23
|
25 |
msgid "Edit Search Form"
|
26 |
msgstr ""
|
27 |
|
28 |
+
#: ../admin/class-is-admin.php:137
|
29 |
msgid "Click on the search form title to edit it."
|
30 |
msgstr ""
|
31 |
|
32 |
+
#: ../admin/class-is-admin.php:138
|
33 |
msgid "Edit the Default Search Form to manage the default WordPress search."
|
34 |
msgstr ""
|
35 |
|
36 |
+
#: ../admin/class-is-admin.php:162 ../admin/class-is-admin.php:436
|
37 |
+
#: ../admin/class-is-help.php:64
|
38 |
+
msgid "Settings"
|
39 |
+
msgstr ""
|
40 |
+
|
41 |
+
#: ../admin/class-is-admin.php:180 ../admin/class-is-help.php:110
|
42 |
+
msgid "Docs"
|
43 |
+
msgstr ""
|
44 |
+
|
45 |
+
#: ../admin/class-is-admin.php:181 ../admin/class-is-help.php:111
|
46 |
#: ../admin/partials/search-form.php:195 ../admin/partials/settings-form.php:98
|
47 |
msgid "Support"
|
48 |
msgstr ""
|
49 |
|
50 |
+
#: ../admin/class-is-admin.php:202
|
51 |
#, php-format
|
52 |
msgid ""
|
53 |
"If you like %1$s please leave us a %2$s rating. A huge thanks in advance!"
|
54 |
msgstr ""
|
55 |
|
56 |
+
#: ../admin/class-is-admin.php:203 ../admin/class-is-admin.php:423
|
57 |
#: ../includes/class-is-admin-public.php:106 ../includes/class-is-widget.php:13
|
58 |
#: ../includes/class-is-widget.php:45
|
59 |
msgid "Ivory Search"
|
60 |
msgstr ""
|
61 |
|
62 |
+
#: ../admin/class-is-admin.php:226
|
63 |
#, php-format
|
64 |
msgid ""
|
65 |
+
"Thank you for using <strong>Ivory Search</strong> plugin. You can configure "
|
66 |
+
"its <a href=\"%1$s\">settings</a> and get support on <a href=\"%2$s\" target="
|
67 |
+
"\"_blank\">support forum</a> or <a href=\"%3$s\" target=\"_blank\">contact "
|
68 |
+
"us</a>."
|
69 |
msgstr ""
|
70 |
|
71 |
+
#: ../admin/class-is-admin.php:227 ../admin/class-is-admin.php:248
|
72 |
msgid "Dismiss"
|
73 |
msgstr ""
|
74 |
|
75 |
+
#: ../admin/class-is-admin.php:249
|
76 |
msgid "Have you found Ivory Search plugin useful?"
|
77 |
msgstr ""
|
78 |
|
79 |
+
#: ../admin/class-is-admin.php:250
|
80 |
msgid ""
|
81 |
"We poured a lot of hours into creating it, and we'd love it if you could "
|
82 |
"give us a nice rating on the official plugin directory."
|
83 |
msgstr ""
|
84 |
|
85 |
+
#: ../admin/class-is-admin.php:252
|
86 |
msgid "Rate Ivory Search and Help Us Out"
|
87 |
msgstr ""
|
88 |
|
89 |
+
#: ../admin/class-is-admin.php:253
|
90 |
msgid "Get Support"
|
91 |
msgstr ""
|
92 |
|
93 |
+
#: ../admin/class-is-admin.php:254
|
94 |
msgid "Say Hi"
|
95 |
msgstr ""
|
96 |
|
97 |
+
#: ../admin/class-is-admin.php:292
|
98 |
msgid "No posts found"
|
99 |
msgstr ""
|
100 |
|
101 |
+
#: ../admin/class-is-admin.php:389
|
102 |
msgid "Search form created."
|
103 |
msgstr ""
|
104 |
|
105 |
+
#: ../admin/class-is-admin.php:391
|
106 |
msgid "Search form saved."
|
107 |
msgstr ""
|
108 |
|
109 |
+
#: ../admin/class-is-admin.php:393
|
110 |
msgid "Search form deleted."
|
111 |
msgstr ""
|
112 |
|
113 |
+
#: ../admin/class-is-admin.php:395
|
114 |
msgid "Search form reset."
|
115 |
msgstr ""
|
116 |
|
117 |
+
#: ../admin/class-is-admin.php:404
|
118 |
msgid "There was an error saving the search form."
|
119 |
msgstr ""
|
120 |
|
121 |
+
#: ../admin/class-is-admin.php:412
|
122 |
msgid "There was a validation error saving the search form."
|
123 |
msgstr ""
|
124 |
|
125 |
+
#: ../admin/class-is-admin.php:413
|
126 |
#, php-format
|
127 |
msgid ""
|
128 |
"Please make sure you have not selected similar %s fields in the search form "
|
129 |
"Includes and Excludes sections."
|
130 |
msgstr ""
|
131 |
|
132 |
+
#: ../admin/class-is-admin.php:425 ../admin/class-is-admin.php:468
|
133 |
#: ../includes/class-is-search-form.php:59
|
134 |
msgid "Search Forms"
|
135 |
msgstr ""
|
136 |
|
137 |
+
#: ../admin/class-is-admin.php:430 ../admin/class-is-admin.php:432
|
138 |
+
#: ../admin/partials/search-form.php:21
|
139 |
msgid "Add New Search Form"
|
140 |
msgstr ""
|
141 |
|
142 |
+
#: ../admin/class-is-admin.php:430 ../admin/class-is-admin.php:432
|
143 |
+
#: ../admin/class-is-admin.php:475 ../admin/partials/search-form.php:31
|
144 |
msgid "Add New"
|
145 |
msgstr ""
|
146 |
|
147 |
+
#: ../admin/class-is-admin.php:436 ../admin/partials/settings-form.php:20
|
148 |
msgid "Ivory Search Settings"
|
149 |
msgstr ""
|
150 |
|
151 |
+
#: ../admin/class-is-admin.php:481
|
|
|
|
|
|
|
|
|
152 |
#, php-format
|
153 |
msgid "Search results for “%s”"
|
154 |
msgstr ""
|
155 |
|
156 |
+
#: ../admin/class-is-admin.php:492
|
157 |
msgid "Find Search Forms"
|
158 |
msgstr ""
|
159 |
|
160 |
+
#: ../admin/class-is-admin.php:536
|
161 |
msgid "You are not allowed to edit this item."
|
162 |
msgstr ""
|
163 |
|
164 |
+
#: ../admin/class-is-admin.php:630
|
165 |
msgid "You are not allowed to reset this item."
|
166 |
msgstr ""
|
167 |
|
168 |
+
#: ../admin/class-is-admin.php:666
|
169 |
msgid "You are not allowed to copy this item."
|
170 |
msgstr ""
|
171 |
|
172 |
+
#: ../admin/class-is-admin.php:707
|
173 |
msgid "You are not allowed to delete this item."
|
174 |
msgstr ""
|
175 |
|
176 |
+
#: ../admin/class-is-admin.php:711
|
177 |
msgid "Error in deleting."
|
178 |
msgstr ""
|
179 |
|
180 |
+
#: ../admin/class-is-admin.php:943
|
181 |
msgid "Save Form"
|
182 |
msgstr ""
|
183 |
|
184 |
+
#: ../admin/class-is-admin.php:955
|
185 |
msgid "Upgrade to Pro to Access"
|
186 |
msgstr ""
|
187 |
|
188 |
+
#: ../admin/class-is-admin.php:962
|
189 |
msgid "Install Premium Version to Access"
|
190 |
msgstr ""
|
191 |
|
192 |
+
#: ../admin/class-is-admin.php:964
|
193 |
msgid "Upgrade to Pro Plus to Access"
|
194 |
msgstr ""
|
195 |
|
197 |
msgid "The requested section does not exist."
|
198 |
msgstr ""
|
199 |
|
200 |
+
#: ../admin/class-is-editor.php:104
|
201 |
msgid "This search form searches the below configured content."
|
202 |
msgstr ""
|
203 |
|
204 |
+
#: ../admin/class-is-editor.php:112
|
205 |
msgid "Post Types"
|
206 |
msgstr ""
|
207 |
|
208 |
+
#: ../admin/class-is-editor.php:113 ../admin/class-is-editor.php:150
|
209 |
+
#: ../admin/class-is-editor.php:209 ../admin/class-is-editor.php:263
|
210 |
+
#: ../admin/class-is-editor.php:295 ../admin/class-is-editor.php:323
|
211 |
+
#: ../admin/class-is-editor.php:373 ../admin/class-is-editor.php:405
|
212 |
+
#: ../admin/class-is-editor.php:443 ../admin/class-is-editor.php:484
|
213 |
+
#: ../admin/class-is-editor.php:500 ../admin/class-is-editor.php:577
|
214 |
+
#: ../admin/class-is-editor.php:671 ../admin/class-is-editor.php:842
|
215 |
+
#: ../admin/class-is-editor.php:997 ../admin/class-is-editor.php:1037
|
216 |
+
#: ../admin/class-is-editor.php:1102 ../admin/class-is-editor.php:1143
|
217 |
+
#: ../admin/class-is-editor.php:1178 ../admin/class-is-editor.php:1203
|
218 |
+
#: ../admin/class-is-editor.php:1246 ../admin/class-is-editor.php:1283
|
219 |
+
#: ../admin/class-is-editor.php:1344 ../admin/class-is-editor.php:1363
|
220 |
+
#: ../admin/class-is-editor.php:1391 ../admin/class-is-editor.php:1406
|
221 |
+
#: ../admin/class-is-editor.php:1424 ../admin/class-is-editor.php:1440
|
222 |
+
#: ../admin/class-is-editor.php:1459 ../admin/class-is-editor.php:1471
|
223 |
+
#: ../admin/class-is-editor.php:1484 ../admin/class-is-editor.php:1496
|
224 |
+
#: ../admin/class-is-settings-fields.php:118
|
225 |
msgid "Expand All"
|
226 |
msgstr ""
|
227 |
|
228 |
+
#: ../admin/class-is-editor.php:113 ../admin/class-is-editor.php:150
|
229 |
+
#: ../admin/class-is-editor.php:209 ../admin/class-is-editor.php:263
|
230 |
+
#: ../admin/class-is-editor.php:295 ../admin/class-is-editor.php:323
|
231 |
+
#: ../admin/class-is-editor.php:373 ../admin/class-is-editor.php:405
|
232 |
+
#: ../admin/class-is-editor.php:443 ../admin/class-is-editor.php:484
|
233 |
+
#: ../admin/class-is-editor.php:500 ../admin/class-is-editor.php:578
|
234 |
+
#: ../admin/class-is-editor.php:672 ../admin/class-is-editor.php:843
|
235 |
+
#: ../admin/class-is-editor.php:998 ../admin/class-is-editor.php:1037
|
236 |
+
#: ../admin/class-is-editor.php:1102 ../admin/class-is-editor.php:1143
|
237 |
+
#: ../admin/class-is-editor.php:1178 ../admin/class-is-editor.php:1203
|
238 |
+
#: ../admin/class-is-editor.php:1246 ../admin/class-is-editor.php:1283
|
239 |
+
#: ../admin/class-is-editor.php:1344 ../admin/class-is-editor.php:1363
|
240 |
+
#: ../admin/class-is-editor.php:1391 ../admin/class-is-editor.php:1406
|
241 |
+
#: ../admin/class-is-editor.php:1424 ../admin/class-is-editor.php:1440
|
242 |
+
#: ../admin/class-is-editor.php:1459 ../admin/class-is-editor.php:1471
|
243 |
+
#: ../admin/class-is-editor.php:1484 ../admin/class-is-editor.php:1496
|
244 |
+
#: ../admin/class-is-settings-fields.php:118
|
245 |
msgid "Collapse All"
|
246 |
msgstr ""
|
247 |
|
248 |
+
#: ../admin/class-is-editor.php:118
|
249 |
msgid "Search selected post types."
|
250 |
msgstr ""
|
251 |
|
252 |
+
#: ../admin/class-is-editor.php:134
|
253 |
msgid "Search post title"
|
254 |
msgstr ""
|
255 |
|
256 |
+
#: ../admin/class-is-editor.php:137
|
257 |
msgid "Search post content"
|
258 |
msgstr ""
|
259 |
|
260 |
+
#: ../admin/class-is-editor.php:140
|
261 |
msgid "Search post excerpt"
|
262 |
msgstr ""
|
263 |
|
264 |
+
#: ../admin/class-is-editor.php:142
|
265 |
msgid "No post types registered on your site."
|
266 |
msgstr ""
|
267 |
|
268 |
+
#: ../admin/class-is-editor.php:149 ../admin/class-is-editor.php:1036
|
269 |
msgid "Posts, Pages & Custom Posts"
|
270 |
msgstr ""
|
271 |
|
272 |
+
#: ../admin/class-is-editor.php:153
|
273 |
msgid "Search only selected posts."
|
274 |
msgstr ""
|
275 |
|
276 |
+
#: ../admin/class-is-editor.php:188 ../admin/class-is-editor.php:233
|
277 |
+
#: ../admin/class-is-editor.php:271 ../admin/class-is-editor.php:516
|
278 |
+
#: ../admin/class-is-editor.php:1077 ../admin/class-is-editor.php:1124
|
279 |
+
#: ../admin/class-is-editor.php:1153 ../admin/class-is-editor.php:1297
|
280 |
msgid "Search.."
|
281 |
msgstr ""
|
282 |
|
283 |
+
#: ../admin/class-is-editor.php:192 ../admin/class-is-editor.php:1081
|
284 |
msgid "Load All"
|
285 |
msgstr ""
|
286 |
|
287 |
+
#: ../admin/class-is-editor.php:200 ../admin/class-is-editor.php:1089
|
288 |
msgid "No posts created for selected post types."
|
289 |
msgstr ""
|
290 |
|
291 |
+
#: ../admin/class-is-editor.php:202 ../admin/class-is-editor.php:242
|
292 |
+
#: ../admin/class-is-editor.php:278 ../admin/class-is-editor.php:524
|
293 |
+
#: ../admin/class-is-editor.php:1091 ../admin/class-is-editor.php:1133
|
294 |
+
#: ../admin/class-is-editor.php:1161 ../admin/class-is-editor.php:1305
|
295 |
msgid ""
|
296 |
"Press CTRL key & Left Mouse button to select multiple terms or deselect them."
|
297 |
msgstr ""
|
298 |
|
299 |
+
#: ../admin/class-is-editor.php:208 ../admin/class-is-editor.php:1101
|
300 |
msgid "Category & Taxonomy Terms"
|
301 |
msgstr ""
|
302 |
|
303 |
+
#: ../admin/class-is-editor.php:212
|
304 |
msgid "Search posts of only selected categories, taxonomies & terms."
|
305 |
msgstr ""
|
306 |
|
307 |
+
#: ../admin/class-is-editor.php:245
|
308 |
msgid "AND - Search posts having all the above selected terms"
|
309 |
msgstr ""
|
310 |
|
311 |
+
#: ../admin/class-is-editor.php:247
|
312 |
msgid "OR - Search posts having any one of the above selected terms"
|
313 |
msgstr ""
|
314 |
|
315 |
+
#: ../admin/class-is-editor.php:250
|
316 |
msgid "Search term title"
|
317 |
msgstr ""
|
318 |
|
319 |
+
#: ../admin/class-is-editor.php:253
|
320 |
msgid "Search term description"
|
321 |
msgstr ""
|
322 |
|
323 |
+
#: ../admin/class-is-editor.php:255 ../admin/class-is-editor.php:1135
|
324 |
msgid "No taxonomies registered for selected post types."
|
325 |
msgstr ""
|
326 |
|
327 |
+
#: ../admin/class-is-editor.php:262 ../admin/class-is-editor.php:1142
|
328 |
msgid "Custom Fields & Metadata"
|
329 |
msgstr ""
|
330 |
|
331 |
+
#: ../admin/class-is-editor.php:266
|
332 |
msgid "Search values of selected custom fields."
|
333 |
msgstr ""
|
334 |
|
335 |
+
#: ../admin/class-is-editor.php:280 ../admin/class-is-editor.php:1163
|
336 |
msgid "No custom fields created for selected post types."
|
337 |
msgstr ""
|
338 |
|
339 |
+
#: ../admin/class-is-editor.php:284
|
340 |
msgid "Selected Custom Fields :"
|
341 |
msgstr ""
|
342 |
|
343 |
+
#: ../admin/class-is-editor.php:294 ../admin/class-is-editor.php:840
|
344 |
+
#: ../admin/class-is-editor.php:1177
|
345 |
msgid "WooCommerce"
|
346 |
msgstr ""
|
347 |
|
348 |
+
#: ../admin/class-is-editor.php:298
|
349 |
msgid "Search WooCommerce products."
|
350 |
msgstr ""
|
351 |
|
352 |
+
#: ../admin/class-is-editor.php:306
|
353 |
msgid "Search product SKU"
|
354 |
msgstr ""
|
355 |
|
356 |
+
#: ../admin/class-is-editor.php:309
|
357 |
msgid "Search product variation"
|
358 |
msgstr ""
|
359 |
|
360 |
+
#: ../admin/class-is-editor.php:312 ../admin/class-is-editor.php:1192
|
361 |
msgid ""
|
362 |
"Please first configure this search form to search WooCommerce product post "
|
363 |
"type."
|
364 |
msgstr ""
|
365 |
|
366 |
+
#: ../admin/class-is-editor.php:322 ../admin/class-is-editor.php:1202
|
367 |
msgid "Authors"
|
368 |
msgstr ""
|
369 |
|
370 |
+
#: ../admin/class-is-editor.php:326
|
371 |
msgid "Search posts of selected authors."
|
372 |
msgstr ""
|
373 |
|
374 |
+
#: ../admin/class-is-editor.php:359
|
375 |
msgid ""
|
376 |
"This search form is already configured in the Excludes section to not search "
|
377 |
"for specific author posts."
|
378 |
msgstr ""
|
379 |
|
380 |
+
#: ../admin/class-is-editor.php:367
|
381 |
msgid "Search author Display Name and display the posts created by that author"
|
382 |
msgstr ""
|
383 |
|
384 |
+
#: ../admin/class-is-editor.php:372 ../admin/class-is-editor.php:1245
|
385 |
msgid "Post Status"
|
386 |
msgstr ""
|
387 |
|
388 |
+
#: ../admin/class-is-editor.php:376
|
389 |
msgid "Search posts having selected post statuses."
|
390 |
msgstr ""
|
391 |
|
392 |
+
#: ../admin/class-is-editor.php:397
|
393 |
msgid ""
|
394 |
"This search form is already configured in the Excludes section to not search "
|
395 |
"posts of specific post statuses."
|
396 |
msgstr ""
|
397 |
|
398 |
+
#: ../admin/class-is-editor.php:404
|
399 |
msgid "Comments"
|
400 |
msgstr ""
|
401 |
|
402 |
+
#: ../admin/class-is-editor.php:408
|
403 |
msgid "Search posts by comments."
|
404 |
msgstr ""
|
405 |
|
406 |
+
#: ../admin/class-is-editor.php:415
|
407 |
msgid "Search posts having number of comments"
|
408 |
msgstr ""
|
409 |
|
410 |
+
#: ../admin/class-is-editor.php:425
|
411 |
msgid "NA"
|
412 |
msgstr ""
|
413 |
|
414 |
+
#: ../admin/class-is-editor.php:436
|
415 |
msgid "Search approved comment content"
|
416 |
msgstr ""
|
417 |
|
418 |
+
#: ../admin/class-is-editor.php:442 ../admin/class-is-editor.php:758
|
419 |
+
#: ../admin/class-is-editor.php:972 ../admin/class-is-list-table.php:34
|
420 |
msgid "Date"
|
421 |
msgstr ""
|
422 |
|
423 |
+
#: ../admin/class-is-editor.php:446
|
424 |
msgid "Search posts created in the specified date range."
|
425 |
msgstr ""
|
426 |
|
427 |
+
#: ../admin/class-is-editor.php:451
|
428 |
msgid "From"
|
429 |
msgstr ""
|
430 |
|
431 |
+
#: ../admin/class-is-editor.php:451
|
432 |
msgid "To"
|
433 |
msgstr ""
|
434 |
|
435 |
+
#: ../admin/class-is-editor.php:456
|
436 |
msgid "Day"
|
437 |
msgstr ""
|
438 |
|
439 |
+
#: ../admin/class-is-editor.php:464
|
440 |
msgid "Month"
|
441 |
msgstr ""
|
442 |
|
443 |
+
#: ../admin/class-is-editor.php:472
|
444 |
msgid "Year"
|
445 |
msgstr ""
|
446 |
|
447 |
+
#: ../admin/class-is-editor.php:483
|
448 |
msgid "Password Protected"
|
449 |
msgstr ""
|
450 |
|
451 |
+
#: ../admin/class-is-editor.php:490
|
452 |
msgid "Search posts with or without passwords"
|
453 |
msgstr ""
|
454 |
|
455 |
+
#: ../admin/class-is-editor.php:492
|
456 |
msgid "Search posts with passwords"
|
457 |
msgstr ""
|
458 |
|
459 |
+
#: ../admin/class-is-editor.php:494
|
460 |
msgid "Search posts without passwords"
|
461 |
msgstr ""
|
462 |
|
463 |
+
#: ../admin/class-is-editor.php:499 ../admin/class-is-editor.php:1282
|
464 |
msgid "Attachments, Media, Files & MIME Types"
|
465 |
msgstr ""
|
466 |
|
467 |
+
#: ../admin/class-is-editor.php:503
|
468 |
msgid ""
|
469 |
"Search selected media, attachments, images, documents, videos, files or MIME "
|
470 |
"types."
|
471 |
msgstr ""
|
472 |
|
473 |
+
#: ../admin/class-is-editor.php:527
|
474 |
msgid ""
|
475 |
"This search form is already configured in the Excludes section to not search "
|
476 |
"specific file & MIME types."
|
477 |
msgstr ""
|
478 |
|
479 |
+
#: ../admin/class-is-editor.php:530 ../admin/class-is-editor.php:1311
|
480 |
msgid "Please first configure this search form to search Attachment post type."
|
481 |
msgstr ""
|
482 |
|
483 |
+
#: ../admin/class-is-editor.php:533 ../admin/class-is-editor.php:1314
|
484 |
+
msgid ""
|
485 |
+
"You are using WordPress version less than 4.9 which does not support "
|
486 |
+
"searching by MIME type."
|
487 |
+
msgstr ""
|
488 |
+
|
489 |
+
#: ../admin/class-is-editor.php:537
|
490 |
msgid "Selected File Types :"
|
491 |
msgstr ""
|
492 |
|
493 |
+
#: ../admin/class-is-editor.php:560
|
494 |
msgid "Use below options to customize this search form."
|
495 |
msgstr ""
|
496 |
|
497 |
+
#: ../admin/class-is-editor.php:567 ../admin/class-is-editor.php:582
|
498 |
msgid "Enable Search Form Customization"
|
499 |
msgstr ""
|
500 |
|
501 |
+
#: ../admin/class-is-editor.php:575 ../admin/class-is-editor.php:995
|
502 |
+
#: ../includes/class-is-search-form.php:507
|
503 |
msgid "Customizer"
|
504 |
msgstr ""
|
505 |
|
506 |
+
#: ../admin/class-is-editor.php:583
|
507 |
msgid ""
|
508 |
"Use below customizer to customize search form colors, text and search form "
|
509 |
"style."
|
510 |
msgstr ""
|
511 |
|
512 |
+
#: ../admin/class-is-editor.php:591
|
513 |
msgid "Search Form Customizer"
|
514 |
msgstr ""
|
515 |
|
516 |
+
#: ../admin/class-is-editor.php:637
|
517 |
msgid "Nothing found"
|
518 |
msgstr ""
|
519 |
|
520 |
+
#: ../admin/class-is-editor.php:640
|
521 |
msgid "View All"
|
522 |
msgstr ""
|
523 |
|
524 |
+
#: ../admin/class-is-editor.php:644
|
525 |
msgid "More Results.."
|
526 |
msgstr ""
|
527 |
|
528 |
+
#: ../admin/class-is-editor.php:655
|
529 |
msgid ""
|
530 |
"Configure below options to manage AJAX functionality of this search form."
|
531 |
msgstr ""
|
532 |
|
533 |
+
#: ../admin/class-is-editor.php:662 ../admin/class-is-editor.php:676
|
534 |
+
#: ../admin/class-is-editor.php:853 ../admin/class-is-editor.php:1002
|
535 |
msgid "Enable AJAX Search"
|
536 |
msgstr ""
|
537 |
|
538 |
+
#: ../admin/class-is-editor.php:669
|
539 |
msgid "Search Results"
|
540 |
msgstr ""
|
541 |
|
542 |
+
#: ../admin/class-is-editor.php:677
|
543 |
msgid "Display selected content in the search results."
|
544 |
msgstr ""
|
545 |
|
546 |
+
#: ../admin/class-is-editor.php:684
|
547 |
msgid "Description"
|
548 |
msgstr ""
|
549 |
|
550 |
+
#: ../admin/class-is-editor.php:692
|
551 |
msgid "Excerpt"
|
552 |
msgstr ""
|
553 |
|
554 |
+
#: ../admin/class-is-editor.php:698
|
555 |
msgid "Content"
|
556 |
msgstr ""
|
557 |
|
558 |
+
#: ../admin/class-is-editor.php:706
|
559 |
msgid "Description Length."
|
560 |
msgstr ""
|
561 |
|
562 |
+
#: ../admin/class-is-editor.php:714
|
563 |
msgid "Image"
|
564 |
msgstr ""
|
565 |
|
566 |
+
#: ../admin/class-is-editor.php:725
|
567 |
msgid "Categories"
|
568 |
msgstr ""
|
569 |
|
570 |
+
#: ../admin/class-is-editor.php:736
|
571 |
msgid "Tags"
|
572 |
msgstr ""
|
573 |
|
574 |
+
#: ../admin/class-is-editor.php:747 ../admin/class-is-list-table.php:33
|
575 |
msgid "Author"
|
576 |
msgstr ""
|
577 |
|
578 |
+
#: ../admin/class-is-editor.php:765
|
579 |
msgid "Minimum number of characters required to run ajax search."
|
580 |
msgstr ""
|
581 |
|
582 |
+
#: ../admin/class-is-editor.php:770
|
583 |
msgid "Search results box max height."
|
584 |
msgstr ""
|
585 |
|
586 |
+
#: ../admin/class-is-editor.php:773
|
587 |
msgid "Configure the plugin text displayed in the search results."
|
588 |
msgstr ""
|
589 |
|
590 |
+
#: ../admin/class-is-editor.php:778
|
591 |
msgid "Text when there is no search results. HTML tags is allowed."
|
592 |
msgstr ""
|
593 |
|
594 |
+
#: ../admin/class-is-editor.php:787
|
595 |
msgid "Show 'More Results..' text in the bottom of the search results box"
|
596 |
msgstr ""
|
597 |
|
598 |
+
#: ../admin/class-is-editor.php:795
|
599 |
msgid "Text for the \"More Results..\"."
|
600 |
msgstr ""
|
601 |
|
602 |
+
#: ../admin/class-is-editor.php:805
|
603 |
msgid ""
|
604 |
"View All Result - Show link to search results page at the bottom of search "
|
605 |
"results block."
|
606 |
msgstr ""
|
607 |
|
608 |
+
#: ../admin/class-is-editor.php:814
|
609 |
msgid ""
|
610 |
"Text for the \"View All\" which shown at the bottom of the search result."
|
611 |
msgstr ""
|
612 |
|
613 |
+
#: ../admin/class-is-editor.php:819
|
614 |
msgid "Configure how the search button should work clicking on it."
|
615 |
msgstr ""
|
616 |
|
617 |
+
#: ../admin/class-is-editor.php:825
|
618 |
msgid "Search button displays search results page"
|
619 |
msgstr ""
|
620 |
|
621 |
+
#: ../admin/class-is-editor.php:832
|
622 |
msgid "Search button displays ajax search results"
|
623 |
msgstr ""
|
624 |
|
625 |
+
#: ../admin/class-is-editor.php:851
|
626 |
msgid ""
|
627 |
"Please first configure this search form to search WooCommerce product post "
|
628 |
"type."
|
629 |
msgstr ""
|
630 |
|
631 |
+
#: ../admin/class-is-editor.php:854
|
632 |
msgid "Display selected WooCommerce content in the search results."
|
633 |
msgstr ""
|
634 |
|
635 |
+
#: ../admin/class-is-editor.php:861 ../admin/class-is-editor.php:973
|
636 |
msgid "Price"
|
637 |
msgstr ""
|
638 |
|
639 |
+
#: ../admin/class-is-editor.php:872
|
640 |
msgid "Hide Price for Out of Stock Products"
|
641 |
msgstr ""
|
642 |
|
643 |
+
#: ../admin/class-is-editor.php:883
|
644 |
msgid "Sale Badge"
|
645 |
msgstr ""
|
646 |
|
647 |
+
#: ../admin/class-is-editor.php:894
|
648 |
msgid "SKU"
|
649 |
msgstr ""
|
650 |
|
651 |
+
#: ../admin/class-is-editor.php:905
|
652 |
msgid "Stock Status"
|
653 |
msgstr ""
|
654 |
|
655 |
+
#: ../admin/class-is-editor.php:916
|
656 |
msgid "Featured Icon"
|
657 |
msgstr ""
|
658 |
|
659 |
+
#: ../admin/class-is-editor.php:927
|
660 |
msgid "Matching Categories"
|
661 |
msgstr ""
|
662 |
|
663 |
+
#: ../admin/class-is-editor.php:938
|
664 |
msgid "Matching Tags"
|
665 |
msgstr ""
|
666 |
|
667 |
+
#: ../admin/class-is-editor.php:949
|
668 |
msgid "Details Box"
|
669 |
msgstr ""
|
670 |
|
671 |
+
#: ../admin/class-is-editor.php:955
|
672 |
msgid "Below options only apply to matching categories or tags."
|
673 |
msgstr ""
|
674 |
|
675 |
+
#: ../admin/class-is-editor.php:957
|
676 |
msgid "Product List"
|
677 |
msgstr ""
|
678 |
|
679 |
+
#: ../admin/class-is-editor.php:960
|
680 |
msgid "All Product"
|
681 |
msgstr ""
|
682 |
|
683 |
+
#: ../admin/class-is-editor.php:961
|
684 |
msgid "Featured Products"
|
685 |
msgstr ""
|
686 |
|
687 |
+
#: ../admin/class-is-editor.php:962
|
688 |
msgid "On-sale Products</option>"
|
689 |
msgstr ""
|
690 |
|
691 |
+
#: ../admin/class-is-editor.php:969
|
692 |
msgid "Order by"
|
693 |
msgstr ""
|
694 |
|
695 |
+
#: ../admin/class-is-editor.php:974
|
696 |
msgid "Random"
|
697 |
msgstr ""
|
698 |
|
699 |
+
#: ../admin/class-is-editor.php:975
|
700 |
msgid "Sales"
|
701 |
msgstr ""
|
702 |
|
703 |
+
#: ../admin/class-is-editor.php:982
|
704 |
msgid "Order"
|
705 |
msgstr ""
|
706 |
|
707 |
+
#: ../admin/class-is-editor.php:985
|
708 |
msgid "ASC"
|
709 |
msgstr ""
|
710 |
|
711 |
+
#: ../admin/class-is-editor.php:986
|
712 |
msgid "DESC"
|
713 |
msgstr ""
|
714 |
|
715 |
+
#: ../admin/class-is-editor.php:1003
|
716 |
msgid ""
|
717 |
"Use below customizer to customize AJAX search results color and loader image."
|
718 |
msgstr ""
|
719 |
|
720 |
+
#: ../admin/class-is-editor.php:1011
|
721 |
msgid "AJAX Search Customizer"
|
722 |
msgstr ""
|
723 |
|
724 |
+
#: ../admin/class-is-editor.php:1029
|
725 |
msgid "This search form excludes the below configured content from search."
|
726 |
msgstr ""
|
727 |
|
728 |
+
#: ../admin/class-is-editor.php:1040
|
729 |
msgid "Exclude selected posts from search."
|
730 |
msgstr ""
|
731 |
|
732 |
+
#: ../admin/class-is-editor.php:1095
|
733 |
msgid ""
|
734 |
"This search form is already configured in the Includes section to search "
|
735 |
"specific posts."
|
736 |
msgstr ""
|
737 |
|
738 |
+
#: ../admin/class-is-editor.php:1105
|
739 |
msgid "Exclude posts of selected categories, taxonomies & terms from search."
|
740 |
msgstr ""
|
741 |
|
742 |
+
#: ../admin/class-is-editor.php:1146
|
743 |
msgid "Exclude posts having selected custom fields from search."
|
744 |
msgstr ""
|
745 |
|
746 |
+
#: ../admin/class-is-editor.php:1167
|
747 |
msgid "Excluded Custom Fields :"
|
748 |
msgstr ""
|
749 |
|
750 |
+
#: ../admin/class-is-editor.php:1181
|
751 |
msgid "Exclude selected WooCommerce products from search."
|
752 |
msgstr ""
|
753 |
|
754 |
+
#: ../admin/class-is-editor.php:1189
|
755 |
msgid "Exclude 'Out of Stock' products"
|
756 |
msgstr ""
|
757 |
|
758 |
+
#: ../admin/class-is-editor.php:1206
|
759 |
msgid "Exclude posts created by selected authors from search."
|
760 |
msgstr ""
|
761 |
|
762 |
+
#: ../admin/class-is-editor.php:1238
|
763 |
msgid ""
|
764 |
"This search form is already configured in the Includes section to search "
|
765 |
"posts created by specific authors."
|
766 |
msgstr ""
|
767 |
|
768 |
+
#: ../admin/class-is-editor.php:1249
|
769 |
msgid "Exclude posts having selected post statuses from search."
|
770 |
msgstr ""
|
771 |
|
772 |
+
#: ../admin/class-is-editor.php:1272
|
773 |
msgid ""
|
774 |
"This search form is already configured in the Includes section to search "
|
775 |
"posts of specific post statuses."
|
776 |
msgstr ""
|
777 |
|
778 |
+
#: ../admin/class-is-editor.php:1277
|
779 |
msgid "Exclude sticky posts from search"
|
780 |
msgstr ""
|
781 |
|
782 |
+
#: ../admin/class-is-editor.php:1286
|
783 |
msgid ""
|
784 |
"Exclude selected media, attachments, images, documents, videos, files or "
|
785 |
"MIME types from search."
|
786 |
msgstr ""
|
787 |
|
788 |
+
#: ../admin/class-is-editor.php:1308
|
789 |
msgid ""
|
790 |
"This search form is already configured in the Includes section to search "
|
791 |
"specific Attachments, Media or Files."
|
792 |
msgstr ""
|
793 |
|
794 |
+
#: ../admin/class-is-editor.php:1318
|
795 |
msgid "Excluded File Types :"
|
796 |
msgstr ""
|
797 |
|
798 |
+
#: ../admin/class-is-editor.php:1336
|
799 |
msgid "Configure below options to manage functionality of this search form."
|
800 |
msgstr ""
|
801 |
|
802 |
+
#: ../admin/class-is-editor.php:1343
|
803 |
msgid "Posts Per Page"
|
804 |
msgstr ""
|
805 |
|
806 |
+
#: ../admin/class-is-editor.php:1347
|
807 |
msgid "Display selected number of posts on search results page."
|
808 |
msgstr ""
|
809 |
|
810 |
+
#: ../admin/class-is-editor.php:1362
|
811 |
msgid "Order Search Results"
|
812 |
msgstr ""
|
813 |
|
814 |
+
#: ../admin/class-is-editor.php:1365
|
815 |
msgid "Display posts on search results page ordered by selected options."
|
816 |
msgstr ""
|
817 |
|
818 |
+
#: ../admin/class-is-editor.php:1390
|
819 |
msgid "Highlight Search Terms"
|
820 |
msgstr ""
|
821 |
|
822 |
+
#: ../admin/class-is-editor.php:1396
|
823 |
msgid "Highlight searched terms on search results page"
|
824 |
msgstr ""
|
825 |
|
826 |
+
#: ../admin/class-is-editor.php:1399
|
827 |
msgid "Set highlight color in Hex format"
|
828 |
msgstr ""
|
829 |
|
830 |
+
#: ../admin/class-is-editor.php:1405
|
831 |
msgid "Search All Or Any Search Terms"
|
832 |
msgstr ""
|
833 |
|
834 |
+
#: ../admin/class-is-editor.php:1409
|
835 |
msgid ""
|
836 |
"Select whether to search posts having all or any of the words being searched."
|
837 |
msgstr ""
|
838 |
|
839 |
+
#: ../admin/class-is-editor.php:1415
|
840 |
msgid "OR - Display content having any of the search terms"
|
841 |
msgstr ""
|
842 |
|
843 |
+
#: ../admin/class-is-editor.php:1417
|
844 |
msgid "AND - Display content having all the search terms"
|
845 |
msgstr ""
|
846 |
|
847 |
+
#: ../admin/class-is-editor.php:1423
|
848 |
msgid "Fuzzy Matching"
|
849 |
msgstr ""
|
850 |
|
851 |
+
#: ../admin/class-is-editor.php:1426
|
852 |
msgid ""
|
853 |
"Select whether to search posts having whole or partial word being searched."
|
854 |
msgstr ""
|
855 |
|
856 |
+
#: ../admin/class-is-editor.php:1431
|
857 |
msgid "Whole - Search posts that include the whole search term"
|
858 |
msgstr ""
|
859 |
|
860 |
+
#: ../admin/class-is-editor.php:1433
|
861 |
msgid ""
|
862 |
"Partial - Also search words in the posts that begins or ends with the search "
|
863 |
"term"
|
864 |
msgstr ""
|
865 |
|
866 |
+
#: ../admin/class-is-editor.php:1439
|
867 |
msgid "Keyword Stemming"
|
868 |
msgstr ""
|
869 |
|
870 |
+
#: ../admin/class-is-editor.php:1443
|
871 |
msgid "Select whether to search the base word of a searched keyword."
|
872 |
msgstr ""
|
873 |
|
874 |
+
#: ../admin/class-is-editor.php:1444
|
875 |
msgid ""
|
876 |
"For Example: If you search \"doing\" then it also searches base word of "
|
877 |
"\"doing\" that is \"do\" in the specified post types."
|
878 |
msgstr ""
|
879 |
|
880 |
+
#: ../admin/class-is-editor.php:1445
|
881 |
msgid "Not recommended to use when Fuzzy Matching option is set to Whole."
|
882 |
msgstr ""
|
883 |
|
884 |
+
#: ../admin/class-is-editor.php:1451
|
885 |
msgid "Also search base word of searched keyword"
|
886 |
msgstr ""
|
887 |
|
888 |
+
#: ../admin/class-is-editor.php:1458
|
889 |
msgid "Sticky Posts"
|
890 |
msgstr ""
|
891 |
|
892 |
+
#: ../admin/class-is-editor.php:1464
|
893 |
msgid "Display sticky posts to the start of the search results page"
|
894 |
msgstr ""
|
895 |
|
896 |
+
#: ../admin/class-is-editor.php:1470
|
897 |
msgid "Empty Search Query"
|
898 |
msgstr ""
|
899 |
|
900 |
+
#: ../admin/class-is-editor.php:1473
|
901 |
msgid ""
|
902 |
"Select whether to display an error when user perform search without any "
|
903 |
"search word."
|
904 |
msgstr ""
|
905 |
|
906 |
+
#: ../admin/class-is-editor.php:1478
|
907 |
msgid "Display an error for empty search query"
|
908 |
msgstr ""
|
909 |
|
910 |
+
#: ../admin/class-is-editor.php:1483
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
911 |
msgid "Demo Search"
|
912 |
msgstr ""
|
913 |
|
914 |
+
#: ../admin/class-is-editor.php:1489
|
915 |
msgid "Display search form only for site administrator"
|
916 |
msgstr ""
|
917 |
|
918 |
+
#: ../admin/class-is-editor.php:1495 ../admin/class-is-settings-fields.php:163
|
919 |
msgid "Disable Search"
|
920 |
msgstr ""
|
921 |
|
922 |
+
#: ../admin/class-is-editor.php:1501
|
923 |
msgid "Disable this search form"
|
924 |
msgstr ""
|
925 |
|
1063 |
msgid "For more information:"
|
1064 |
msgstr ""
|
1065 |
|
|
|
|
|
|
|
|
|
1066 |
#: ../admin/class-is-help.php:112 ../admin/partials/settings-form.php:100
|
1067 |
msgid "Give us a rating"
|
1068 |
msgstr ""
|
1079 |
msgid "Shortcode"
|
1080 |
msgstr ""
|
1081 |
|
1082 |
+
#: ../admin/class-is-list-table.php:119 ../admin/class-is-list-table.php:182
|
1083 |
#: ../admin/partials/search-form.php:163
|
1084 |
msgid "Delete"
|
1085 |
msgstr ""
|
1086 |
|
1087 |
+
#: ../admin/class-is-list-table.php:148
|
1088 |
#, php-format
|
1089 |
msgid "Edit “%s”"
|
1090 |
msgstr ""
|
1091 |
|
1092 |
+
#: ../admin/class-is-list-table.php:158
|
|
|
1093 |
#: ../admin/class-is-settings-fields.php:385
|
1094 |
#: ../admin/class-is-settings-fields.php:417
|
1095 |
+
#: ../includes/class-is-search-form.php:503 ../includes/class-is-widget.php:69
|
1096 |
msgid "Edit"
|
1097 |
msgstr ""
|
1098 |
|
1099 |
+
#: ../admin/class-is-list-table.php:168 ../admin/partials/search-form.php:178
|
1100 |
msgid "Duplicate"
|
1101 |
msgstr ""
|
1102 |
|
1103 |
+
#: ../admin/class-is-list-table.php:181 ../admin/partials/search-form.php:163
|
1104 |
msgid ""
|
1105 |
"You are about to delete this search form.\n"
|
1106 |
" 'Cancel' to stop, 'OK' to delete."
|
1107 |
msgstr ""
|
1108 |
|
1109 |
+
#: ../admin/class-is-list-table.php:230
|
1110 |
msgid "Y/m/d g:i:s A"
|
1111 |
msgstr ""
|
1112 |
|
1113 |
+
#: ../admin/class-is-list-table.php:241
|
1114 |
#, php-format
|
1115 |
msgid "%s ago"
|
1116 |
msgstr ""
|
1117 |
|
1118 |
+
#: ../admin/class-is-list-table.php:243
|
1119 |
msgid "d/m/Y"
|
1120 |
msgstr ""
|
1121 |
|
1414 |
msgstr ""
|
1415 |
|
1416 |
#: ../includes/class-is-admin-public.php:170
|
1417 |
+
#: ../includes/class-is-search-form.php:445
|
1418 |
msgid "Search..."
|
1419 |
msgstr ""
|
1420 |
|
1423 |
msgstr ""
|
1424 |
|
1425 |
#: ../includes/class-is-admin-public.php:183
|
1426 |
+
#: ../includes/class-is-search-form.php:446
|
1427 |
msgid "Search"
|
1428 |
msgstr ""
|
1429 |
|
1464 |
msgstr ""
|
1465 |
|
1466 |
#: ../includes/class-is-search-form.php:111
|
1467 |
+
#: ../includes/class-is-search-form.php:205
|
1468 |
msgid "Untitled"
|
1469 |
msgstr ""
|
1470 |
|
1471 |
+
#: ../includes/class-is-search-form.php:129
|
1472 |
#, php-format
|
1473 |
msgid ""
|
1474 |
"<code>%1$s</code> property of a <code>IS_Search_Form</code> object is "
|
1475 |
"<strong>no longer accessible</strong>. Use <code>%2$s</code> method instead."
|
1476 |
msgstr ""
|
1477 |
|
1478 |
+
#: ../includes/class-is-search-form.php:399
|
1479 |
msgid "Invalid search form."
|
1480 |
msgstr ""
|
1481 |
|
public/class-is-public.php
CHANGED
@@ -666,15 +666,15 @@ class IS_Public
|
|
666 |
|
667 |
if ( isset( $q['_is_settings']['fuzzy_match'] ) && '2' !== $q['_is_settings']['fuzzy_match'] ) {
|
668 |
$like = 'REGEXP';
|
669 |
-
$f = "[[
|
670 |
-
$l = "[[
|
671 |
}
|
672 |
|
673 |
$searchand = '';
|
674 |
$search = " AND ( ";
|
675 |
$OR = '';
|
676 |
-
foreach ( (array) $q['search_terms'] as $
|
677 |
-
$term = $f . $wpdb->esc_like( $
|
678 |
$OR = '';
|
679 |
$search .= "{$searchand} (";
|
680 |
|
666 |
|
667 |
if ( isset( $q['_is_settings']['fuzzy_match'] ) && '2' !== $q['_is_settings']['fuzzy_match'] ) {
|
668 |
$like = 'REGEXP';
|
669 |
+
$f = "(^|[[:space:]])";
|
670 |
+
$l = "([[:space:]]|\$)";
|
671 |
}
|
672 |
|
673 |
$searchand = '';
|
674 |
$search = " AND ( ";
|
675 |
$OR = '';
|
676 |
+
foreach ( (array) $q['search_terms'] as $term2 ) {
|
677 |
+
$term = $f . $wpdb->esc_like( $term2 ) . $l;
|
678 |
$OR = '';
|
679 |
$search .= "{$searchand} (";
|
680 |
|
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.3.
|
9 |
License: GPLv2 or later
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -115,7 +115,6 @@ Feel free to ask it using [Contact Form](https://ivorysearch.com/contact/).
|
|
115 |
<li> Order posts in ascending or descending order of date, relevance, id, author, title, type, name, comment count, menu order or entirely random. [Premium]</li>
|
116 |
<li> Display or hide sticky posts at the top of the search results page.</li>
|
117 |
<li> Display an error page or list all posts for empty search queries.</li>
|
118 |
-
<li> Option to search or not search post types excluded from search using exclude_from_search.</li>
|
119 |
<li> Display search forms only to site administrators while testing, before going live.</li>
|
120 |
<li> Disable an individual search form or disable searching site wide.</li>
|
121 |
<li> Configure stop words which are excluded from search.</li>
|
@@ -193,6 +192,9 @@ Yes we do. We try our best to help free users with customisation requests and we
|
|
193 |
|
194 |
== Changelog ==
|
195 |
|
|
|
|
|
|
|
196 |
= 4.3.1 =
|
197 |
* Added - DISABLE_IS_LOAD_ALL constant.
|
198 |
* Fixed - query_vars, wp_is_json_request & wp_doing_ajax issues.
|
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.2
|
7 |
Requires PHP: 5.2.4
|
8 |
+
Stable tag: 4.3.2
|
9 |
License: GPLv2 or later
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
115 |
<li> Order posts in ascending or descending order of date, relevance, id, author, title, type, name, comment count, menu order or entirely random. [Premium]</li>
|
116 |
<li> Display or hide sticky posts at the top of the search results page.</li>
|
117 |
<li> Display an error page or list all posts for empty search queries.</li>
|
|
|
118 |
<li> Display search forms only to site administrators while testing, before going live.</li>
|
119 |
<li> Disable an individual search form or disable searching site wide.</li>
|
120 |
<li> Configure stop words which are excluded from search.</li>
|
192 |
|
193 |
== Changelog ==
|
194 |
|
195 |
+
= 4.3.2 =
|
196 |
+
* Improved - Plugin admin area functionality.
|
197 |
+
|
198 |
= 4.3.1 =
|
199 |
* Added - DISABLE_IS_LOAD_ALL constant.
|
200 |
* Fixed - query_vars, wp_is_json_request & wp_doing_ajax issues.
|