Not everyone is familiar with WordPress. Furthermore, there are a lot of people who are fairly tech-savvy but have no concept of what a “post†is.
As a developer, sometimes I get asked questions like: “Where are my news and how do I add new ones”. Many people struggle to relate “Posts” with their own “Blog / News”, so this is why I always customise the WordPress navigation tabs. That makes it much easier for me as a developer to differentiate the different posts especially when I have added a few custom ones and also improves the client UX.
The code targets each of the pre-set by WordPress post object’s labels and re-writes them with your custom ones. You can change “Posts” to anything you want. The best practice is to copy the code into your functions.php and experiment with it on your own.
function revcon_change_post_label() { global $menu; global $submenu; $menu[5][0] = 'News'; $submenu['edit.php'][5][0] = 'News'; $submenu['edit.php'][10][0] = 'Add News'; $submenu['edit.php'][16][0] = 'News Tags'; echo ''; } function revcon_change_post_object() { global $wp_post_types; $labels = $wp_post_types['post']->labels; $labels->name = 'News'; $labels->singular_name = 'News'; $labels->add_new = 'Add News'; $labels->add_new_item = 'Add News'; $labels->edit_item = 'Edit News'; $labels->new_item = 'News'; $labels->view_item = 'View News'; $labels->search_items = 'Search News'; $labels->not_found = 'No News found'; $labels->not_found_in_trash = 'No News found in Trash'; $labels->all_items = 'All News'; $labels->menu_name = 'News'; $labels->name_admin_bar = 'News'; } add_action( 'admin_menu', 'revcon_change_post_label' ); add_action( 'init', 'revcon_change_post_object' );