Set per page to -1
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 9 Jun 2017 19:29:31 +0000 (15:29 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 9 Jun 2017 19:29:31 +0000 (15:29 -0400)
This is so they all show up

lib/funds.php

index 9429ccd..93b3d73 100644 (file)
@@ -111,10 +111,11 @@ function funds_shortcode($atts)
     foreach($custom_terms as $custom_term) {
         wp_reset_query();
         $args = array(
-            'post_type' => 'fund',
-            'orderby'   => 'title',
-            'order'     => 'ASC',
-            'tax_query' => array(
+            'post_per_page' => -1,
+            'post_type'     => 'fund',
+            'orderby'       => 'title',
+            'order'         => 'ASC',
+            'tax_query'     => array(
                 array(
                     'taxonomy' => 'fund_group',
                     'field' => 'slug',