YITH WooCommerce Ajax Product Filter - Version 1.2.1

Version Description

  • Fixed: Width of select dropdown too large
Download this release

Release Info

Developer yithemes
Plugin Icon 128x128 YITH WooCommerce Ajax Product Filter
Version 1.2.1
Comparing to
See all releases

Code changes from version 1.2.0 to 1.2.1

README.txt CHANGED
@@ -4,7 +4,7 @@ Contributors: yithemes
4
  Tags: woocommerce, widget, ajax, ajax filtered nav, ajax navigation, ajax filtered navigation
5
  Requires at least: 3.5.1
6
  Tested up to: 3.8
7
- Stable tag: 1.2.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -65,6 +65,10 @@ In order to display the widget you need to assign it to the sidebar in the Shop
65
 
66
  == Changelog ==
67
 
 
 
 
 
68
  = 1.2.0 =
69
 
70
  * Added: Dropdown style
4
  Tags: woocommerce, widget, ajax, ajax filtered nav, ajax navigation, ajax filtered navigation
5
  Requires at least: 3.5.1
6
  Tested up to: 3.8
7
+ Stable tag: 1.2.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
65
 
66
  == Changelog ==
67
 
68
+ = 1.2.1 =
69
+
70
+ * Fixed: Width of select dropdown too large
71
+
72
  = 1.2.0 =
73
 
74
  * Added: Dropdown style
assets/css/frontend.css CHANGED
@@ -107,12 +107,16 @@
107
  position: absolute;
108
  overflow-x: hidden;
109
  overflow-y: auto;
110
- width: 260px;
 
111
  z-index: -1;
112
  border: 1px solid #cecece;
113
  padding: 10px 0px;
114
  margin-top: -16px;
115
  }
 
 
 
116
  .yith-wcan-select-wrapper ul.yith-wcan-select.yith-wcan li
117
  {
118
  padding: 5px 8px;
@@ -130,6 +134,7 @@
130
  .yith-wcan-select-wrapper ul.yith-wcan-select.yith-wcan li a, .widget .yit-wcan-select-open {
131
  width: 100%;
132
  color: #838383;
 
133
  }
134
  .yith-wcan-select-wrapper ul.yith-wcan-select.yith-wcan li a:hover, .widget .yit-wcan-select-open:hover {
135
  text-decoration: none;
@@ -140,3 +145,5 @@
140
  background: transparent url(../images/cross.png) bottom 6px left no-repeat;
141
  border: none;
142
  }
 
 
107
  position: absolute;
108
  overflow-x: hidden;
109
  overflow-y: auto;
110
+ max-width: 268px;
111
+ width: 100%;
112
  z-index: -1;
113
  border: 1px solid #cecece;
114
  padding: 10px 0px;
115
  margin-top: -16px;
116
  }
117
+ .widget-area .yith-wcan-select-wrapper {
118
+ max-width: 260px;
119
+ }
120
  .yith-wcan-select-wrapper ul.yith-wcan-select.yith-wcan li
