fix date && isotope
This commit is contained in:
@@ -188,7 +188,25 @@
|
||||
|
||||
add_action('init', 'post_projets', 10);
|
||||
|
||||
|
||||
add_action( 'init', 'cp_change_post_object' );
|
||||
// Change dashboard Posts to News
|
||||
function cp_change_post_object() {
|
||||
$get_post_type = get_post_type_object('post');
|
||||
$labels = $get_post_type->labels;
|
||||
$labels->name = 'Évenements';
|
||||
$labels->singular_name = 'Évenements';
|
||||
$labels->add_new = 'Add Évenements';
|
||||
$labels->add_new_item = 'Add Évenements';
|
||||
$labels->edit_item = 'Edit Évenements';
|
||||
$labels->new_item = 'Évenements';
|
||||
$labels->view_item = 'View Évenements';
|
||||
$labels->search_items = 'Search Évenements';
|
||||
$labels->not_found = 'No Évenements found';
|
||||
$labels->not_found_in_trash = 'No Évenements found in Trash';
|
||||
$labels->all_items = 'All Évenements';
|
||||
$labels->menu_name = 'Évenements';
|
||||
$labels->name_admin_bar = 'Évenements';
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user