Skip to content

Commit

Permalink
Enable post type archive for 'gatherpress_event'
Browse files Browse the repository at this point in the history
  • Loading branch information
carstingaxion committed Jun 17, 2024
1 parent 5f79c30 commit 062aceb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions includes/core/classes/class-event-setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ public function register_post_type(): void {
'custom-fields',
),
'menu_icon' => 'dashicons-nametag',
'has_archive' => true,
'rewrite' => array(
'slug' => _x( 'event', 'Post Type Slug', 'gatherpress' ),
),
Expand Down

0 comments on commit 062aceb

Please sign in to comment.