correct spelling of posts
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 9 Jun 2017 19:33:11 +0000 (15:33 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 9 Jun 2017 19:33:11 +0000 (15:33 -0400)
need to be posts_per_page

lib/funds.php

index 93b3d73..8d3edc1 100644 (file)
@@ -111,7 +111,7 @@ function funds_shortcode($atts)
     foreach($custom_terms as $custom_term) {
         wp_reset_query();
         $args = array(
-            'post_per_page' => -1,
+            'posts_per_page' => -1,
             'post_type'     => 'fund',
             'orderby'       => 'title',
             'order'         => 'ASC',