From 3430709cbbf8ceb73fc551717624bc810d62e2b2 Mon Sep 17 00:00:00 2001 From: Joshua Roy Date: Wed, 30 Sep 2015 08:51:16 -0400 Subject: [PATCH] Fixed 404 error --- uc-people.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/uc-people.php b/uc-people.php index 55e2360..6925df3 100644 --- a/uc-people.php +++ b/uc-people.php @@ -33,7 +33,8 @@ function create_custom_custom_post_type(){ 'menu_position' => 35, 'menu_icon' => 'dashicons-groups', 'supports' => array( 'tags', 'thumbnail', 'revisions', 'page-attributes', 'author' ), - 'has_archive' => true + 'has_archive' => true, + 'rewrite' => false ); register_post_type( 'person', $args );