Remove unused features
This commit is contained in:
2
list.php
2
list.php
@@ -9,7 +9,7 @@ function sp_list_cpt_init() {
|
||||
'labels' => $labels,
|
||||
'public' => true,
|
||||
'hierarchical' => false,
|
||||
'supports' => array( 'title', 'author', 'thumbnail', 'page-attributes' ),
|
||||
'supports' => array( 'title', 'author' ),
|
||||
'register_meta_box_cb' => 'sp_list_meta_init',
|
||||
'rewrite' => array( 'slug' => 'list' )
|
||||
);
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
#adminmenu #menu-posts-sp_staff div.wp-menu-image,
|
||||
#adminmenu #menu-posts-sp_sponsor div.wp-menu-image,
|
||||
#adminmenu #menu-posts-sp_table div.wp-menu-image,
|
||||
#adminmenu #menu-posts-sp_list div.wp-menu-image,
|
||||
#adminmenu #menu-posts-sp_tournament div.wp-menu-image,
|
||||
#adminmenu #menu-posts-sp_venue div.wp-menu-image {
|
||||
background-image: url(images/menu.png);
|
||||
|
||||
@@ -9,7 +9,7 @@ function sp_table_cpt_init() {
|
||||
'labels' => $labels,
|
||||
'public' => true,
|
||||
'hierarchical' => false,
|
||||
'supports' => array( 'title', 'author', 'thumbnail', 'page-attributes' ),
|
||||
'supports' => array( 'title', 'author' ),
|
||||
'register_meta_box_cb' => 'sp_table_meta_init',
|
||||
'rewrite' => array( 'slug' => 'table' )
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user