From 4b928c6807bec36ee63a68eb6c7a087a54eed2cc Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Wed, 2 Dec 2015 16:35:03 -0500 Subject: [PATCH] Fix for only getting 5 --- controllers/front.php | 1 + glm-employment.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/controllers/front.php b/controllers/front.php index eee9405..5879ca0 100644 --- a/controllers/front.php +++ b/controllers/front.php @@ -473,6 +473,7 @@ class staffords_employment_front ? filter_var($_REQUEST['staffords_jobsdepartment']) : false; $args = array( + 'posts_per_page' => -1, 'post_type' => STAFFORDS_EMP_POST_TYPE, 'meta_query' => array( array( diff --git a/glm-employment.php b/glm-employment.php index 0804b8a..4110193 100644 --- a/glm-employment.php +++ b/glm-employment.php @@ -2,7 +2,7 @@ /** * Plugin Name: Staffords Employment * Description: Online Employment Application for Staffords - * Version: 0.2.3 + * Version: 0.2.4 * Author: Steve Sutton * Author URI: http://www.gaslightmedia.com * License: All right reserved -- 2.17.1