From e71ee766d72124784e885c14a798b5e0f4d16288 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Wed, 22 Feb 2017 08:05:17 -0500 Subject: [PATCH] Set CPT option for public to false This is set to false to keep it out of the site-map plugin. --- index.php | 2 +- models/job.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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'), -- 2.17.1