projects
/
WP-Themes
/
phsacf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdde85d
)
Update CPT for funds
author
Steve Sutton
<steve@gaslightmedia.com>
Thu, 8 Aug 2019 19:56:01 +0000
(15:56 -0400)
committer
Steve Sutton
<steve@gaslightmedia.com>
Thu, 8 Aug 2019 19:56:01 +0000
(15:56 -0400)
Sot has_archive and publicly_queryable to false.
lib/funds.php
patch
|
blob
|
history
diff --git
a/lib/funds.php
b/lib/funds.php
index
389e8f0
..
af22942
100644
(file)
--- 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' =>
tru
e,
+ 'has_archive' =>
fals
e,
'exclude_from_search' => false,
- 'publicly_queryable' =>
tru
e,
+ 'publicly_queryable' =>
fals
e,
'capability_type' => 'page',
);
register_post_type( POST_TYPE, $args );
@@
-137,7
+137,7
@@
function funds_shortcode($atts)
echo '</ul>';
echo '</div>';
}
-
+
}
echo '</div>';
$output = ob_get_contents();