diff --git a/includes/post_types.php b/includes/post_types.php new file mode 100644 index 0000000..01487a7 --- /dev/null +++ b/includes/post_types.php @@ -0,0 +1,28 @@ + array( + 'name' => __( 'Scientific Publications' ), + 'singular_name' => __( 'Publication' ) + ), + 'public' => true, + 'has_archive' => true, + 'rewrite' => array('slug' => 'example'), + 'show_in_rest' => true, + 'menu_icon' => 'dashicons-analytics', + 'menu_position' => 4, + 'supports' => array ( 'title', 'custom-fields' ), + + + ) + ); + + +} +add_action( 'init', 'create_posttype' ); + diff --git a/style.css b/style.css index 9ff2fd4..b8dca33 100644 --- a/style.css +++ b/style.css @@ -1,5 +1,5 @@ /* -Theme Name: Deligraph +Theme Name: Deligraph ⤍ Author: Deligraph Author URI: https://deligraph.com/ Version: 1.0.0