Updates for jobs
authorSteve Sutton <steve@gaslightmedia.com>
Tue, 29 Jan 2019 20:26:25 +0000 (15:26 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Tue, 29 Jan 2019 20:26:25 +0000 (15:26 -0500)
set publicly queryable to false.

index.php
models/job.php

index 8775781..83748ed 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.2
+ * Version: 2.1.3
  * Author: Steve Sutton
  * Author URI: http://www.gaslightmedia.com
  * License: All right reserved
index 0a2bd7f..a6fa77e 100644 (file)
@@ -300,12 +300,12 @@ class glm_employment_job
             'menu_icon'       => 'dashicons-businessman',
             'capability_type' => 'post',
             'hierarchical'    => false,
-            'rewrite'         => array('slug' => 'jobs'),
+            //'rewrite'         => array('slug' => 'jobs'),
             'taxonomies'      => array(GLM_EMP_TAX_CATEGORIES, GLM_EMP_TAX_DEPARTMENTS),
             'show_in_menu'    => true,
             'show_ui'         => true,
             'query_var'       => true,
-            'publicly_queryable' => true
+            'publicly_queryable' => false
         );
         register_post_type(GLM_EMP_POST_TYPE, $args);
         register_taxonomy_for_object_type(GLM_EMP_TAX_CATEGORIES,