Set CPT option for public to false
authorSteve Sutton <steve@gaslightmedia.com>
Wed, 22 Feb 2017 13:05:17 +0000 (08:05 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Wed, 22 Feb 2017 13:05:17 +0000 (08:05 -0500)
This is set to false to keep it out of the site-map plugin.

index.php
models/job.php

index 9d3ab15..dacf501 100644 (file)
--- 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
index 5ab1f67..0a2bd7f 100644 (file)
@@ -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'),