From: Steve Sutton Date: Fri, 9 Jun 2017 19:29:31 +0000 (-0400) Subject: Set per page to -1 X-Git-Tag: v1.0.0^2~17 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=856dc1ba3c118c78dc4a4d10dd97e3c407079528;p=WP-Themes%2Fphsacf.git Set per page to -1 This is so they all show up --- diff --git a/lib/funds.php b/lib/funds.php index 9429ccd..93b3d73 100644 --- a/lib/funds.php +++ b/lib/funds.php @@ -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',