FEATURE Handling dbmob post type
This commit is contained in:
parent
2a752254f0
commit
4388ac6f6c
|
|
@ -73,8 +73,9 @@ function carhop_create_posttype()
|
|||
// CPT Options
|
||||
array(
|
||||
'labels' => array(
|
||||
'name' => __('DBMOB'),
|
||||
'singular_name' => __('DBMOB'),
|
||||
'name' => __('Notices'),
|
||||
'singular_name' => __('Notice biographique'),
|
||||
'menu_name' => __('Notices biographiques'),
|
||||
),
|
||||
'public' => true,
|
||||
'has_archive' => true,
|
||||
|
|
@ -83,7 +84,7 @@ function carhop_create_posttype()
|
|||
'menu_icon' => 'data:image/svg+xml;base64,' . base64_encode('<svg width="96" height="74" viewBox="0 0 96 74" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M86.4 2.2C81.6 0.7 76.3 0 71.3 0C62.9 0 53.8 1.7 47.5 6.5C41.2 1.7 32.2 0 23.8 0C15.4 0 6.3 1.7 0 6.5V69.8C0 70.9 1.1 72 2.2 72C3.3 72 2.8 71.8 3.3 71.8C9.1 69 17.6 67 23.8 67C30 67 41.3 68.7 47.6 73.5C53.4 69.8 64 67 71.4 67C78.8 67 85.9 68.3 91.9 71.5C92.3 71.7 92.5 71.7 93 71.7C94.1 71.7 95.2 70.6 95.2 69.5V6.5C92.6 4.6 89.8 3.3 86.6 2.2H86.4ZM86.4 60.5C81.6 59 76.5 58.3 71.3 58.3C64 58.3 53.4 61.1 47.5 64.8V15.1C53.3 11.4 63.9 8.6 71.3 8.6C78.7 8.6 81.7 9.2 86.4 10.8V60.5Z" fill="#9BA2A9"/></svg>'),
|
||||
'menu_position' => 4,
|
||||
'supports' => array('title', 'custom-fields'),
|
||||
'taxonomies' => array('category'),
|
||||
|
||||
)
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user