Version Description
- Update stopwords list
- Add search box layout options
Download this release
Release Info
Developer | Mihail Barinov |
Plugin | Advanced Woo Search |
Version | 1.56 |
Comparing to | |
See all releases |
Code changes from version 1.55 to 1.56
- advanced-woo-search.php +2 -2
- assets/css/admin.css +47 -0
- assets/css/common.css +94 -3
- assets/img/btn-layout1.png +0 -0
- assets/img/btn-layout2.png +0 -0
- assets/img/btn-layout3.png +0 -0
- assets/js/common.js +8 -0
- includes/class-aws-admin.php +17 -0
- includes/class-aws-markup.php +32 -13
- includes/class-aws-versions.php +14 -1
- includes/options.php +15 -2
- languages/aws.pot +9 -0
- readme.txt +6 -2
advanced-woo-search.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
/*
|
4 |
Plugin Name: Advanced Woo Search
|
5 |
Description: Advance ajax WooCommerce product search.
|
6 |
-
Version: 1.
|
7 |
Author: ILLID
|
8 |
Author URI: https://advanced-woo-search.com/
|
9 |
Text Domain: aws
|
@@ -16,7 +16,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
16 |
exit;
|
17 |
}
|
18 |
|
19 |
-
define( 'AWS_VERSION', '1.
|
20 |
|
21 |
|
22 |
define( 'AWS_DIR', dirname( __FILE__ ) );
|
3 |
/*
|
4 |
Plugin Name: Advanced Woo Search
|
5 |
Description: Advance ajax WooCommerce product search.
|
6 |
+
Version: 1.56
|
7 |
Author: ILLID
|
8 |
Author URI: https://advanced-woo-search.com/
|
9 |
Text Domain: aws
|
16 |
exit;
|
17 |
}
|
18 |
|
19 |
+
define( 'AWS_VERSION', '1.56' );
|
20 |
|
21 |
|
22 |
define( 'AWS_DIR', dirname( __FILE__ ) );
|
assets/css/admin.css
CHANGED
@@ -87,6 +87,53 @@
|
|
87 |
display: inline-block;
|
88 |
}
|
89 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
/* Premium tab */
|
91 |
#aws_form .b-compare .column {
|
92 |
width: 50%;
|
87 |
display: inline-block;
|
88 |
}
|
89 |
|
90 |
+
/* Image select option */
|
91 |
+
#aws_form .img-select {
|
92 |
+
position: relative;
|
93 |
+
font-size: 0;
|
94 |
+
list-style: none;
|
95 |
+
max-width: 400px;
|
96 |
+
}
|
97 |
+
|
98 |
+
#aws_form .img-select .option {
|
99 |
+
display: block;
|
100 |
+
position: relative;
|
101 |
+
vertical-align: top;
|
102 |
+
height: 36px;
|
103 |
+
width: 400px;
|
104 |
+
margin: 0 0 16px;
|
105 |
+
}
|
106 |
+
|
107 |
+
#aws_form .img-select .option input {
|
108 |
+
width: 100%;
|
109 |
+
height: 100%;
|
110 |
+
position: absolute;
|
111 |
+
left: 0;
|
112 |
+
top: 0;
|
113 |
+
z-index: 2;
|
114 |
+
cursor: pointer;
|
115 |
+
opacity: 0;
|
116 |
+
}
|
117 |
+
#aws_form .img-select .option input:before,
|
118 |
+
#aws_form .img-select .option input:checked:before{
|
119 |
+
display: none;
|
120 |
+
}
|
121 |
+
|
122 |
+
#aws_form .img-select .option .ico {
|
123 |
+
display: block;
|
124 |
+
width: 100%;
|
125 |
+
height: 100%;
|
126 |
+
margin: 0 auto;
|
127 |
+
background-size: contain !important;
|
128 |
+
border:2px solid transparent;
|
129 |
+
border-radius: 5px;
|
130 |
+
}
|
131 |
+
|
132 |
+
#aws_form .img-select .option input:checked + .ico {
|
133 |
+
border-color: rgba(0,0,0,0.6);
|
134 |
+
}
|
135 |
+
|
136 |
+
|
137 |
/* Premium tab */
|
138 |
#aws_form .b-compare .column {
|
139 |
width: 50%;
|
assets/css/common.css
CHANGED
@@ -2,6 +2,14 @@
|
|
2 |
position: relative;
|
3 |
width: 100%;
|
4 |
float: none !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
}
|
6 |
|
7 |
.aws-container .aws-search-form * {
|
@@ -22,6 +30,14 @@
|
|
22 |
height: 20px;
|
23 |
}
|
24 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
.aws-container .aws-search-form .aws-loader {
|
26 |
position: absolute;
|
27 |
display: none;
|
@@ -70,9 +86,7 @@
|
|
70 |
}
|
71 |
|
72 |
|
73 |
-
|
74 |
.aws-container .aws-search-field {
|
75 |
-
height: 44px;
|
76 |
width: 100%;
|
77 |
color: #313131;
|
78 |
padding: 6px;
|
@@ -81,8 +95,11 @@
|
|
81 |
font-size: 12px;
|
82 |
position: relative;
|
83 |
z-index: 2;
|
84 |
-
background: rgb(247, 247, 247);
|
85 |
-webkit-appearance: none;
|
|
|
|
|
|
|
|
|
86 |
}
|
87 |
|
88 |
.aws-container .aws-search-field::-ms-clear {
|
@@ -134,6 +151,80 @@
|
|
134 |
}
|
135 |
|
136 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
137 |
|
138 |
.aws-search-result {
|
139 |
position: absolute;
|
2 |
position: relative;
|
3 |
width: 100%;
|
4 |
float: none !important;
|
5 |
+
|
6 |
+
display: -webkit-box;
|
7 |
+
display: -moz-box;
|
8 |
+
display: -ms-flexbox;
|
9 |
+
display: -webkit-flex;
|
10 |
+
display: flex;
|
11 |
+
align-items: stretch;
|
12 |
+
height: 44px;
|
13 |
}
|
14 |
|
15 |
.aws-container .aws-search-form * {
|
30 |
height: 20px;
|
31 |
}
|
32 |
|
33 |
+
.aws-container .aws-search-form .aws-wrapper {
|
34 |
+
flex-grow: 1;
|
35 |
+
position: relative;
|
36 |
+
vertical-align: top;
|
37 |
+
padding: 0;
|
38 |
+
width: 100%;
|
39 |
+
}
|
40 |
+
|
41 |
.aws-container .aws-search-form .aws-loader {
|
42 |
position: absolute;
|
43 |
display: none;
|
86 |
}
|
87 |
|
88 |
|
|
|
89 |
.aws-container .aws-search-field {
|
|
|
90 |
width: 100%;
|
91 |
color: #313131;
|
92 |
padding: 6px;
|
95 |
font-size: 12px;
|
96 |
position: relative;
|
97 |
z-index: 2;
|
|
|
98 |
-webkit-appearance: none;
|
99 |
+
height: 100%;
|
100 |
+
margin: 0 !important;
|
101 |
+
border: 1px solid #d8d8d8;
|
102 |
+
outline: 0;
|
103 |
}
|
104 |
|
105 |
.aws-container .aws-search-field::-ms-clear {
|
151 |
}
|
152 |
|
153 |
|
154 |
+
/* Search button */
|
155 |
+
.aws-container .aws-search-form .aws-search-btn {
|
156 |
+
padding: 0;
|
157 |
+
line-height: 10px;
|
158 |
+
width: 42px;
|
159 |
+
}
|
160 |
+
|
161 |
+
.aws-container .aws-search-form .aws-search-btn_icon {
|
162 |
+
display: inline-block;
|
163 |
+
fill: currentColor;
|
164 |
+
height: 24px;
|
165 |
+
line-height: 24px;
|
166 |
+
position: relative;
|
167 |
+
width: 42px;
|
168 |
+
color: #555;
|
169 |
+
}
|
170 |
+
|
171 |
+
.aws-container .aws-search-form .aws-search-btn svg {
|
172 |
+
display: block;
|
173 |
+
height: 100%;
|
174 |
+
width: 100%;
|
175 |
+
}
|
176 |
+
|
177 |
+
.aws-container[data-show-page="false"] .aws-search-form .aws-search-btn:hover {
|
178 |
+
background: #ededed;
|
179 |
+
cursor: default;
|
180 |
+
}
|
181 |
+
|
182 |
+
|
183 |
+
/* Form buttons */
|
184 |
+
.aws-container .aws-search-form .aws-form-btn {
|
185 |
+
display: -webkit-box;
|
186 |
+
display: -moz-box;
|
187 |
+
display: -ms-flexbox;
|
188 |
+
display: -webkit-flex;
|
189 |
+
display: flex;
|
190 |
+
justify-content: center;
|
191 |
+
flex-direction: column;
|
192 |
+
text-align: center;
|
193 |
+
|
194 |
+
background: #ededed;
|
195 |
+
border: 1px solid #d8d8d8;
|
196 |
+
/*border-left: none;*/
|
197 |
+
margin: 0 0 0 -1px;
|
198 |
+
cursor: pointer;
|
199 |
+
position: relative;
|
200 |
+
white-space: nowrap;
|
201 |
+
|
202 |
+
-moz-user-select: none;
|
203 |
+
-ms-user-select: none;
|
204 |
+
user-select: none;
|
205 |
+
|
206 |
+
-webkit-transition: background-color 100ms ease-in-out;
|
207 |
+
-moz-transition: background-color 100ms ease-in-out;
|
208 |
+
-o-transition: background-color 100ms ease-in-out;
|
209 |
+
transition: background-color 100ms ease-in-out;
|
210 |
+
}
|
211 |
+
.aws-container .aws-search-form .aws-form-btn:hover {
|
212 |
+
background: #dcdcdc;
|
213 |
+
}
|
214 |
+
.aws-container .aws-search-form .aws-form-btn:active {
|
215 |
+
background: #d8d8d8;
|
216 |
+
}
|
217 |
+
|
218 |
+
|
219 |
+
/* Form buttons layouts */
|
220 |
+
.aws-container[data-buttons-order="3"] .aws-search-form .aws-wrapper{
|
221 |
+
-webkit-order: 2;
|
222 |
+
order: 2;
|
223 |
+
}
|
224 |
+
|
225 |
+
.aws-container[data-buttons-order="3"] .aws-search-form .aws-search-btn{
|
226 |
+
margin: 0 -1px 0 0;
|
227 |
+
}
|
228 |
|
229 |
.aws-search-result {
|
230 |
position: absolute;
|
assets/img/btn-layout1.png
ADDED
Binary file
|
assets/img/btn-layout2.png
ADDED
Binary file
|
assets/img/btn-layout3.png
ADDED
Binary file
|
assets/js/common.js
CHANGED
@@ -325,6 +325,7 @@
|
|
325 |
var self = $(this),
|
326 |
$searchForm = self.find('.aws-search-form'),
|
327 |
$searchField = self.find('.aws-search-field'),
|
|
|
328 |
haveResults = false,
|
329 |
requests = Array(),
|
330 |
searchFor = '',
|
@@ -385,6 +386,13 @@
|
|
385 |
});
|
386 |
|
387 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
388 |
$searchForm.find('.aws-search-clear').on( 'click', function (e) {
|
389 |
$searchField.val('');
|
390 |
$searchField.focus();
|
325 |
var self = $(this),
|
326 |
$searchForm = self.find('.aws-search-form'),
|
327 |
$searchField = self.find('.aws-search-field'),
|
328 |
+
$searchButton = self.find('.aws-search-btn'),
|
329 |
haveResults = false,
|
330 |
requests = Array(),
|
331 |
searchFor = '',
|
386 |
});
|
387 |
|
388 |
|
389 |
+
$searchButton.on( 'click', function (e) {
|
390 |
+
if ( d.showPage ) {
|
391 |
+
$searchForm.submit();
|
392 |
+
}
|
393 |
+
});
|
394 |
+
|
395 |
+
|
396 |
$searchForm.find('.aws-search-clear').on( 'click', function (e) {
|
397 |
$searchField.val('');
|
398 |
$searchField.focus();
|
includes/class-aws-admin.php
CHANGED
@@ -285,6 +285,23 @@ class AWS_Admin {
|
|
285 |
</tr>
|
286 |
<?php break;
|
287 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
288 |
case 'sortable': ?>
|
289 |
<tr valign="top">
|
290 |
<th scope="row"><?php echo $value['name']; ?></th>
|
285 |
</tr>
|
286 |
<?php break;
|
287 |
|
288 |
+
case 'radio-image': ?>
|
289 |
+
<tr valign="top">
|
290 |
+
<th scope="row"><?php echo $value['name']; ?></th>
|
291 |
+
<td>
|
292 |
+
<ul class="img-select">
|
293 |
+
<?php foreach ( $value['choices'] as $val => $img ) { ?>
|
294 |
+
<li class="option">
|
295 |
+
<input class="radio" type="radio" name="<?php echo $value['id']; ?>" id="<?php echo $value['id'].$val; ?>" value="<?php echo $val; ?>" <?php checked( $plugin_options[ $value['id'] ], $val ); ?>>
|
296 |
+
<span class="ico" style="background: url('<?php echo AWS_URL . '/assets/img/' . $img; ?>') no-repeat 50% 50%;"></span>
|
297 |
+
</li>
|
298 |
+
<?php } ?>
|
299 |
+
</ul>
|
300 |
+
<br><span class="description"><?php echo $value['desc']; ?></span>
|
301 |
+
</td>
|
302 |
+
</tr>
|
303 |
+
<?php break;
|
304 |
+
|
305 |
case 'sortable': ?>
|
306 |
<tr valign="top">
|
307 |
<th scope="row"><?php echo $value['name']; ?></th>
|
includes/class-aws-markup.php
CHANGED
@@ -33,6 +33,7 @@ if ( ! class_exists( 'AWS_Markup' ) ) :
|
|
33 |
$show_page = AWS()->get_settings( 'show_page' );
|
34 |
$show_clear = AWS()->get_settings( 'show_clear' );
|
35 |
$use_analytics = AWS()->get_settings( 'use_analytics' );
|
|
|
36 |
|
37 |
$current_lang = AWS_Helpers::get_lang();
|
38 |
|
@@ -56,6 +57,7 @@ if ( ! class_exists( 'AWS_Markup' ) ) :
|
|
56 |
'data-show-clear' => $show_clear,
|
57 |
'data-use-analytics' => $use_analytics,
|
58 |
'data-min-chars' => $min_chars,
|
|
|
59 |
);
|
60 |
|
61 |
foreach( $params as $key => $value ) {
|
@@ -65,25 +67,42 @@ if ( ! class_exists( 'AWS_Markup' ) ) :
|
|
65 |
$markup = '';
|
66 |
$markup .= '<div class="aws-container" ' . $params_string . '>';
|
67 |
$markup .= '<form class="aws-search-form" action="' . home_url('/') . '" method="get" role="search" >';
|
68 |
-
$markup .= '<input type="text" name="s" value="' . get_search_query() . '" class="aws-search-field" placeholder="' . $placeholder . '" autocomplete="off" />';
|
69 |
-
$markup .= '<input type="hidden" name="post_type" value="product">';
|
70 |
-
$markup .= '<input type="hidden" name="type_aws" value="true">';
|
71 |
|
72 |
-
|
73 |
-
|
74 |
-
|
|
|
|
|
75 |
|
76 |
-
|
77 |
-
|
78 |
-
|
|
|
|
|
|
|
|
|
|
|
79 |
}
|
80 |
-
}
|
81 |
|
82 |
-
|
83 |
-
|
|
|
|
|
|
|
|
|
84 |
$markup .= '</div>';
|
85 |
|
86 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
|
88 |
$markup .= '</form>';
|
89 |
$markup .= '</div>';
|
33 |
$show_page = AWS()->get_settings( 'show_page' );
|
34 |
$show_clear = AWS()->get_settings( 'show_clear' );
|
35 |
$use_analytics = AWS()->get_settings( 'use_analytics' );
|
36 |
+
$buttons_order = AWS()->get_settings( 'buttons_order' );
|
37 |
|
38 |
$current_lang = AWS_Helpers::get_lang();
|
39 |
|
57 |
'data-show-clear' => $show_clear,
|
58 |
'data-use-analytics' => $use_analytics,
|
59 |
'data-min-chars' => $min_chars,
|
60 |
+
'data-buttons-order' => $buttons_order,
|
61 |
);
|
62 |
|
63 |
foreach( $params as $key => $value ) {
|
67 |
$markup = '';
|
68 |
$markup .= '<div class="aws-container" ' . $params_string . '>';
|
69 |
$markup .= '<form class="aws-search-form" action="' . home_url('/') . '" method="get" role="search" >';
|
|
|
|
|
|
|
70 |
|
71 |
+
$markup .= '<div class="aws-wrapper">';
|
72 |
+
|
73 |
+
$markup .= '<input type="text" name="s" value="' . get_search_query() . '" class="aws-search-field" placeholder="' . $placeholder . '" autocomplete="off" />';
|
74 |
+
$markup .= '<input type="hidden" name="post_type" value="product">';
|
75 |
+
$markup .= '<input type="hidden" name="type_aws" value="true">';
|
76 |
|
77 |
+
if ( $current_lang ) {
|
78 |
+
$markup .= '<input type="hidden" name="lang" value="' . $current_lang . '">';
|
79 |
+
}
|
80 |
+
|
81 |
+
if ( $url_query_parts ) {
|
82 |
+
foreach( $url_query_parts as $url_query_key => $url_query_value ) {
|
83 |
+
$markup .= '<input type="hidden" name="' . $url_query_key . '" value="' . $url_query_value . '">';
|
84 |
+
}
|
85 |
}
|
|
|
86 |
|
87 |
+
$markup .= '<div class="aws-search-clear">';
|
88 |
+
$markup .= '<span aria-label="Clear Search">×</span>';
|
89 |
+
$markup .= '</div>';
|
90 |
+
|
91 |
+
$markup .= '<div class="aws-loader"></div>';
|
92 |
+
|
93 |
$markup .= '</div>';
|
94 |
|
95 |
+
if ( $buttons_order && $buttons_order !== '1' ) {
|
96 |
+
|
97 |
+
$markup .= '<div class="aws-search-btn aws-form-btn">';
|
98 |
+
$markup .= '<span class="aws-search-btn_icon">';
|
99 |
+
$markup .= '<svg focusable="false" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">';
|
100 |
+
$markup .= '<path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"></path>';
|
101 |
+
$markup .= '</svg>';
|
102 |
+
$markup .= '</span>';
|
103 |
+
$markup .= '</div>';
|
104 |
+
|
105 |
+
}
|
106 |
|
107 |
$markup .= '</form>';
|
108 |
$markup .= '</div>';
|
includes/class-aws-versions.php
CHANGED
@@ -98,7 +98,7 @@ if ( ! class_exists( 'AWS_Versions' ) ) :
|
|
98 |
|
99 |
if ( $settings ) {
|
100 |
if ( ! isset( $settings['stopwords'] ) ) {
|
101 |
-
$settings['stopwords'] = 'a,
|
102 |
update_option( 'aws_settings', $settings );
|
103 |
}
|
104 |
}
|
@@ -231,6 +231,19 @@ if ( ! class_exists( 'AWS_Versions' ) ) :
|
|
231 |
|
232 |
}
|
233 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
234 |
}
|
235 |
|
236 |
update_option( 'aws_plugin_ver', AWS_VERSION );
|
98 |
|
99 |
if ( $settings ) {
|
100 |
if ( ! isset( $settings['stopwords'] ) ) {
|
101 |
+
$settings['stopwords'] = 'a, also, am, an, and, are, as, at, be, but, by, call, can, co, con, de, do, due, eg, eight, etc, even, ever, every, for, from, full, go, had, has, hasnt, have, he, hence, her, here, his, how, ie, if, in, inc, into, is, it, its, ltd, me, my, no, none, nor, not, now, of, off, on, once, one, only, onto, or, our, ours, out, over, own, part, per, put, re, see, so, some, ten, than, that, the, their, there, these, they, this, three, thru, thus, to, too, top, un, up, us, very, via, was, we, well, were, what, when, where, who, why, will';
|
102 |
update_option( 'aws_settings', $settings );
|
103 |
}
|
104 |
}
|
231 |
|
232 |
}
|
233 |
|
234 |
+
if ( version_compare( $current_version, '1.56', '<' ) ) {
|
235 |
+
|
236 |
+
$settings = get_option( 'aws_settings' );
|
237 |
+
|
238 |
+
if ( $settings ) {
|
239 |
+
if ( ! isset( $settings['buttons_order'] ) ) {
|
240 |
+
$settings['buttons_order'] = '1';
|
241 |
+
update_option( 'aws_settings', $settings );
|
242 |
+
}
|
243 |
+
}
|
244 |
+
|
245 |
+
}
|
246 |
+
|
247 |
}
|
248 |
|
249 |
update_option( 'aws_plugin_ver', AWS_VERSION );
|
includes/options.php
CHANGED
@@ -59,7 +59,7 @@ $options['general'][] = array(
|
|
59 |
"name" => __( "Stop words list", "aws" ),
|
60 |
"desc" => __( "Comma separated list of words that will be excluded from search.", "aws" ) . '<br>' . __( "Re-index required on change.", "aws" ),
|
61 |
"id" => "stopwords",
|
62 |
-
"value" => "a,
|
63 |
"type" => "textarea"
|
64 |
);
|
65 |
|
@@ -157,8 +157,21 @@ $options['form'][] = array(
|
|
157 |
)
|
158 |
);
|
159 |
|
160 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
161 |
|
|
|
162 |
|
163 |
$options['results'][] = array(
|
164 |
"name" => __( "Description source", "aws" ),
|
59 |
"name" => __( "Stop words list", "aws" ),
|
60 |
"desc" => __( "Comma separated list of words that will be excluded from search.", "aws" ) . '<br>' . __( "Re-index required on change.", "aws" ),
|
61 |
"id" => "stopwords",
|
62 |
+
"value" => "a, also, am, an, and, are, as, at, be, but, by, call, can, co, con, de, do, due, eg, eight, etc, even, ever, every, for, from, full, go, had, has, hasnt, have, he, hence, her, here, his, how, ie, if, in, inc, into, is, it, its, ltd, me, my, no, none, nor, not, now, of, off, on, once, one, only, onto, or, our, ours, out, over, own, part, per, put, re, see, so, some, ten, than, that, the, their, there, these, they, this, three, thru, thus, to, too, top, un, up, us, very, via, was, we, well, were, what, when, where, who, why, will",
|
63 |
"type" => "textarea"
|
64 |
);
|
65 |
|
157 |
)
|
158 |
);
|
159 |
|
160 |
+
$options['form'][] = array(
|
161 |
+
"name" => __( "Form Styling", "aws" ),
|
162 |
+
"desc" => __( "Choose search form layout", "aws" ) . '<br>' . __( "Filter button will be visible only if you have more than one active filter for current search form instance.", "aws" ),
|
163 |
+
"id" => "buttons_order",
|
164 |
+
"value" => '1',
|
165 |
+
"type" => "radio-image",
|
166 |
+
'choices' => array(
|
167 |
+
'1' => 'btn-layout1.png',
|
168 |
+
'2' => 'btn-layout2.png',
|
169 |
+
'3' => 'btn-layout3.png',
|
170 |
+
)
|
171 |
+
);
|
172 |
+
|
173 |
|
174 |
+
// Search Results Settings
|
175 |
|
176 |
$options['results'][] = array(
|
177 |
"name" => __( "Description source", "aws" ),
|
languages/aws.pot
CHANGED
@@ -247,6 +247,15 @@ msgstr ""
|
|
247 |
msgid "Only search results page ( no ajax search results )"
|
248 |
msgstr ""
|
249 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
250 |
#: includes/options.php:49
|
251 |
msgid "Show image"
|
252 |
msgstr ""
|
247 |
msgid "Only search results page ( no ajax search results )"
|
248 |
msgstr ""
|
249 |
|
250 |
+
msgid "Form Styling"
|
251 |
+
msgstr ""
|
252 |
+
|
253 |
+
msgid "Choose search form layout"
|
254 |
+
msgstr ""
|
255 |
+
|
256 |
+
msgid "Filter button will be visible only if you have more than one active filter for current search form instance."
|
257 |
+
msgstr ""
|
258 |
+
|
259 |
#: includes/options.php:49
|
260 |
msgid "Show image"
|
261 |
msgstr ""
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: Mihail Barinov
|
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=GSE37FC4Y7CEY
|
4 |
Tags: widget, plugin, woocommerce, search, product search, woocommerce search, ajax search, live search, custom search, ajax, shortcode, better search, relevance search, relevant search, search by sku, search plugin, shop, store, wordpress search, wp ajax search, wp search, wp search plugin, sidebar, ecommerce, merketing, products, category search, instant-search, search highlight, woocommerce advanced search, woocommerce live search, WooCommerce Plugin, woocommerce product search
|
5 |
Requires at least: 4.0
|
6 |
-
Tested up to:
|
7 |
-
Stable tag: 1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -101,6 +101,10 @@ Yep. This plugin is always compatible with the latest version of Woocommerce?
|
|
101 |
|
102 |
== Changelog ==
|
103 |
|
|
|
|
|
|
|
|
|
104 |
= 1.55 =
|
105 |
* Update search behavior on text paste
|
106 |
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=GSE37FC4Y7CEY
|
4 |
Tags: widget, plugin, woocommerce, search, product search, woocommerce search, ajax search, live search, custom search, ajax, shortcode, better search, relevance search, relevant search, search by sku, search plugin, shop, store, wordpress search, wp ajax search, wp search, wp search plugin, sidebar, ecommerce, merketing, products, category search, instant-search, search highlight, woocommerce advanced search, woocommerce live search, WooCommerce Plugin, woocommerce product search
|
5 |
Requires at least: 4.0
|
6 |
+
Tested up to: 5.0
|
7 |
+
Stable tag: 1.56
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
101 |
|
102 |
== Changelog ==
|
103 |
|
104 |
+
= 1.56 =
|
105 |
+
* Update stopwords list
|
106 |
+
* Add search box layout options
|
107 |
+
|
108 |
= 1.55 =
|
109 |
* Update search behavior on text paste
|
110 |
|