Ivory Search – WordPress Search Plugin - Version 4.1.3

Version Description

  • Developed option to search specific posts, pages or custom post types.
Download this release

Release Info

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

Code changes from version 4.1.2 to 4.1.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 to power your WordPress site custom search. Helping you build a better search. Includes WooCommerce Search support!
6
- * Version: 4.1.2
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 to power your WordPress site custom search. Helping you build a better search. Includes WooCommerce Search support!
6
+ * Version: 4.1.3
7
  * Author: Ivory Search
8
  * Author URI: https://ivorysearch.com/
9
  * License: GPL2+
admin/class-is-editor.php CHANGED
@@ -173,7 +173,67 @@ class IS_Search_Editor
173
  ?>
174
  </div></div>
175
 
176
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
177
 
178
  <h3 scope="row">
179
  <label for="<?php
@@ -733,45 +793,51 @@ class IS_Search_Editor
733
  $content .= '<br />' . __( 'Selected post types display in BOLD.', 'ivory-search' );
734
  IS_Help::help_info( $content );
735
  echo '<div>' ;
736
- $post_types = array( 'post', 'page' );
737
- if ( isset( $includes['post_type'] ) && !empty($includes['post_type']) && is_array( $includes['post_type'] ) ) {
738
- $post_types = array_values( $includes['post_type'] );
739
- }
740
- foreach ( $post_types as $post_type ) {
741
- $posts = get_posts( array(
742
- 'post_type' => $post_type,
743
- 'posts_per_page' => -1,
744
- 'orderby' => 'title',
745
- 'order' => 'ASC',
746
- ) );
747
-
748
- if ( !empty($posts) ) {
749
- $html = '<div class="col-wrapper"><div class="col-title">';
750
- $col_title = ucwords( $post_type );
751
- $temp = '';
752
- $selected_pt = array();
753
- foreach ( $posts as $post2 ) {
754
- $checked = ( isset( $excludes['post__not_in'] ) && in_array( $post2->ID, $excludes['post__not_in'] ) ? $post2->ID : 0 );
755
- if ( $checked ) {
756
- array_push( $selected_pt, $post_type );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
757
  }
758
- $post_title = ( isset( $post2->post_title ) && '' !== $post2->post_title ? esc_html( $post2->post_title ) : $post2->post_name );
759
- $temp .= '<option value="' . esc_attr( $post2->ID ) . '" ' . selected( $post2->ID, $checked, false ) . '>' . $post_title . '</option>';
760
- }
761
- if ( !empty($selected_pt) && in_array( $post_type, $selected_pt ) ) {
762
- $col_title = '<strong>' . $col_title . '</strong>';
763
- }
764
- $html .= $col_title . '<input class="list-search" placeholder="' . __( "Search..", 'ivory-search' ) . '" type="text"></div>';
765
- $html .= '<select class="_is_excludes-post__not_in" name="' . $id . '[post__not_in][]" multiple size="8" >';
766
- $html .= $temp . '</select></div>';
767
- echo $html ;
768
- if ( !empty($selected_pt) ) {
769
- echo '<span class="ind-status ' . $id . '-post__not_in"></span>' ;
770
  }
 
771
  }
772
-
 
 
773
  }
774
- echo '<br /><label for="' . $id . '-post__not_in" style="font-size: 10px;clear:both;display:block;">' . esc_html__( "Press CTRL key to select multiple terms or deselect them.", 'ivory-search' ) . '</label>' ;
775
  ?>
776
  </div></div>
777
 
173
  ?>
174
  </div></div>
175
 
176
+ <h3 scope="row">
177
+ <label for="<?php
178
+ echo $id ;
179
+ ?>-post__in"><?php
180
+ echo esc_html( __( 'Posts', 'ivory-search' ) ) ;
181
+ ?></label>
182
+ <span class="actions"><span class="indicator <?php
183
+ echo $id ;
184
+ ?>-post__in"></span><a class="expand" href="#"><?php
185
+ esc_html_e( 'Expand All', 'ivory-search' );
186
+ ?></a><a class="collapse" href="#" style="display:none;"><?php
187
+ esc_html_e( 'Collapse All', 'ivory-search' );
188
+ ?></a></span></h3>
189
+ <div>
190
+ <?php
191
+ $content = __( 'The posts and pages of searchable post types display here.', 'ivory-search' );
192
+ $content .= '<br />' . __( 'Select the specific posts you wish to search or do not select any posts to make all posts searchable.', 'ivory-search' );
193
+ $content .= '<br />' . __( 'Selected post types display in BOLD.', 'ivory-search' );
194
+ IS_Help::help_info( $content );
195
+ echo '<div>' ;
196
+ $post_types = array( 'post', 'page' );
197
+ if ( isset( $includes['post_type'] ) && !empty($includes['post_type']) && is_array( $includes['post_type'] ) ) {
198
+ $post_types = array_values( $includes['post_type'] );
199
+ }
200
+ foreach ( $post_types as $post_type ) {
201
+ $posts = get_posts( array(
202
+ 'post_type' => $post_type,
203
+ 'posts_per_page' => -1,
204
+ 'orderby' => 'title',
205
+ 'order' => 'ASC',
206
+ ) );
207
+
208
+ if ( !empty($posts) ) {
209
+ $html = '<div class="col-wrapper"><div class="col-title">';
210
+ $col_title = ucwords( $post_type );
211
+ $temp = '';
212
+ $selected_pt = array();
213
+ foreach ( $posts as $post2 ) {
214
+ $checked = ( isset( $includes['post__in'] ) && in_array( $post2->ID, $includes['post__in'] ) ? $post2->ID : 0 );
215
+ if ( $checked ) {
216
+ array_push( $selected_pt, $post_type );
217
+ }
218
+ $post_title = ( isset( $post2->post_title ) && '' !== $post2->post_title ? esc_html( $post2->post_title ) : $post2->post_name );
219
+ $temp .= '<option value="' . esc_attr( $post2->ID ) . '" ' . selected( $post2->ID, $checked, false ) . '>' . $post_title . '</option>';
220
+ }
221
+ if ( !empty($selected_pt) && in_array( $post_type, $selected_pt ) ) {
222
+ $col_title = '<strong>' . $col_title . '</strong>';
223
+ }
224
+ $html .= $col_title . '<input class="list-search" placeholder="' . __( "Search..", 'ivory-search' ) . '" type="text"></div>';
225
+ $html .= '<select class="_is_includes-post__in" name="' . $id . '[post__in][]" multiple size="8" >';
226
+ $html .= $temp . '</select></div>';
227
+ echo $html ;
228
+ if ( !empty($selected_pt) ) {
229
+ echo '<span class="ind-status ' . $id . '-post__in"></span>' ;
230
+ }
231
+ }
232
+
233
+ }
234
+ echo '<br /><label for="' . $id . '-post__in" style="font-size: 10px;clear:both;display:block;">' . esc_html__( "Press CTRL key to select multiple terms or deselect them.", 'ivory-search' ) . '</label>' ;
235
+ ?>
236
+ </div></div>
237
 
