fixing namespace
This commit is contained in:
parent
3456b10a09
commit
4d52a36fed
|
|
@ -49,7 +49,7 @@ CUSTOM POST STATUS
|
||||||
function custom_post_status()
|
function custom_post_status()
|
||||||
{
|
{
|
||||||
register_post_status('offline', array(
|
register_post_status('offline', array(
|
||||||
'label' => _x('offline', 'post'),
|
'label' => __('offline', 'metiers-patrimoine-theme'),
|
||||||
'public' => true,
|
'public' => true,
|
||||||
'exclude_from_search' => false,
|
'exclude_from_search' => false,
|
||||||
'show_in_admin_all_list' => true,
|
'show_in_admin_all_list' => true,
|
||||||
|
|
@ -159,8 +159,9 @@ function metiers_new_admin_menu_order($menu_order)
|
||||||
$new_positions = array(
|
$new_positions = array(
|
||||||
'edit.php?post_type=artisans' => 3,
|
'edit.php?post_type=artisans' => 3,
|
||||||
'edit.php?post_type=chantiers' => 4,
|
'edit.php?post_type=chantiers' => 4,
|
||||||
'edit.php?post_type=page' => 5,
|
'edit.php?post_type=page' => 6,
|
||||||
'upload.php' => 7,
|
'upload.php' => 7,
|
||||||
|
'export_datas' => 8,
|
||||||
'theme-general-settings' => 11,
|
'theme-general-settings' => 11,
|
||||||
'rank-math' => 20,
|
'rank-math' => 20,
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user