From 07032a1029226732616bb2a72c2777b1dd0a0e9e Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Thu, 8 Aug 2019 15:56:01 -0400 Subject: [PATCH] Update CPT for funds Sot has_archive and publicly_queryable to false. --- lib/funds.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/funds.php b/lib/funds.php index 389e8f0..af22942 100644 --- a/lib/funds.php +++ b/lib/funds.php @@ -51,9 +51,9 @@ function custom_post_type() { 'show_in_admin_bar' => true, 'show_in_nav_menus' => true, 'can_export' => true, - 'has_archive' => true, + 'has_archive' => false, 'exclude_from_search' => false, - 'publicly_queryable' => true, + 'publicly_queryable' => false, 'capability_type' => 'page', ); register_post_type( POST_TYPE, $args ); @@ -137,7 +137,7 @@ function funds_shortcode($atts) echo ''; echo ''; } - + } echo ''; $output = ob_get_contents(); -- 2.17.1