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:
parent
2704ec576c
commit
0c6e89fcdb
@ -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 );
|
||||
|
@ -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 );
|
||||
}
|
||||
|
@ -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 );
|
||||
|
@ -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 );
|
||||
}
|
||||
|
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user