From: Steve Sutton Date: Wed, 22 Feb 2017 13:05:17 +0000 (-0500) Subject: Set CPT option for public to false X-Git-Tag: v2.1.1^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=e71ee766d72124784e885c14a798b5e0f4d16288;p=WP-Plugins%2Fglm-employment.git Set CPT option for public to false This is set to false to keep it out of the site-map plugin. --- diff --git a/index.php b/index.php index 9d3ab15..dacf501 100644 --- a/index.php +++ b/index.php @@ -2,7 +2,7 @@ /** * Plugin Name: Gaslight Media Employment * Description: Online Employment Application for Gaslight Media Clients. - * Version: 2.1.0 + * Version: 2.1.1 * Author: Steve Sutton * Author URI: http://www.gaslightmedia.com * License: All right reserved diff --git a/models/job.php b/models/job.php index 5ab1f67..0a2bd7f 100644 --- a/models/job.php +++ b/models/job.php @@ -292,7 +292,7 @@ class glm_employment_job 'label' => __('Jobs'), 'labels' => $labels, 'description' => 'Stores Jobs and Job data', - 'public' => true, + 'public' => false, 'can_export' => true, 'menu_position' => 21, 'supports' => array('title', 'editor'),