diff --git a/plugins/osi-features/inc/classes/post-types/class-base.php b/plugins/osi-features/inc/classes/post-types/class-base.php index 6c173e6..2e0e2ae 100644 --- a/plugins/osi-features/inc/classes/post-types/class-base.php +++ b/plugins/osi-features/inc/classes/post-types/class-base.php @@ -79,6 +79,10 @@ public function get_args() { 'has_archive' => true, 'menu_position' => 6, 'supports' => [ 'title', 'editor', 'author', 'thumbnail', 'excerpt', 'comments' ], + 'rewrite' => array( + 'slug' => $this->get_slug(), + 'with_front' => false, + ) ]; }