1
0
mirror of https://github.com/ascribe/wp-theme synced 2024-12-22 09:13:38 +01:00

admin menu icon all the things

This commit is contained in:
Matthias Kretschmann 2016-03-08 10:47:40 +01:00
parent 2704ec576c
commit 0c6e89fcdb
5 changed files with 5 additions and 1 deletions

View File

@ -20,6 +20,7 @@ function ascribe_register_cpt_career() {
"hierarchical" => false,
"rewrite" => array( "slug" => "career", "with_front" => true ),
"query_var" => true,
"menu_icon" => 'dashicons-businessman'
);
register_post_type( "career", $args );

View File

@ -20,8 +20,8 @@ function ascribe_register_cpt_event() {
"hierarchical" => false,
"rewrite" => array( "slug" => "event", "with_front" => true ),
"query_var" => true,
"supports" => array( "title" ),
"menu_icon" => 'dashicons-calendar-alt'
);
register_post_type( "event", $args );
}

View File

@ -20,6 +20,7 @@ function ascribe_register_cpt_press() {
"hierarchical" => false,
"rewrite" => array( "slug" => "presscoverage", "with_front" => true ),
"query_var" => true,
"menu_icon" => 'dashicons-media-document'
);
register_post_type( "presscoverage", $args );

View File

@ -20,6 +20,7 @@ function ascribe_register_cpt_team() {
"hierarchical" => false,
"rewrite" => array( "slug" => "team", "with_front" => true ),
"query_var" => true,
"menu_icon" => 'dashicons-nametag'
);
register_post_type( "team", $args );
}

View File

@ -35,6 +35,7 @@ function ascribe_register_cpt_testimonial() {
"hierarchical" => false,
"rewrite" => false,
"query_var" => true,
"menu_icon" => 'dashicons-format-quote'
);
register_post_type( "testimonial", $args );