diff --git a/projects.php b/projects.php index 34db85d..8293746 100644 --- a/projects.php +++ b/projects.php @@ -176,7 +176,12 @@ public function register_post_type () { 'excerpt' ), 'menu_position' => 5, - 'menu_icon' => 'dashicons-portfolio' + 'menu_icon' => 'dashicons-portfolio', + 'show_in_rest' => true, + 'taxonomies' => array( + 'post_tag', + 'category' + ) ); $args = apply_filters( 'projects_register_post_type', $args ); @@ -480,4 +485,4 @@ private function upgrade_data( $upgrade_data = false ) { global $projects; -$projects = new Projects( __FILE__ ); \ No newline at end of file +$projects = new Projects( __FILE__ );