Bump version number and update CPT
authorSteve Sutton <steve@gaslightmedia.com>
Thu, 8 Aug 2019 20:51:39 +0000 (16:51 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Thu, 8 Aug 2019 20:51:39 +0000 (16:51 -0400)
Update CPT so no rewrites are done.

lib/funds.php
style.css

index af22942..86cd14e 100644 (file)
@@ -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,
index 264bdab..cfb5551 100644 (file)
--- 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
 */