WooCommerce Products Per Page - Version 1.1.4

Version Description

  • 10/01/2015 =

  • Fix - Dropdown hides behind add to cart notice (non-ajax button)

  • Add - German translation

Download this release

Release Info

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

Code changes from version 1.1.3 to 1.1.4

includes/class-wppp-dropdown.php CHANGED
@@ -93,7 +93,7 @@ class WPPP_Dropdown {
93
 
94
  do_action( 'wppp_before_dropdown_form' );
95
 
96
- ?><form method="<?php echo $method; ?>" <?php echo $action; ?> style='float: right;' class="form-wppp-select products-per-page"><?php
97
 
98
  do_action( 'wppp_before_dropdown' );
99
 
93
 
94
  do_action( 'wppp_before_dropdown_form' );
95
 
96
+ ?><form method="<?php echo $method; ?>" <?php echo $action; ?> style='float: right; margin-left: 5px;' class="form-wppp-select products-per-page"><?php
97
 
98
  do_action( 'wppp_before_dropdown' );
99
 
languages/woocommerce-products-per-page-de_DE.mo ADDED
Binary file
languages/woocommerce-products-per-page-de_DE.po ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WooCommerce Products Per Page 1.0.1\n"
4
+ "POT-Creation-Date: 2014-03-15 14:13+0100\n"
5
+ "PO-Revision-Date: \n"
6
+ "Last-Translator: Michael Firnkes <info@blogprofis.de>\n"
7
+ "Language-Team: Jeroen Sormani <jeroen.sormani@gmail.com>\n"
8
+ "Language: French\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.5.5\n"
13
+ "X-Poedit-KeywordsList: __;_e\n"
14
+ "X-Poedit-Basepath: /Users/Jeroen/plugins/woocommerce-products-per-page/trunk/\n"
15
+ "Plural-Forms: nplurals=2; plural=n == 1 ? 0 : 1;\n"
16
+ "X-Poedit-SourceCharset: UTF-8\n"
17
+ "X-Poedit-SearchPath-0: /Users/Jeroen/plugins/woocommerce-products-per-page/trunk\n"
18
+
19
+ #: /Users/Jeroen/plugins/woocommerce-products-per-page/trunk/admin/options-page.php:27
20
+ msgid "Dropdown location"
21
+ msgstr "Position des Dropdown"
22
+
23
+ #: /Users/Jeroen/plugins/woocommerce-products-per-page/trunk/admin/options-page.php:35
24
+ msgid "List of dropdown options"
25
+ msgstr "Liste der Dropdown-Einträge"
26
+
27
+ #: /Users/Jeroen/plugins/woocommerce-products-per-page/trunk/admin/options-page.php:43
28
+ msgid "Default products per page"
29
+ msgstr "Standardwert 'Produkte pro Seite'"
30
+
31
+ #: /Users/Jeroen/plugins/woocommerce-products-per-page/trunk/admin/options-page.php:51
32
+ msgid "Shop columns"
33
+ msgstr "Anzahl Spalten im Shop"
34
+
35
+ #: /Users/Jeroen/plugins/woocommerce-products-per-page/trunk/admin/options-page.php:59
36
+ msgid "First category page"
37
+ msgstr "Erste Seite der Produktkategorie"
38
+
39
+ #: /Users/Jeroen/plugins/woocommerce-products-per-page/trunk/admin/options-page.php:73
40
+ msgid "WooCommerce Products Per Page"
41
+ msgstr "WooCommerce Products Per Page"
42
+
43
+ #: /Users/Jeroen/plugins/woocommerce-products-per-page/trunk/admin/options-page.php:92
44
+ msgid "Top"
45
+ msgstr "Beginn"
46
+
47
+ #: /Users/Jeroen/plugins/woocommerce-products-per-page/trunk/admin/options-page.php:93
48
+ msgid "Bottom"
49
+ msgstr "Ende"
50
+
51
+ #: /Users/Jeroen/plugins/woocommerce-products-per-page/trunk/admin/options-page.php:94
52
+ msgid "Top/Bottom"
53
+ msgstr "Beginn/Ende"
54
+
55
+ #: /Users/Jeroen/plugins/woocommerce-products-per-page/trunk/admin/options-page.php:95
56
+ msgid "None"
57
+ msgstr "Keine"
58
+
59
+ #: /Users/Jeroen/plugins/woocommerce-products-per-page/trunk/admin/options-page.php:107
60
+ msgid "Seperated by spaces <em>(-1 for all products)</em>"
61
+ msgstr "Kommagetrennte Eingabe <em>(-1 für 'Alle Produkte anzeigen')</em>"
62
+
63
+ #: /Users/Jeroen/plugins/woocommerce-products-per-page/trunk/admin/options-page.php:118
64
+ msgid "-1 for all products"
65
+ msgstr "-1 für 'Alle Produkte anzeigen'"
66
+
67
+ #: /Users/Jeroen/plugins/woocommerce-products-per-page/trunk/admin/options-page.php:140
68
+ msgid "When checked and a new number of PPP is selected, the visitor will be send to the first page of the product category"
69
+ msgstr "Wenn die Option aktiviert ist, und der Nutzer einen anderen Eintrag 'Produkte pro Seite' wählt, wird er zur ersten Seite der Produktkategorie weitergeleitet"
70
+
71
+ #: /Users/Jeroen/plugins/woocommerce-products-per-page/trunk/admin/options-page.php:187
72
+ msgid "Configure the WooCommerce Product Per Page settings here."
73
+ msgstr "Hier kannst du die Einstellungen von WooCommerce Product Per Page ändern."
74
+
75
+ #: /Users/Jeroen/plugins/woocommerce-products-per-page/trunk/objects/wppp-dropdown.php:49
76
+ #, php-format
77
+ msgid "%s products per page"
78
+ msgstr "%s Produkte pro Seite"
79
+
80
+ #: /Users/Jeroen/plugins/woocommerce-products-per-page/trunk/objects/wppp-dropdown.php:50
81
+ msgid "All"
82
+ msgstr "Alle"
83
+
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.jeroensormani.com/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: 4.1
7
- Stable tag: 1.1.3
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -26,6 +26,7 @@ Options like:
26
  - Dutch
27
  - French [(whoaloic)](http://profiles.wordpress.org/whoaloic)
28
  - Persian [(amir_tara67)](http://profiles.wordpress.org/amir_tara67)
 
29
 
30
 
31
  == Installation ==
@@ -43,6 +44,15 @@ Options like:
43
 
44
  == Changelog ==
45
 
 
 
 
 
 
 
 
 
 
46
  = 1.1.3 - 20/12/2014 =
47
 
48
  * Improvement - Improved code quality
@@ -122,4 +132,9 @@ Options like:
122
 
123
  = 1.0.0 =
124
 
125
- * Initial release
 
 
 
 
 
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: 4.1
7
+ Stable tag: 1.1.4
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
26
  - Dutch
27
  - French [(whoaloic)](http://profiles.wordpress.org/whoaloic)
28
  - Persian [(amir_tara67)](http://profiles.wordpress.org/amir_tara67)
29
+ - Deutsch [(Michael)](http://profiles.wordpress.org/blogprofis/)
30
 
31
 
32
  == Installation ==
44
 
45
  == Changelog ==
46
 
47
+ = 1.1.4 - 10/01/2015 =
48
+
49
+ * Fix - Dropdown hides behind add to cart notice (non-ajax button)
50
+ * Add - German translation
51
+
52
+ = 1.1.3.1 - 22/12/2014 =
53
+
54
+ * Fix - Backwards compatibility fix
55
+
56
  = 1.1.3 - 20/12/2014 =
57
 
58
  * Improvement - Improved code quality
132
 
133
  = 1.0.0 =
134
 
135
+ * Initial release
136
+
137
+ == Upgrade Notice ==
138
+
139
+ = 1.1.4 =
140
+ Version 1.1.4 uses a different priority to position the drop down. For most people this won't affect anything, but this might be affecting your theme. Please check the drop down after updating to see if it still positioned correctly.
woocommerce-products-per-page.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Woocommerce Products Per Page
4
  * Plugin URI: http://www.jeroensormani.com/
5
  * Description: Integrate a 'products per page' dropdown on your WooCommerce website! Set-up in <strong>seconds</strong>!
6
- * Version: 1.1.3
7
  * Author: Jeroen Sormani
8
  * Author URI: http://www.jeroensormani.com
9
 
@@ -306,12 +306,12 @@ class Woocommerce_Products_Per_Page {
306
  public function wppp_shop_hooks() {
307
 
308
  if ( $this->settings['location'] == 'top' ) :
309
- add_action( 'woocommerce_before_shop_loop', array( $this, 'wppp_dropdown' ) );
310
  elseif ( $this->settings['location'] == 'bottom' ) :
311
- add_action( 'woocommerce_after_shop_loop', array( $this, 'wppp_dropdown' ) );
312
  elseif ( $this->settings['location'] == 'topbottom' ):
313
- add_action( 'woocommerce_before_shop_loop', array( $this, 'wppp_dropdown' ) );
314
- add_action( 'woocommerce_after_shop_loop', array( $this, 'wppp_dropdown' ) );
315
  endif;
316
 
317
  }
@@ -407,4 +407,4 @@ Woocommerce_Products_Per_Page()->wppp_shop_hooks();
407
 
408
 
409
  // Backwards compatibility
410
- $_GLOBALS['wppp'] = Woocommerce_Products_Per_Page();
3
  * Plugin Name: Woocommerce Products Per Page
4
  * Plugin URI: http://www.jeroensormani.com/
5
  * Description: Integrate a 'products per page' dropdown on your WooCommerce website! Set-up in <strong>seconds</strong>!
6
+ * Version: 1.1.4
7
  * Author: Jeroen Sormani
8
  * Author URI: http://www.jeroensormani.com
9
 
306
  public function wppp_shop_hooks() {
307
 
308
  if ( $this->settings['location'] == 'top' ) :
309
+ add_action( 'woocommerce_before_shop_loop', array( $this, 'wppp_dropdown' ), 25 );
310
  elseif ( $this->settings['location'] == 'bottom' ) :
311
+ add_action( 'woocommerce_after_shop_loop', array( $this, 'wppp_dropdown' ), 25 );
312
  elseif ( $this->settings['location'] == 'topbottom' ):
313
+ add_action( 'woocommerce_before_shop_loop', array( $this, 'wppp_dropdown' ), 25 );
314
+ add_action( 'woocommerce_after_shop_loop', array( $this, 'wppp_dropdown' ), 25 );
315
  endif;
316
 
317
  }
407
 
408
 
409
  // Backwards compatibility
410
+ $GLOBALS['wppp'] = Woocommerce_Products_Per_Page();