238
  <h3 scope="row">
239
  <label for="<?php
793
  $content .= '<br />' . __( 'Selected post types display in BOLD.', 'ivory-search' );
794
  IS_Help::help_info( $content );
795
  echo '<div>' ;
796
+
797
+ if ( !isset( $includes['post__in'] ) ) {
798
+ $post_types = array( 'post', 'page' );
799
+ if ( isset( $includes['post_type'] ) && !empty($includes['post_type']) && is_array( $includes['post_type'] ) ) {
800
+ $post_types = array_values( $includes['post_type'] );
801
+ }
802
+ foreach ( $post_types as $post_type ) {
803
+ $posts = get_posts( array(
804
+ 'post_type' => $post_type,
805
+ 'posts_per_page' => -1,
806
+ 'orderby' => 'title',
807
+ 'order' => 'ASC',
808
+ ) );
809
+
810
+ if ( !empty($posts) ) {
811
+ $html = '<div class="col-wrapper"><div class="col-title">';
812
+ $col_title = ucwords( $post_type );
813
+ $temp = '';
814
+ $selected_pt = array();
815
+ foreach ( $posts as $post2 ) {
816
+ $checked = ( isset( $excludes['post__not_in'] ) && in_array( $post2->ID, $excludes['post__not_in'] ) ? $post2->ID : 0 );
817
+ if ( $checked ) {
818
+ array_push( $selected_pt, $post_type );
819
+ }
820
+ $post_title = ( isset( $post2->post_title ) && '' !== $post2->post_title ? esc_html( $post2->post_title ) : $post2->post_name );
821
+ $temp .= '<option value="' . esc_attr( $post2->ID ) . '" ' . selected( $post2->ID, $checked, false ) . '>' . $post_title . '</option>';
822
+ }
823
+ if ( !empty($selected_pt) && in_array( $post_type, $selected_pt ) ) {
824
+ $col_title = '<strong>' . $col_title . '</strong>';
825
+ }
826
+ $html .= $col_title . '<input class="list-search" placeholder="' . __( "Search..", 'ivory-search' ) . '" type="text"></div>';
827
+ $html .= '<select class="_is_excludes-post__not_in" name="' . $id . '[post__not_in][]" multiple size="8" >';
828
+ $html .= $temp . '</select></div>';
829
+ echo $html ;
830
+ if ( !empty($selected_pt) ) {
831
+ echo '<span class="ind-status ' . $id . '-post__not_in"></span>' ;
832
  }
 
 
 
 
 
 
 
 
 
 
 
 
833
  }
834
+
835
  }
836
+ echo '<br /><label for="' . $id . '-post__not_in" style="font-size: 10px;clear:both;display:block;">' . esc_html__( "Press CTRL key to select multiple terms or deselect them.", 'ivory-search' ) . '</label>' ;
837
+ } else {
838
+ _e( 'Search is already limited to specific posts selected in Includes section.', 'ivory-search' );
839
  }
840
+
841
  ?>
842
  </div></div>
843
 
admin/css/ivory-search-admin.css CHANGED
@@ -502,7 +502,7 @@ h4.panel-desc {
502
  color: #FFF;
503
  text-decoration: none;
504
  font-size: 11px;
505
- padding: 10px;
506
  outline: 0;
507
  box-shadow: none;
508
  }
@@ -517,6 +517,7 @@ h4.panel-desc {
517
  display: inline-block;
518
  float: right;
519
  font-size: 20px;
 
520
  }
521
 
522
  .form-table h3.ui-state-active .actions::after {
502
  color: #FFF;
503
  text-decoration: none;
504
  font-size: 11px;
505
+ padding: 10px 10px 0 10px;
506
  outline: 0;
507
  box-shadow: none;
508
  }
517
  display: inline-block;
518
  float: right;
519
  font-size: 20px;
520
+ line-height: 1;
521
  }
522
 
