From: Steve Sutton Date: Thu, 8 Aug 2019 19:56:01 +0000 (-0400) Subject: Update CPT for funds X-Git-Tag: v1.0.10^2~1 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=07032a1029226732616bb2a72c2777b1dd0a0e9e;p=WP-Themes%2Fphsacf.git Update CPT for funds Sot has_archive and publicly_queryable to false. --- 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();