Skip to content

Commit

Permalink
06-04-2023
Browse files Browse the repository at this point in the history
  • Loading branch information
midkiffaries committed Jun 4, 2023
1 parent 69e12e5 commit 0aa881b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,7 @@
'rewrite' => array(
'slug' => rawurlencode(strtolower(ADDITIONAL_POST_TYPE)),
),
'capability_type' => 'post',
//'capability_type' => array(ADDITIONAL_POST_TYPE, ADDITIONAL_POST_TYPE.'s'),
'capability_type' => 'page',
'exclude_from_search'=> false,
'has_archive' => true,
'hierarchical' => true,
Expand All @@ -215,6 +214,7 @@
));
});


// Append HTML metadata to the page head tag
add_action( 'wp_head', function(){
?>
Expand Down

0 comments on commit 0aa881b

Please sign in to comment.