From a50cbd8e47deb8d9637e835bbb3b35c8d37ce0c7 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Thu, 8 Aug 2019 16:51:39 -0400 Subject: [PATCH] Bump version number and update CPT Update CPT so no rewrites are done. --- lib/funds.php | 3 ++- style.css | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/funds.php b/lib/funds.php index af22942..86cd14e 100644 --- a/lib/funds.php +++ b/lib/funds.php @@ -55,6 +55,7 @@ function custom_post_type() { 'exclude_from_search' => false, 'publicly_queryable' => false, 'capability_type' => 'page', + 'rewrite' => false, ); register_post_type( POST_TYPE, $args ); register_taxonomy_for_object_type( CATEGORY_NAME, POST_TYPE ); @@ -88,7 +89,7 @@ function fund_taxonomies() $args = array( 'label' => __(CATEGORY_PLURAL), - 'rewrite' => array( 'slug' => CATEGORY_SLUG ), + 'rewrite' => false, //array( 'slug' => CATEGORY_SLUG ), 'capabilities' => $capabilities, 'public ' => false, 'show_in_quick_edit' => true, diff --git a/style.css b/style.css index 264bdab..cfb5551 100644 --- a/style.css +++ b/style.css @@ -3,5 +3,5 @@ Theme Name: Petoskey-HarborSpringsCommunityFoundation Author: Gaslight Media Author URI: http://www.gaslightmedia.com Description: A theme for Petoskey-HarborSpringsCommunityFoundation -Version: 1.0.10 +Version: 1.0.11 */ -- 2.17.1