Version Description
( 2021-07-05 ) = * Update - Plugin settings page * Dev - Add aws_create_index_table_sql filter
Download this release
Release Info
Developer | Mihail Barinov |
Plugin | Advanced Woo Search |
Version | 2.31 |
Comparing to | |
See all releases |
Code changes from version 2.30 to 2.31
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: 2.
|
7 |
Author: ILLID
|
8 |
Author URI: https://advanced-woo-search.com/
|
9 |
Text Domain: advanced-woo-search
|
@@ -96,7 +96,7 @@ final class AWS_Main {
|
|
96 |
*/
|
97 |
private function define_constants() {
|
98 |
|
99 |
-
$this->define( 'AWS_VERSION', '2.
|
100 |
|
101 |
$this->define( 'AWS_DIR', plugin_dir_path( AWS_FILE ) );
|
102 |
$this->define( 'AWS_URL', plugin_dir_url( AWS_FILE ) );
|
3 |
/*
|
4 |
Plugin Name: Advanced Woo Search
|
5 |
Description: Advance ajax WooCommerce product search.
|
6 |
+
Version: 2.31
|
7 |
Author: ILLID
|
8 |
Author URI: https://advanced-woo-search.com/
|
9 |
Text Domain: advanced-woo-search
|
96 |
*/
|
97 |
private function define_constants() {
|
98 |
|
99 |
+
$this->define( 'AWS_VERSION', '2.31' );
|
100 |
|
101 |
$this->define( 'AWS_DIR', plugin_dir_path( AWS_FILE ) );
|
102 |
$this->define( 'AWS_URL', plugin_dir_url( AWS_FILE ) );
|
assets/css/admin.css
CHANGED
@@ -170,7 +170,7 @@
|
|
170 |
|
171 |
#aws_form .description.activation {
|
172 |
font-size: 14px;
|
173 |
-
line-height: 1.
|
174 |
font-style: normal;
|
175 |
}
|
176 |
|
170 |
|
171 |
#aws_form .description.activation {
|
172 |
font-size: 14px;
|
173 |
+
line-height: 1.6;
|
174 |
font-style: normal;
|
175 |
}
|
176 |
|
includes/admin/class-aws-admin-meta-boxes.php
CHANGED
@@ -25,18 +25,18 @@ if ( ! class_exists( 'AWS_Admin_Meta_Boxes' ) ) :
|
|
25 |
$html .= '<tr id="activation">';
|
26 |
|
27 |
$html .= '<th>' . esc_html__( 'Activation', 'advanced-woo-search' ) . '</th>';
|
28 |
-
$html .=
|
29 |
-
$html .=
|
30 |
$html .= esc_html__( 'In case you need to add plugin search form on your website, you can do it in several ways:', 'advanced-woo-search' ) . '<br>';
|
31 |
-
$html .=
|
32 |
-
$html .=
|
33 |
-
$html .=
|
34 |
-
$html .=
|
35 |
-
$html .=
|
36 |
-
$html .=
|
37 |
-
$html .=
|
38 |
-
$html .=
|
39 |
-
|
40 |
$html .= '</tr>';
|
41 |
|
42 |
$html .= '<tr>';
|
25 |
$html .= '<tr id="activation">';
|
26 |
|
27 |
$html .= '<th>' . esc_html__( 'Activation', 'advanced-woo-search' ) . '</th>';
|
28 |
+
$html .='<td>';
|
29 |
+
$html .='<div class="description activation">';
|
30 |
$html .= esc_html__( 'In case you need to add plugin search form on your website, you can do it in several ways:', 'advanced-woo-search' ) . '<br>';
|
31 |
+
$html .='<div class="list">';
|
32 |
+
$html .='1. ' . sprintf(esc_html__( "Enable a %s option ( may not work with some themes )", 'advanced-woo-search' ), '<a href="#main">' . __( 'Seamless integration', 'advanced-woo-search' ) . '</a>' ) . '<br>';
|
33 |
+
$html .='2. ' . sprintf( esc_html__( 'Using shortcode %s', 'advanced-woo-search' ), '<code>[aws_search_form]</code>' ) . '<br>';
|
34 |
+
$html .='3. ' . sprintf( esc_html__( "Add search form as a widget. Go to %s and drag&drop 'AWS Widget' to one of your widget areas", 'advanced-woo-search' ), '<a href="' . admin_url( 'widgets.php' ) . '" target="_blank">' . __( 'Widgets Screen', 'advanced-woo-search' ) . '</a>' ) . '<br>';
|
35 |
+
$html .='4. ' . sprintf( esc_html__( 'Add PHP code to the necessary files of your theme: %s', 'advanced-woo-search' ), "<code><?php aws_get_search_form( true ); ?></code>" ) . '<br>';
|
36 |
+
$html .='</div>';
|
37 |
+
$html .='</div>';
|
38 |
+
$html .='</td>';
|
39 |
+
|
40 |
$html .= '</tr>';
|
41 |
|
42 |
$html .= '<tr>';
|
includes/admin/class-aws-admin-options.php
CHANGED
@@ -184,6 +184,7 @@ if ( ! class_exists( 'AWS_Admin_Options' ) ) :
|
|
184 |
|
185 |
$options['general'][] = array(
|
186 |
"name" => __( "Main Settings", "advanced-woo-search" ),
|
|
|
187 |
"type" => "heading"
|
188 |
);
|
189 |
|
184 |
|
185 |
$options['general'][] = array(
|
186 |
"name" => __( "Main Settings", "advanced-woo-search" ),
|
187 |
+
"id" => "main",
|
188 |
"type" => "heading"
|
189 |
);
|
190 |
|
includes/class-aws-table.php
CHANGED
@@ -319,6 +319,13 @@ if ( ! class_exists( 'AWS_Table' ) ) :
|
|
319 |
UNIQUE KEY source_term (id,term,term_source,lang)
|
320 |
) $charset_collate;";
|
321 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
322 |
require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
|
323 |
dbDelta( $sql );
|
324 |
|
319 |
UNIQUE KEY source_term (id,term,term_source,lang)
|
320 |
) $charset_collate;";
|
321 |
|
322 |
+
/**
|
323 |
+
* SQL query that used to create index table
|
324 |
+
* @since 2.31
|
325 |
+
* @param string $sql SQL query string
|
326 |
+
*/
|
327 |
+
$sql = apply_filters( 'aws_create_index_table_sql', $sql );
|
328 |
+
|
329 |
require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
|
330 |
dbDelta( $sql );
|
331 |
|
languages/advanced-woo-search.pot
CHANGED
@@ -155,13 +155,16 @@ msgstr ""
|
|
155 |
msgid "In case you need to add plugin search form on your website, you can do it in several ways:"
|
156 |
msgstr ""
|
157 |
|
158 |
-
msgid "Enable a
|
159 |
msgstr ""
|
160 |
|
161 |
-
msgid "
|
162 |
msgstr ""
|
163 |
|
164 |
-
msgid "Add search form as
|
|
|
|
|
|
|
165 |
msgstr ""
|
166 |
|
167 |
msgid "Add PHP code to the necessary files of your theme: %s"
|
155 |
msgid "In case you need to add plugin search form on your website, you can do it in several ways:"
|
156 |
msgstr ""
|
157 |
|
158 |
+
msgid "Enable a %s option ( may not work with some themes )"
|
159 |
msgstr ""
|
160 |
|
161 |
+
msgid "Using shortcode %s"
|
162 |
msgstr ""
|
163 |
|
164 |
+
msgid "Add search form as a widget. Go to %s and drag&drop 'AWS Widget' to one of your widget areas"
|
165 |
+
msgstr ""
|
166 |
+
|
167 |
+
msgid "Widgets Screen"
|
168 |
msgstr ""
|
169 |
|
170 |
msgid "Add PHP code to the necessary files of your theme: %s"
|
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: 5.
|
7 |
-
Stable tag: 2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -167,6 +167,10 @@ Yep. This plugin is always compatible with the latest version of Woocommerce?
|
|
167 |
|
168 |
== Changelog ==
|
169 |
|
|
|
|
|
|
|
|
|
170 |
= 2.30 ( 2021-06-21 ) =
|
171 |
* Add - Support for Advanced Woo Labels plugin
|
172 |
* Update - WCFM plugin fix for vendors shop search. Fix searching for vendor taxonomies
|
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.8
|
7 |
+
Stable tag: 2.31
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
167 |
|
168 |
== Changelog ==
|
169 |
|
170 |
+
= 2.31 ( 2021-07-05 ) =
|
171 |
+
* Update - Plugin settings page
|
172 |
+
* Dev - Add aws_create_index_table_sql filter
|
173 |
+
|
174 |
= 2.30 ( 2021-06-21 ) =
|
175 |
* Add - Support for Advanced Woo Labels plugin
|
176 |
* Update - WCFM plugin fix for vendors shop search. Fix searching for vendor taxonomies
|