523
  .form-table h3.ui-state-active .actions::after {
languages/default.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Ivory Search\n"
4
- "POT-Creation-Date: 2018-09-14 17:32+0530\n"
5
- "PO-Revision-Date: 2018-09-14 17:32+0530\n"
6
  "Last-Translator: \n"
7
  "Language-Team: Ivory Search <admin@ivorysearch.com>\n"
8
  "Language: en_US\n"
@@ -142,39 +142,39 @@ msgstr ""
142
  msgid "Post Types"
143
  msgstr ""
144
 
145
- #: ../admin/class-is-editor.php:103 ../admin/class-is-editor.php:174
146
- #: ../admin/class-is-editor.php:252 ../admin/class-is-editor.php:288
147
- #: ../admin/class-is-editor.php:320 ../admin/class-is-editor.php:373
148
- #: ../admin/class-is-editor.php:408 ../admin/class-is-editor.php:459
149
- #: ../admin/class-is-editor.php:512 ../admin/class-is-editor.php:538
150
- #: ../admin/class-is-editor.php:604 ../admin/class-is-editor.php:658
151
- #: ../admin/class-is-editor.php:704 ../admin/class-is-editor.php:742
152
- #: ../admin/class-is-editor.php:774 ../admin/class-is-editor.php:820
153
- #: ../admin/class-is-editor.php:865 ../admin/class-is-editor.php:927
154
- #: ../admin/class-is-editor.php:946 ../admin/class-is-editor.php:982
155
- #: ../admin/class-is-editor.php:1007 ../admin/class-is-editor.php:1025
156
- #: ../admin/class-is-editor.php:1042 ../admin/class-is-editor.php:1065
157
- #: ../admin/class-is-editor.php:1080 ../admin/class-is-editor.php:1095
158
- #: ../admin/class-is-editor.php:1110 ../admin/class-is-editor.php:1125
159
- #: ../admin/class-is-settings-fields.php:117
160
  msgid "Expand All"
161
  msgstr ""
162
 
163
- #: ../admin/class-is-editor.php:103 ../admin/class-is-editor.php:174
164
- #: ../admin/class-is-editor.php:252 ../admin/class-is-editor.php:288
165
- #: ../admin/class-is-editor.php:320 ../admin/class-is-editor.php:373
166
- #: ../admin/class-is-editor.php:408 ../admin/class-is-editor.php:459
167
- #: ../admin/class-is-editor.php:512 ../admin/class-is-editor.php:538
168
- #: ../admin/class-is-editor.php:604 ../admin/class-is-editor.php:658
169
- #: ../admin/class-is-editor.php:704 ../admin/class-is-editor.php:742
170
- #: ../admin/class-is-editor.php:774 ../admin/class-is-editor.php:820
171
- #: ../admin/class-is-editor.php:865 ../admin/class-is-editor.php:927
172
- #: ../admin/class-is-editor.php:946 ../admin/class-is-editor.php:982
173
- #: ../admin/class-is-editor.php:1007 ../admin/class-is-editor.php:1025
174
- #: ../admin/class-is-editor.php:1042 ../admin/class-is-editor.php:1065
175
- #: ../admin/class-is-editor.php:1080 ../admin/class-is-editor.php:1095
176
- #: ../admin/class-is-editor.php:1110 ../admin/class-is-editor.php:1125
177
- #: ../admin/class-is-settings-fields.php:117
178
  msgid "Collapse All"
179
  msgstr ""
180
 
@@ -207,422 +207,433 @@ msgstr ""
207
  msgid "No post types registered on your site."
208
  msgstr ""
209
 
210
- #: ../admin/class-is-editor.php:173 ../admin/class-is-editor.php:657
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
211
  msgid "Taxonomy Terms"
212
  msgstr ""
213
 
214
- #: ../admin/class-is-editor.php:178
215
  msgid ""
216
  "Taxonomy terms that have no posts will not be visible below. Add a post with "
217
  "the taxonomy you want for it to be configurable."
218
  msgstr ""
219
 
220
- #: ../admin/class-is-editor.php:179
221
  msgid ""
222
  "Terms selected here will restrict the search to posts that have the selected "
223
  "terms."
224
  msgstr ""
225
 
226
- #: ../admin/class-is-editor.php:180
227
  msgid "Taxonomy terms selected display in BOLD"
228
  msgstr ""
229
 
230
- #: ../admin/class-is-editor.php:206 ../admin/class-is-editor.php:265
231
- #: ../admin/class-is-editor.php:552 ../admin/class-is-editor.php:643
232
- #: ../admin/class-is-editor.php:682 ../admin/class-is-editor.php:718
233
- #: ../admin/class-is-editor.php:878
234
- msgid "Search.."
235
- msgstr ""
236
-
237
- #: ../admin/class-is-editor.php:215 ../admin/class-is-editor.php:272
238
- #: ../admin/class-is-editor.php:560 ../admin/class-is-editor.php:652
239
- #: ../admin/class-is-editor.php:691 ../admin/class-is-editor.php:726
240
- #: ../admin/class-is-editor.php:886
241
- msgid "Press CTRL key to select multiple terms or deselect them."
242
- msgstr ""
243
-
244
- #: ../admin/class-is-editor.php:225
245
  msgid "AND - Search posts having all the above selected terms."
246
  msgstr ""
247
 
248
- #: ../admin/class-is-editor.php:227
249
  msgid "OR - Search posts having any one of the above selected terms."
250
  msgstr ""
251
 
252
- #: ../admin/class-is-editor.php:233
253
  msgid "Search in taxonomy terms title."
254
  msgstr ""
255
 
256
- #: ../admin/class-is-editor.php:239
257
  msgid "Search in taxonomy terms description."
258
  msgstr ""
259
 
260
- #: ../admin/class-is-editor.php:244 ../admin/class-is-editor.php:696
261
  msgid "No taxonomies registered for slected post types."
262
  msgstr ""
263
 
264
- #: ../admin/class-is-editor.php:251 ../admin/class-is-editor.php:703
265
  msgid "Custom Fields"
266
  msgstr ""
267
 
268
- #: ../admin/class-is-editor.php:255
269
  msgid "Select custom fields to make their values searchable."
270
  msgstr ""
271
 
272
- #: ../admin/class-is-editor.php:276
273
  msgid "Selected Custom Fields :"
274
  msgstr ""
275
 
276
- #: ../admin/class-is-editor.php:287 ../admin/class-is-editor.php:741
277
  msgid "WooCommerce"
278
  msgstr ""
279
 
280
- #: ../admin/class-is-editor.php:291
281
  msgid "Configure WooCommerce products search options here."
282
  msgstr ""
283
 
284
- #: ../admin/class-is-editor.php:303
285
  msgid "Search in WooCommerce products SKU."
286
  msgstr ""
287
 
288
- #: ../admin/class-is-editor.php:309 ../admin/class-is-editor.php:763
289
  msgid "WooCommerce product post type is not included in search."
290
  msgstr ""
291
 
292
- #: ../admin/class-is-editor.php:312 ../admin/class-is-editor.php:766
293
  msgid "Activate WooCommerce plugin to use this option."
294
  msgstr ""
295
 
296
- #: ../admin/class-is-editor.php:319 ../admin/class-is-editor.php:773
297
  msgid "Authors"
298
  msgstr ""
299
 
300
- #: ../admin/class-is-editor.php:323
301
  msgid "Make specific author posts searchable."
302
  msgstr ""
303
 
304
- #: ../admin/class-is-editor.php:356
305
  msgid ""
306
  "Search has been already limited by excluding specific authors posts in the "
307
  "Excludes section."
308
  msgstr ""
309
 
310
- #: ../admin/class-is-editor.php:364
311
  msgid ""
312
  "Search in author Display name and display the posts created by that author."
313
  msgstr ""
314
 
315
- #: ../admin/class-is-editor.php:372 ../admin/class-is-editor.php:819
316
  msgid "Post Status"
317
  msgstr ""
318
 
319
- #: ../admin/class-is-editor.php:376
320
  msgid "Configure options to search posts having specific post statuses."
321
  msgstr ""
322
 
323
- #: ../admin/class-is-editor.php:400
324
  msgid ""
325
  "Search has been already limited by excluding specific posts statuses from "
326
  "search in the Excludes section."
327
  msgstr ""
328
 
329
- #: ../admin/class-is-editor.php:407
330
  msgid "Comments"
331
  msgstr ""
332
 
333
- #: ../admin/class-is-editor.php:412
334
  msgid "Make posts searchable that have a specific number of comments."
335
  msgstr ""
336
 
337
- #: ../admin/class-is-editor.php:428
338
  msgid "The search operator to compare comments count."
339
  msgstr ""
340
 
341
- #: ../admin/class-is-editor.php:435
342
  msgid "NA"
343
  msgstr ""
344
 
345
- #: ../admin/class-is-editor.php:439
346
  msgid "The amount of comments your posts has to have."
347
  msgstr ""
348
 
349
- #: ../admin/class-is-editor.php:449
350
  msgid "Search in approved comments content."
351
  msgstr ""
352
 
353
- #: ../admin/class-is-editor.php:458 ../admin/class-is-list-table.php:34
354
  msgid "Date"
355
  msgstr ""
356
 
357
- #: ../admin/class-is-editor.php:462
358
  msgid "Make posts searchable that were created in the specified date range."
359
  msgstr ""
360
 
361
- #: ../admin/class-is-editor.php:475
362
  msgid "Day"
363
  msgstr ""
364
 
365
- #: ../admin/class-is-editor.php:486
366
  msgid "Month"
367
  msgstr ""
368
 
369
- #: ../admin/class-is-editor.php:497
370
  msgid "Year"
371
  msgstr ""
372
 
373
- #: ../admin/class-is-editor.php:511
374
  msgid "Password"
375
  msgstr ""
376
 
377
- #: ../admin/class-is-editor.php:515
378
  msgid "Configure options to search posts with or without password."
379
  msgstr ""
380
 
381
- #: ../admin/class-is-editor.php:520
382
  msgid "Search all posts with and without passwords."
383
  msgstr ""
384
 
385
- #: ../admin/class-is-editor.php:522
386
  msgid "Search only posts with passwords."
387
  msgstr ""
388
 
389
- #: ../admin/class-is-editor.php:524
390
  msgid "Search only posts without passwords."
391
  msgstr ""
392
 
393
- #: ../admin/class-is-editor.php:537 ../admin/class-is-editor.php:864
394
  msgid "File Types"
395
  msgstr ""
396
 
397
- #: ../admin/class-is-editor.php:541
398
  msgid ""
399
  "Configure searching to search based on posts that have a specific MIME type "
400
  "or files that have specific media attachments"
401
  msgstr ""
402
 
403
- #: ../admin/class-is-editor.php:563
404
  msgid ""
405
  "Search has been already limited by excluding specific File type in the "
406
  "Excludes section."
407
  msgstr ""
408
 
409
- #: ../admin/class-is-editor.php:566 ../admin/class-is-editor.php:892
410
  msgid "Attachment post type is not included in search."
411
  msgstr ""
412
 
413
- #: ../admin/class-is-editor.php:570
414
  msgid "Selected File Types :"
415
  msgstr ""
416
 
417
- #: ../admin/class-is-editor.php:596
418
  msgid "Configure the options to exclude specific content from search."
419
  msgstr ""
420
 
421
- #: ../admin/class-is-editor.php:603
422
- msgid "Posts"
423
- msgstr ""
424
-
425
- #: ../admin/class-is-editor.php:607
426
- msgid "The posts and pages of searchable post types display here."
427
- msgstr ""
428
-
429
- #: ../admin/class-is-editor.php:608
430
  msgid "Select the posts you wish to exclude from the search."
431
  msgstr ""
432
 
433
- #: ../admin/class-is-editor.php:609
434
- msgid "Selected post types display in BOLD."
 
435
  msgstr ""
436
 
437
- #: ../admin/class-is-editor.php:661
438
  msgid ""
439
  "The taxonomies and terms attached to searchable post types display here."
440
  msgstr ""
441
 
442
- #: ../admin/class-is-editor.php:662
443
  msgid "Exclude posts from search results that have specific terms"
444
  msgstr ""
445
 
446
- #: ../admin/class-is-editor.php:663
447
  msgid "Selected terms taxonomy title display in BOLD."
448
  msgstr ""
449
 
450
- #: ../admin/class-is-editor.php:707
451
  msgid "Exclude posts from the search having selected custom fields."
452
  msgstr ""
453
 
454
- #: ../admin/class-is-editor.php:730
455
  msgid "Excluded Custom Fields :"
456
  msgstr ""
457
 
458
- #: ../admin/class-is-editor.php:745
459
  msgid "Exclude specific WooCommerce products from the search."
460
  msgstr ""
461
 
462
- #: ../admin/class-is-editor.php:760
463
  msgid "Exclude 'out of stock' WooCommerce products."
464
  msgstr ""
465
 
466
- #: ../admin/class-is-editor.php:777
467
  msgid "Exclude posts from the search created by slected authors."
468
  msgstr ""
469
 
470
- #: ../admin/class-is-editor.php:812
471
  msgid ""
472
  "Search has been already limited to posts created by specific authors in the "
473
  "Includes section."
474
  msgstr ""
475
 
476
- #: ../admin/class-is-editor.php:823
477
  msgid "Exclude posts from the search having selected post statuses."
478
  msgstr ""
479
 
480
- #: ../admin/class-is-editor.php:846
481
  msgid ""
482
  "Search has been already limited to posts statuses set in the Includes "
483
  "section."
484
  msgstr ""
485
 
486
- #: ../admin/class-is-editor.php:854
487
  msgid "Exclude sticky posts from search."
488
  msgstr ""
489
 
490
- #: ../admin/class-is-editor.php:868
491
  msgid ""
492
  "Exclude posts specially media attachment posts from the search having "
493
  "selected file types."
494
  msgstr ""
495
 
496
- #: ../admin/class-is-editor.php:889
497
  msgid ""
498
  "Search has been already limited to specific File type set in the Includes "
499
  "section."
500
  msgstr ""
501
 
502
- #: ../admin/class-is-editor.php:896
503
  msgid "Excluded File Types :"
504
  msgstr ""
505
 
506
- #: ../admin/class-is-editor.php:919
507
  msgid "Configure the options here to control search of this search form."
508
  msgstr ""
509
 
510
- #: ../admin/class-is-editor.php:926
511
  msgid "Posts Per Page"
512
  msgstr ""
513
 
514
- #: ../admin/class-is-editor.php:936
515
  msgid "Number of posts to display on search results page."
516
  msgstr ""
517
 
518
- #: ../admin/class-is-editor.php:945
519
  msgid "Order By"
520
  msgstr ""
521
 
522
- #: ../admin/class-is-editor.php:981
523
  msgid "Highlight Terms"
524
  msgstr ""
525
 
526
- #: ../admin/class-is-editor.php:991
527
  msgid "Highlight searched terms on search results page."
528
  msgstr ""
529
 
530
- #: ../admin/class-is-editor.php:997
531
  msgid "Set highlight color."
532
  msgstr ""
533
 
534
- #: ../admin/class-is-editor.php:1006
535
  msgid "Search Terms Relation"
536
  msgstr ""
537
 
538
- #: ../admin/class-is-editor.php:1013
539
  msgid "OR - Display content having any of the searched terms."
540
  msgstr ""
541
 
542
- #: ../admin/class-is-editor.php:1015
543
  msgid "AND - Display content having all the searched terms."
544
  msgstr ""
545
 
546
- #: ../admin/class-is-editor.php:1024
547
  msgid "Fuzzy Matching"
548
  msgstr ""
549
 
550
- #: ../admin/class-is-editor.php:1030
551
  msgid "Whole - Search posts that include the whole search term."
552
  msgstr ""
553
 
554
- #: ../admin/class-is-editor.php:1032
555
  msgid ""
556
  "Partial - Also search words in the posts that begins or ends with the search "
557
  "term."
558
  msgstr ""
559
 
560
- #: ../admin/class-is-editor.php:1041
561
  msgid "Keyword Stemming"
562
  msgstr ""
563
 
564
- #: ../admin/class-is-editor.php:1045
565
  msgid "Searches the base word of a searched keyword"
566
  msgstr ""
567
 
568
- #: ../admin/class-is-editor.php:1046
569
  msgid ""
570
  "For Example: If you search \"doing\" then it also searches base word of "
571
  "\"doing\" that is \"do\" in the specified post types."
572
  msgstr ""
573
 
574
- #: ../admin/class-is-editor.php:1047
575
  msgid ""
576
  "If you want to search whole exact searched term then do not use this options "
577
  "and in this case it is not recommended to use when Fuzzy Matching option is "
578
  "set to Whole."
579
  msgstr ""
580
 
581
- #: ../admin/class-is-editor.php:1053
582
  msgid "Also search base word of searched keyword."
583
  msgstr ""
584
 
585
- #: ../admin/class-is-editor.php:1055
586
  msgid "Not recommended to use when Fuzzy Matching option is set to Whole."
587
  msgstr ""
588
 
589
- #: ../admin/class-is-editor.php:1064
590
  msgid "Sticky Posts"
591
  msgstr ""
592
 
593
- #: ../admin/class-is-editor.php:1070
594
  msgid "Move sticky posts to the start of the search results page."
595
  msgstr ""
596
 
597
- #: ../admin/class-is-editor.php:1079
598
  msgid "Empty Search"
599
  msgstr ""
600
 
601
- #: ../admin/class-is-editor.php:1085
602
  msgid "Display an error for empty search query."
603
  msgstr ""
604
 
605
- #: ../admin/class-is-editor.php:1094
606
  msgid "Respect exclude_from_search"
607
  msgstr ""
608
 
609
- #: ../admin/class-is-editor.php:1100
610
  msgid "Do not search post types which are excluded from search."
611
  msgstr ""
612
 
613
- #: ../admin/class-is-editor.php:1109
614
  msgid "Demo"
615
  msgstr ""
616
 
617
- #: ../admin/class-is-editor.php:1115
618
  msgid "Display search form only for site administrator."
619
  msgstr ""
620
 
621
- #: ../admin/class-is-editor.php:1124 ../admin/class-is-settings-fields.php:147
622
  msgid "Disable"
623
  msgstr ""
624
 
625
- #: ../admin/class-is-editor.php:1130
626
  msgid "Disable this search form."
627
  msgstr ""
628
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Ivory Search\n"
4
+ "POT-Creation-Date: 2018-10-08 15:11+0530\n"
5
+ "PO-Revision-Date: 2018-10-08 15:11+0530\n"
6
  "Last-Translator: \n"
7
  "Language-Team: Ivory Search <admin@ivorysearch.com>\n"
8
  "Language: en_US\n"
142
  msgid "Post Types"
143
  msgstr ""
144
 
145
+ #: ../admin/class-is-editor.php:103 ../admin/class-is-editor.php:172
146
+ #: ../admin/class-is-editor.php:226 ../admin/class-is-editor.php:304
147
+ #: ../admin/class-is-editor.php:340 ../admin/class-is-editor.php:372
148
+ #: ../admin/class-is-editor.php:425 ../admin/class-is-editor.php:460
149
+ #: ../admin/class-is-editor.php:511 ../admin/class-is-editor.php:564
150
+ #: ../admin/class-is-editor.php:590 ../admin/class-is-editor.php:656
151
+ #: ../admin/class-is-editor.php:716 ../admin/class-is-editor.php:762
152
+ #: ../admin/class-is-editor.php:800 ../admin/class-is-editor.php:832
153
+ #: ../admin/class-is-editor.php:878 ../admin/class-is-editor.php:923
154
+ #: ../admin/class-is-editor.php:985 ../admin/class-is-editor.php:1004
155
+ #: ../admin/class-is-editor.php:1040 ../admin/class-is-editor.php:1065
156
+ #: ../admin/class-is-editor.php:1083 ../admin/class-is-editor.php:1100
157
+ #: ../admin/class-is-editor.php:1123 ../admin/class-is-editor.php:1138
158
+ #: ../admin/class-is-editor.php:1153 ../admin/class-is-editor.php:1168
159
+ #: ../admin/class-is-editor.php:1183 ../admin/class-is-settings-fields.php:117
160
  msgid "Expand All"
161
  msgstr ""
162
 
163
+ #: ../admin/class-is-editor.php:103 ../admin/class-is-editor.php:172
164
+ #: ../admin/class-is-editor.php:226 ../admin/class-is-editor.php:304
165
+ #: ../admin/class-is-editor.php:340 ../admin/class-is-editor.php:372
166
+ #: ../admin/class-is-editor.php:425 ../admin/class-is-editor.php:460
167
+ #: ../admin/class-is-editor.php:511 ../admin/class-is-editor.php:564
168
+ #: ../admin/class-is-editor.php:590 ../admin/class-is-editor.php:656
169
+ #: ../admin/class-is-editor.php:716 ../admin/class-is-editor.php:762
170
+ #: ../admin/class-is-editor.php:800 ../admin/class-is-editor.php:832
171
+ #: ../admin/class-is-editor.php:878 ../admin/class-is-editor.php:923
172
+ #: ../admin/class-is-editor.php:985 ../admin/class-is-editor.php:1004
173
+ #: ../admin/class-is-editor.php:1040 ../admin/class-is-editor.php:1065
174
+ #: ../admin/class-is-editor.php:1083 ../admin/class-is-editor.php:1100
175
+ #: ../admin/class-is-editor.php:1123 ../admin/class-is-editor.php:1138
176
+ #: ../admin/class-is-editor.php:1153 ../admin/class-is-editor.php:1168
177
+ #: ../admin/class-is-editor.php:1183 ../admin/class-is-settings-fields.php:117
178
  msgid "Collapse All"
179
  msgstr ""
180
 
207
  msgid "No post types registered on your site."
208
  msgstr ""
209
 
210
+ #: ../admin/class-is-editor.php:171 ../admin/class-is-editor.php:655
211
+ msgid "Posts"
212
+ msgstr ""
213
+
214
+ #: ../admin/class-is-editor.php:175 ../admin/class-is-editor.php:659
215
+ msgid "The posts and pages of searchable post types display here."
216
+ msgstr ""
217
+
218
+ #: ../admin/class-is-editor.php:176
219
+ msgid ""
220
+ "Select the specific posts you wish to search or do not select any posts to "
221
+ "make all posts searchable."
222
+ msgstr ""
223
+
224
+ #: ../admin/class-is-editor.php:177 ../admin/class-is-editor.php:661
225
+ msgid "Selected post types display in BOLD."
226
+ msgstr ""
227
+
228
+ #: ../admin/class-is-editor.php:211 ../admin/class-is-editor.php:258
229
+ #: ../admin/class-is-editor.php:317 ../admin/class-is-editor.php:604
230
+ #: ../admin/class-is-editor.php:698 ../admin/class-is-editor.php:740
231
+ #: ../admin/class-is-editor.php:776 ../admin/class-is-editor.php:936
232
+ msgid "Search.."
233
+ msgstr ""
234
+
235
+ #: ../admin/class-is-editor.php:220 ../admin/class-is-editor.php:267
236
+ #: ../admin/class-is-editor.php:324 ../admin/class-is-editor.php:612
237
+ #: ../admin/class-is-editor.php:707 ../admin/class-is-editor.php:749
238
+ #: ../admin/class-is-editor.php:784 ../admin/class-is-editor.php:944
239
+ msgid "Press CTRL key to select multiple terms or deselect them."
240
+ msgstr ""
241
+
242
+ #: ../admin/class-is-editor.php:225 ../admin/class-is-editor.php:715
243
  msgid "Taxonomy Terms"
244
  msgstr ""
245
 
246
+ #: ../admin/class-is-editor.php:230
247
  msgid ""
248
  "Taxonomy terms that have no posts will not be visible below. Add a post with "
249
  "the taxonomy you want for it to be configurable."
250
  msgstr ""
251
 
252
+ #: ../admin/class-is-editor.php:231
253
  msgid ""
254
  "Terms selected here will restrict the search to posts that have the selected "
255
  "terms."
256
  msgstr ""
257
 
258
+ #: ../admin/class-is-editor.php:232
259
  msgid "Taxonomy terms selected display in BOLD"
260
  msgstr ""
261
 
262
+ #: ../admin/class-is-editor.php:277
 
 
 
 
 
 
 
 
 
 
 
 
 
 
263
  msgid "AND - Search posts having all the above selected terms."
264
  msgstr ""
265
 
266
+ #: ../admin/class-is-editor.php:279
267
  msgid "OR - Search posts having any one of the above selected terms."
268
  msgstr ""
269
 
270
+ #: ../admin/class-is-editor.php:285
271
  msgid "Search in taxonomy terms title."
272
  msgstr ""
273
 
274
+ #: ../admin/class-is-editor.php:291
275
  msgid "Search in taxonomy terms description."
276
  msgstr ""
277
 
278
+ #: ../admin/class-is-editor.php:296 ../admin/class-is-editor.php:754
279
  msgid "No taxonomies registered for slected post types."
280
  msgstr ""
281
 
282
+ #: ../admin/class-is-editor.php:303 ../admin/class-is-editor.php:761
283
  msgid "Custom Fields"
284
  msgstr ""
285
 
286
+ #: ../admin/class-is-editor.php:307
287
  msgid "Select custom fields to make their values searchable."
288
  msgstr ""
289
 
290
+ #: ../admin/class-is-editor.php:328
291
  msgid "Selected Custom Fields :"
292
  msgstr ""
293
 
294
+ #: ../admin/class-is-editor.php:339 ../admin/class-is-editor.php:799
295
  msgid "WooCommerce"
296
  msgstr ""
297
 
298
+ #: ../admin/class-is-editor.php:343
299
  msgid "Configure WooCommerce products search options here."
300
  msgstr ""
301
 
302
+ #: ../admin/class-is-editor.php:355
303
  msgid "Search in WooCommerce products SKU."
304
  msgstr ""
305
 
306
+ #: ../admin/class-is-editor.php:361 ../admin/class-is-editor.php:821
307
  msgid "WooCommerce product post type is not included in search."
308
  msgstr ""
309
 
310
+ #: ../admin/class-is-editor.php:364 ../admin/class-is-editor.php:824
311
  msgid "Activate WooCommerce plugin to use this option."
312
  msgstr ""
313
 
314
+ #: ../admin/class-is-editor.php:371 ../admin/class-is-editor.php:831
315
  msgid "Authors"
316
  msgstr ""
317
 
318
+ #: ../admin/class-is-editor.php:375
319
  msgid "Make specific author posts searchable."
320
  msgstr ""
321
 
322
+ #: ../admin/class-is-editor.php:408
323
  msgid ""
324
  "Search has been already limited by excluding specific authors posts in the "
325
  "Excludes section."
326
  msgstr ""
327
 
328
+ #: ../admin/class-is-editor.php:416
329
  msgid ""
330
  "Search in author Display name and display the posts created by that author."
331
  msgstr ""
332
 
333
+ #: ../admin/class-is-editor.php:424 ../admin/class-is-editor.php:877
334
  msgid "Post Status"
335
  msgstr ""
336
 
337
+ #: ../admin/class-is-editor.php:428
338
  msgid "Configure options to search posts having specific post statuses."
339
  msgstr ""
340
 
341
+ #: ../admin/class-is-editor.php:452
342
  msgid ""
343
  "Search has been already limited by excluding specific posts statuses from "
344
  "search in the Excludes section."
345
  msgstr ""
346
 
347
+ #: ../admin/class-is-editor.php:459
348
  msgid "Comments"
349
  msgstr ""
350
 
351
+ #: ../admin/class-is-editor.php:464
352
  msgid "Make posts searchable that have a specific number of comments."
353
  msgstr ""
354
 
355
+ #: ../admin/class-is-editor.php:480
356
  msgid "The search operator to compare comments count."
357
  msgstr ""
358
 
359
+ #: ../admin/class-is-editor.php:487
360
  msgid "NA"
361
  msgstr ""
362
 
363
+ #: ../admin/class-is-editor.php:491
364
  msgid "The amount of comments your posts has to have."
365
  msgstr ""
366
 
367
+ #: ../admin/class-is-editor.php:501
368
  msgid "Search in approved comments content."
369
  msgstr ""
370
 
371
+ #: ../admin/class-is-editor.php:510 ../admin/class-is-list-table.php:34
372
  msgid "Date"
373
  msgstr ""
374
 
375
+ #: ../admin/class-is-editor.php:514
376
  msgid "Make posts searchable that were created in the specified date range."
377
  msgstr ""
378
 
379
+ #: ../admin/class-is-editor.php:527
380
  msgid "Day"
381
  msgstr ""
382
 
383
+ #: ../admin/class-is-editor.php:538
384
  msgid "Month"
385
  msgstr ""
386
 
387
+ #: ../admin/class-is-editor.php:549
388
  msgid "Year"
389
  msgstr ""
390
 
391
+ #: ../admin/class-is-editor.php:563
392
  msgid "Password"
393
  msgstr ""
394
 
395
+ #: ../admin/class-is-editor.php:567
396
  msgid "Configure options to search posts with or without password."
397
  msgstr ""
398
 
399
+ #: ../admin/class-is-editor.php:572
400
  msgid "Search all posts with and without passwords."
401
  msgstr ""
402
 
403
+ #: ../admin/class-is-editor.php:574
404
  msgid "Search only posts with passwords."
405
  msgstr ""
406
 
407
+ #: ../admin/class-is-editor.php:576
408
  msgid "Search only posts without passwords."
409
  msgstr ""
410
 
411
+ #: ../admin/class-is-editor.php:589 ../admin/class-is-editor.php:922
412
  msgid "File Types"
413
  msgstr ""
414
 
415
+ #: ../admin/class-is-editor.php:593
416
  msgid ""
417
  "Configure searching to search based on posts that have a specific MIME type "
418
  "or files that have specific media attachments"
419
  msgstr ""
420
 
421
+ #: ../admin/class-is-editor.php:615
422
  msgid ""
423
  "Search has been already limited by excluding specific File type in the "
424
  "Excludes section."
425
  msgstr ""
426
 
427
+ #: ../admin/class-is-editor.php:618 ../admin/class-is-editor.php:950
428
  msgid "Attachment post type is not included in search."
429
  msgstr ""
430
 
431
+ #: ../admin/class-is-editor.php:622
432
  msgid "Selected File Types :"
433
  msgstr ""
434
 
435
+ #: ../admin/class-is-editor.php:648
436
  msgid "Configure the options to exclude specific content from search."
437
  msgstr ""
438
 
439
+ #: ../admin/class-is-editor.php:660
 
 
 
 
 
 
 
 
440
  msgid "Select the posts you wish to exclude from the search."
441
  msgstr ""
442
 
443
+ #: ../admin/class-is-editor.php:709
444
+ msgid ""
445
+ "Search is already limited to specific posts selected in Includes section."
446
  msgstr ""
447
 
448
+ #: ../admin/class-is-editor.php:719
449
  msgid ""
450
  "The taxonomies and terms attached to searchable post types display here."
451
  msgstr ""
452
 
453
+ #: ../admin/class-is-editor.php:720
454
  msgid "Exclude posts from search results that have specific terms"
455
  msgstr ""
456
 
457
+ #: ../admin/class-is-editor.php:721
458
  msgid "Selected terms taxonomy title display in BOLD."
459
  msgstr ""
460
 
461
+ #: ../admin/class-is-editor.php:765
462
  msgid "Exclude posts from the search having selected custom fields."
463
  msgstr ""
464
 
465
+ #: ../admin/class-is-editor.php:788
466
  msgid "Excluded Custom Fields :"
467
  msgstr ""
468
 
469
+ #: ../admin/class-is-editor.php:803
470
  msgid "Exclude specific WooCommerce products from the search."
471
  msgstr ""
472
 
473
+ #: ../admin/class-is-editor.php:818
474
  msgid "Exclude 'out of stock' WooCommerce products."
475
  msgstr ""
476
 
477
+ #: ../admin/class-is-editor.php:835
478
  msgid "Exclude posts from the search created by slected authors."
479
  msgstr ""
480
 
481
+ #: ../admin/class-is-editor.php:870
482
  msgid ""
483
  "Search has been already limited to posts created by specific authors in the "
484
  "Includes section."
485
  msgstr ""
486
 
487
+ #: ../admin/class-is-editor.php:881
488
  msgid "Exclude posts from the search having selected post statuses."
489
  msgstr ""
490
 
491
+ #: ../admin/class-is-editor.php:904
492
  msgid ""
493
  "Search has been already limited to posts statuses set in the Includes "
494
  "section."
495
  msgstr ""
496
 
497
+ #: ../admin/class-is-editor.php:912
498
  msgid "Exclude sticky posts from search."
499
  msgstr ""
500
 
501
+ #: ../admin/class-is-editor.php:926
502
  msgid ""
503
  "Exclude posts specially media attachment posts from the search having "
504
  "selected file types."
505
  msgstr ""
506
 
507
+ #: ../admin/class-is-editor.php:947
508
  msgid ""
509
  "Search has been already limited to specific File type set in the Includes "
510
  "section."
511
  msgstr ""
512
 
513
+ #: ../admin/class-is-editor.php:954
514
  msgid "Excluded File Types :"
515
  msgstr ""
516
 
517
+ #: ../admin/class-is-editor.php:977
518
  msgid "Configure the options here to control search of this search form."
519
  msgstr ""
520
 
521
+ #: ../admin/class-is-editor.php:984
522
  msgid "Posts Per Page"
523
  msgstr ""
524
 
525
+ #: ../admin/class-is-editor.php:994
526
  msgid "Number of posts to display on search results page."
527
  msgstr ""
528
 
529
+ #: ../admin/class-is-editor.php:1003
530
  msgid "Order By"
531
  msgstr ""
532
 
533
+ #: ../admin/class-is-editor.php:1039
534
  msgid "Highlight Terms"
535
  msgstr ""
536
 
537
+ #: ../admin/class-is-editor.php:1049
538
  msgid "Highlight searched terms on search results page."
539
  msgstr ""
540
 
541
+ #: ../admin/class-is-editor.php:1055
542
  msgid "Set highlight color."
543
  msgstr ""
544
 
545
+ #: ../admin/class-is-editor.php:1064
546
  msgid "Search Terms Relation"
547
  msgstr ""
548
 
549
+ #: ../admin/class-is-editor.php:1071
550
  msgid "OR - Display content having any of the searched terms."
551
  msgstr ""
552
 
553
+ #: ../admin/class-is-editor.php:1073
554
  msgid "AND - Display content having all the searched terms."
555
  msgstr ""
556
 
557
+ #: ../admin/class-is-editor.php:1082
558
  msgid "Fuzzy Matching"
559
  msgstr ""
560
 
561
+ #: ../admin/class-is-editor.php:1088
562
  msgid "Whole - Search posts that include the whole search term."
563
  msgstr ""
564
 
565
+ #: ../admin/class-is-editor.php:1090
566
  msgid ""
567
  "Partial - Also search words in the posts that begins or ends with the search "
568
  "term."
569
  msgstr ""
570
 
571
+ #: ../admin/class-is-editor.php:1099
572
  msgid "Keyword Stemming"
573
  msgstr ""
574
 
575
+ #: ../admin/class-is-editor.php:1103
576
  msgid "Searches the base word of a searched keyword"
577
  msgstr ""
578
 
579
+ #: ../admin/class-is-editor.php:1104
580
  msgid ""
581
  "For Example: If you search \"doing\" then it also searches base word of "
582
  "\"doing\" that is \"do\" in the specified post types."
583
  msgstr ""
584
 
585
+ #: ../admin/class-is-editor.php:1105
586
  msgid ""
587
  "If you want to search whole exact searched term then do not use this options "
588
  "and in this case it is not recommended to use when Fuzzy Matching option is "
589
  "set to Whole."
590
  msgstr ""
591
 
592
+ #: ../admin/class-is-editor.php:1111
593
  msgid "Also search base word of searched keyword."
594
  msgstr ""
595
 
596
+ #: ../admin/class-is-editor.php:1113
597
  msgid "Not recommended to use when Fuzzy Matching option is set to Whole."
598
  msgstr ""
599
 
600
+ #: ../admin/class-is-editor.php:1122
601
  msgid "Sticky Posts"
602
  msgstr ""
603
 
604
+ #: ../admin/class-is-editor.php:1128
605
  msgid "Move sticky posts to the start of the search results page."
606
  msgstr ""
607
 
608
+ #: ../admin/class-is-editor.php:1137
609
  msgid "Empty Search"
610
  msgstr ""
611
 
612
+ #: ../admin/class-is-editor.php:1143
613
  msgid "Display an error for empty search query."
614
  msgstr ""
615
 
616
+ #: ../admin/class-is-editor.php:1152
617
  msgid "Respect exclude_from_search"
618
  msgstr ""
619
 
620
+ #: ../admin/class-is-editor.php:1158
621
  msgid "Do not search post types which are excluded from search."
622
  msgstr ""
623
 
624
+ #: ../admin/class-is-editor.php:1167
625
  msgid "Demo"
626
  msgstr ""
627
 
628
+ #: ../admin/class-is-editor.php:1173
629
  msgid "Display search form only for site administrator."
630
  msgstr ""
631
 
632
+ #: ../admin/class-is-editor.php:1182 ../admin/class-is-settings-fields.php:147
633
  msgid "Disable"
634
  msgstr ""
635
 
636
+ #: ../admin/class-is-editor.php:1188
637
  msgid "Disable this search form."
638
  msgstr ""
639
 
public/class-is-public.php CHANGED
@@ -483,6 +483,9 @@ class IS_Public
483
  foreach ( $temp as $inc_key => $inc_val ) {
484
  if ( is_array( $inc_val ) && !empty($inc_val) || '' !== $inc_val ) {
485
  switch ( $inc_key ) {
 
 
 
486
  case 'post_type':
487
 
488
  if ( !isset( $q['post_type'] ) || NULL == $q['post_type'] ) {
483
  foreach ( $temp as $inc_key => $inc_val ) {
484
  if ( is_array( $inc_val ) && !empty($inc_val) || '' !== $inc_val ) {
485
  switch ( $inc_key ) {
486
+ case 'post__in':
487
+ $query->set( $inc_key, array_values( $inc_val ) );
488
+ break;
489
  case 'post_type':
490
 
491
  if ( !isset( $q['post_type'] ) || NULL == $q['post_type'] ) {
readme.txt CHANGED
@@ -1,11 +1,11 @@
1
  === Ivory Search - WordPress Search Plugin ===
2
- Contributors: ivorysearch, vinod dalvi, jack-kitterhing
3
  Donate link: https://ivorysearch.com/pricing/
4
  Tags: search, search menu, woocommerce search, search plugin, search shortcode, search widget, exclude from search, custom search, search by post type, search by category, relevant search, search forms
5
  Requires at least: 3.9
6
  Tested up to: 4.9
7
  Requires PHP: 5.2.4
8
- Stable tag: 4.1.2
9
  License: GPLv2 or later
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -177,6 +177,9 @@ Yes we do. We try our best to help free users with customisation requests and we
177
 
178
  == Changelog ==
179
 
 
 
 
180
  = 4.1.2 =
181
  * Menu search post types can be managed now from search form post types option.
182
 
1
  === Ivory Search - WordPress Search Plugin ===
2
+ Contributors: ivorysearch, vinod dalvi
3
  Donate link: https://ivorysearch.com/pricing/
4
  Tags: search, search menu, woocommerce search, search plugin, search shortcode, search widget, exclude from search, custom search, search by post type, search by category, relevant search, search forms
5
  Requires at least: 3.9
6
  Tested up to: 4.9
7
  Requires PHP: 5.2.4
8
+ Stable tag: 4.1.3
9
  License: GPLv2 or later
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
177
 
178
  == Changelog ==
179
 
180
+ = 4.1.3 =
181
+ * Developed option to search specific posts, pages or custom post types.
182
+
183
  = 4.1.2 =
184
  * Menu search post types can be managed now from search form post types option.
185