WooCommerce Products Per Page - Version 1.1.0.1

Version Description

  • Removed - Duplicated main file with wrong name
Download this release

Release Info

Developer sormano
Plugin Icon 128x128 WooCommerce Products Per Page
Version 1.1.0.1
Comparing to
See all releases

Code changes from version 1.1.0 to 1.1.0.1

Files changed (2) hide show
  1. readme.txt +4 -1
  2. woocommerce-products-per-page.php +2 -2
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.jeroensormani.nl/donate/
4
  Tags: Products per page, woocommerce, woocommerce products, woocommerce products per page, woocommerce displayed products, woocommerce quantity products, woocommerce amount of products, woocommerce number of products, woocommerce shown products
5
  Requires at least: 3.6.0
6
  Tested up to: 3.9.1
7
- Stable tag: 1.1.0
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -43,6 +43,9 @@ Options like:
43
 
44
  == Changelog ==
45
 
 
 
 
46
  = 1.1.0 =
47
  * Complete plugin rewrite
48
  * Added setting for HTTP method (defaults to POST)
4
  Tags: Products per page, woocommerce, woocommerce products, woocommerce products per page, woocommerce displayed products, woocommerce quantity products, woocommerce amount of products, woocommerce number of products, woocommerce shown products
5
  Requires at least: 3.6.0
6
  Tested up to: 3.9.1
7
+ Stable tag: 1.1.0.1
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
43
 
44
  == Changelog ==
45
 
46
+ = 1.1.0.1 =
47
+ * Removed - Duplicated main file with wrong name
48
+
49
  = 1.1.0 =
50
  * Complete plugin rewrite
51
  * Added setting for HTTP method (defaults to POST)
woocommerce-products-per-page.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Woocommerce Products Per Page
4
  Plugin URI: http://www.jeroensormani.nl/
5
  Description: Integrate a 'products per page' dropdown on your WooCommerce website! Set-up in <strong>seconds</strong>!
6
- Version: 1.1.0
7
  Author: Jeroen Sormani
8
  Author URI: http://www.jeroensormani.nl
9
 
@@ -270,7 +270,7 @@ class Woocommerce_Products_Per_Page {
270
  */
271
  public function wppp_pre_get_posts( $q ) {
272
 
273
- if ( function_exists( 'woocommerce_products_will_display' ) && woocommerce_products_will_display() ) :
274
  $q->set( 'posts_per_page', $this->wppp_loop_shop_per_page() );
275
  endif;
276
 
3
  Plugin Name: Woocommerce Products Per Page
4
  Plugin URI: http://www.jeroensormani.nl/
5
  Description: Integrate a 'products per page' dropdown on your WooCommerce website! Set-up in <strong>seconds</strong>!
6
+ Version: 1.1.0.1
7
  Author: Jeroen Sormani
8
  Author URI: http://www.jeroensormani.nl
9
 
270
  */
271
  public function wppp_pre_get_posts( $q ) {
272
 
273
+ if ( function_exists( 'woocommerce_products_will_display' ) && woocommerce_products_will_display() && $q->is_main_query() ) :
274
  $q->set( 'posts_per_page', $this->wppp_loop_shop_per_page() );
275
  endif;
276