fix date && isotope

This commit is contained in:
2020-07-07 12:50:56 +02:00
parent 051a6e3675
commit 875d1914b4
6 changed files with 78 additions and 46 deletions
+19 -1
View File
@@ -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';
}
?>