121
  {
122
  padding: 5px 8px;
134
  .yith-wcan-select-wrapper ul.yith-wcan-select.yith-wcan li a, .widget .yit-wcan-select-open {
135
  width: 100%;
136
  color: #838383;
137
+ box-sizing: border-box;
138
  }
139
  .yith-wcan-select-wrapper ul.yith-wcan-select.yith-wcan li a:hover, .widget .yit-wcan-select-open:hover {
140
  text-decoration: none;
145
  background: transparent url(../images/cross.png) bottom 6px left no-repeat;
146
  border: none;
147
  }
148
+
149
+
assets/js/yith-wcan-admin.js CHANGED
@@ -3,7 +3,7 @@
3
  *
4
  * @author Your Inspiration Themes
5
  * @package YITH WooCommerce Ajax Navigation
6
- * @version 1.2.0
7
  */
8
  jQuery(function($){
9
 
3
  *
4
  * @author Your Inspiration Themes
5
  * @package YITH WooCommerce Ajax Navigation
6
+ * @version 1.2.1
7
  */
8
  jQuery(function($){
9
 
assets/js/yith-wcan-frontend.js CHANGED
@@ -3,7 +3,7 @@
3
  *
4
  * @author Your Inspiration Themes
5
  * @package YITH WooCommerce Ajax Navigation
6
- * @version 1.2.0
7
  */
8
  jQuery(function($){
9
  /**
3
  *
4
  * @author Your Inspiration Themes
5
  * @package YITH WooCommerce Ajax Navigation
6
+ * @version 1.2.1
7
  */
8
  jQuery(function($){
9
  /**
class.yith-wcan-admin.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Ajax Navigation
7
- * @version 1.2.0
8
  */
9
 
10
  if ( !defined( 'YITH_WCAN' ) ) { exit; } // Exit if accessed directly
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Ajax Navigation
7
+ * @version 1.2.1
8
  */
9
 
10
  if ( !defined( 'YITH_WCAN' ) ) { exit; } // Exit if accessed directly
class.yith-wcan-frontend.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Ajax Navigation
7
- * @version 1.2.0
8
  */
9
 
10
  if ( !defined( 'YITH_WCAN' ) ) { exit; } // Exit if accessed directly
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Ajax Navigation
7
+ * @version 1.2.1
8
  */
9
 
10
  if ( !defined( 'YITH_WCAN' ) ) { exit; } // Exit if accessed directly
class.yith-wcan-helper.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Ajax Navigation
7
- * @version 1.2.0
8
  */
9
 
10
  if ( !defined( 'YITH_WCAN' ) ) { exit; } // Exit if accessed directly
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Ajax Navigation
7
+ * @version 1.2.1
8
  */
9
 
10
  if ( !defined( 'YITH_WCAN' ) ) { exit; } // Exit if accessed directly
class.yith-wcan.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Ajax Navigation
7
- * @version 1.2.0
8
  */
9
 
10
  if ( !defined( 'YITH_WCAN' ) ) { exit; } // Exit if accessed directly
@@ -22,7 +22,7 @@ if( !class_exists( 'YITH_WCAN' ) ) {
22
  * @var string
23
  * @since 1.0.0
24
  */
25
- public $version = '1.2.0';
26
 
27
  /**
28
  * Plugin object
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Ajax Navigation
7
+ * @version 1.2.1
8
  */
9
 
10
  if ( !defined( 'YITH_WCAN' ) ) { exit; } // Exit if accessed directly
22
  * @var string
23
  * @since 1.0.0
24
  */
25
+ public $version = '1.2.1';
26
 
27
  /**
28
  * Plugin object
functions.yith-wcan.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Ajax Navigation
7
- * @version 1.2.0
8
  */
9
 
10
  if ( !defined( 'YITH_WCAN' ) ) { exit; } // Exit if accessed directly
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Ajax Navigation
7
+ * @version 1.2.1
8
  */
9
 
10
  if ( !defined( 'YITH_WCAN' ) ) { exit; } // Exit if accessed directly
init.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: YITH WooCommerce Ajax Navigation
4
  * Plugin URI: http://yithemes.com/
5
  * Description: YITH WooCommerce Ajax Navigation allows user to filter products in Shop page without reloading the page.
6
- * Version: 1.2.0
7
  * Author: Your Inspiration Themes
8
  * Author URI: http://yithemes.com/
9
  * Text Domain: yit
@@ -11,7 +11,7 @@
11
  *
12
  * @author Your Inspiration Themes
13
  * @package YITH WooCommerce Ajax Navigation
14
- * @version 1.2.0
15
  */
16
  /* Copyright 2013 Your Inspiration Themes (email : plugins@yithemes.com)
17
 
@@ -46,7 +46,7 @@ function yith_wcan_constructor() {
46
  define( 'YITH_WCAN', true );
47
  define( 'YITH_WCAN_URL', plugin_dir_url( __FILE__ ) );
48
  define( 'YITH_WCAN_DIR', plugin_dir_path( __FILE__ ) );
49
- define( 'YITH_WCAN_VERSION', '1.2.0' );
50
 
51
  // Load required classes and functions
52
  require_once('functions.yith-wcan.php');
3
  * Plugin Name: YITH WooCommerce Ajax Navigation
4
  * Plugin URI: http://yithemes.com/
5
  * Description: YITH WooCommerce Ajax Navigation allows user to filter products in Shop page without reloading the page.
6
+ * Version: 1.2.1
7
  * Author: Your Inspiration Themes
8
  * Author URI: http://yithemes.com/
9
  * Text Domain: yit
11
  *
12
  * @author Your Inspiration Themes
13
  * @package YITH WooCommerce Ajax Navigation
14
+ * @version 1.2.1
15
  */
16
  /* Copyright 2013 Your Inspiration Themes (email : plugins@yithemes.com)
17
 
46
  define( 'YITH_WCAN', true );
47
  define( 'YITH_WCAN_URL', plugin_dir_url( __FILE__ ) );
48
  define( 'YITH_WCAN_DIR', plugin_dir_path( __FILE__ ) );
49
+ define( 'YITH_WCAN_VERSION', '1.2.1' );
50
 
51
  // Load required classes and functions
52
  require_once('functions.yith-wcan.php');
languages/default.po CHANGED
@@ -1,6 +1,6 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: YITH WooCommerce Ajax Navigation v1.0.0\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2014-01-10 10:28+0100\n"
6
  "PO-Revision-Date: 2014-01-10 10:28+0100\n"
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: YITH WooCommerce Ajax Navigation v1.2.1\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2014-01-10 10:28+0100\n"
6
  "PO-Revision-Date: 2014-01-10 10:28+0100\n"
languages/yit-it_IT.po CHANGED
@@ -1,6 +1,6 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: YITH WooCommerce Ajax Navigation v1.0.0\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2014-01-10 10:28+0100\n"
6
  "PO-Revision-Date: 2014-01-10 10:30+0100\n"
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: YITH WooCommerce Ajax Navigation v1.2.1\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2014-01-10 10:28+0100\n"
6
  "PO-Revision-Date: 2014-01-10 10:30+0100\n"
languages/yit.pot CHANGED
@@ -1,6 +1,6 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: YITH WooCommerce Ajax Navigation v1.0.0\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2014-01-10 10:28+0100\n"
6
  "PO-Revision-Date: 2014-01-10 10:28+0100\n"
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: YITH WooCommerce Ajax Navigation v1.2.1\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2014-01-10 10:28+0100\n"
6
  "PO-Revision-Date: 2014-01-10 10:28+0100\n"
widgets/class.yith-wcan-navigation-widget.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Ajax Navigation
7
- * @version 1.2.0
8
  */
9
 
10
  if ( !defined( 'YITH_WCAN' ) ) { exit; } // Exit if accessed directly
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Ajax Navigation
7
+ * @version 1.2.1
8
  */
9
 
10
  if ( !defined( 'YITH_WCAN' ) ) { exit; } // Exit if accessed directly
widgets/class.yith-wcan-reset-navigation-widget.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Ajax Navigation
7
- * @version 1.2.0
8
  */
9
 
10
  if ( !defined( 'YITH_WCAN' ) ) { exit; } // Exit if accessed directly
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Ajax Navigation
7
+ * @version 1.2.1
8
  */
9
 
10
  if ( !defined( 'YITH_WCAN' ) ) { exit; } // Exit if accessed directly