changed posts_per_page in index file
authorAnthony Talarico <talarico@gaslightmedia.com>
Thu, 17 Dec 2015 14:22:49 +0000 (09:22 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Thu, 17 Dec 2015 14:22:49 +0000 (09:22 -0500)
index.php

index dc59557..5fc27d9 100644 (file)
--- a/index.php
+++ b/index.php
@@ -216,7 +216,7 @@ function michsci_list_products()
 {
     global $wpdb, $wp;
     $args = array(
-        'post_per_page' => -1,
+        'posts_per_page' => -1,
         'post_type'     => 'miproduct'
     );