From 856dc1ba3c118c78dc4a4d10dd97e3c407079528 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Fri, 9 Jun 2017 15:29:31 -0400 Subject: [PATCH] Set per page to -1 This is so they all show up --- lib/funds.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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', -- 2.17.1