How to Change the Names of Posts Menu items

If you frequently use WordPress, you are likely familiar with the term “Posts” which refers to blog articles and news updates. However, this term may not be clear to clients who are new to WordPress. The good news is that WordPress offers a high level of customization, allowing you to change the default labels used in the platform and make them more understandable for your clients.

In this article, we will guide you through the process of rename WordPress admin menu items related to posts in WordPress. By adding some custom functions to your theme’s functions.php file, you can easily modify the label used for the “Posts” content type in the admin menu.

Here’s an example of how you can change “Posts” to “News” using a custom code:

WordPress menu customization
Posts label before modifying the Post Label

For example, you can change “Posts” to “News” by using the following code:

// Rename WordPress admin Menu Items
function change_post_menu_label() {
global $menu_name;
global $submenu_name;
$menu[5][0] = 'News';
$submenu['edit.php'][5][0] = 'News';
$submenu['edit.php'][10][0] = 'Add News';
$submenu['edit.php'][15][0] = 'Newstype'; // Change name for categories
$submenu['edit.php'][16][0] = 'Newstag'; // Change name for tags
echo '';
}
add_action( 'admin_menu', 'for_change_the_post_menu_label' )
Rename WordPress Admin Menu Items
Modify the WordPress Posts menu

By utilizing this function, you can also modify the labels for “Categories” and “Tags,” providing even more customization options for the admin menu to better suit your project’s specific needs.

Additionally, you can change the post-type meta label using the following code:

$wp_post_types['post']->labels; 
function for_change_post_type_labels() { 
global $wp_post_types;  
$postLabels = $wp_post_types['post']->labels; 
$postLabels->name= 'News'; 
$postLabels->singular_name= 'News';
$postLabels->add_new= 'Add News'; 
$postLabels->add_new_item = 'Add News'; 
$postLabels->edit_item= 'Edit News'; 
$postLabels->new_item = 'News'; 
$postLabels->view_item= 'View News'; 
$postLabels->search_item= 'Search News'; 
$postLabels->not_found= 'Nothing found News'; 
$postLabels->not_found_in_trash = 'No News found in Trash'; }
add_action( 'init', 'for_change_post_type_labels' ); 
Change  WordPress Posts Submenus Labels

This code allows you to change the post type meta label, providing more flexibility in customizing your WordPress menu.

Now, let’s discuss how to rename other admin menu items in WordPress.

To modify the WordPress menu, it is crucial to understand how the order of menu items is managed within the platform. Each menu and submenu in WordPress has a unique identifier called a ‘key.’ The top-level menu has its own key, while each submenu has a child key corresponding to the key of the top-level menu.

Understanding these default keys is essential for reorganizing your menu and achieving the desired layout for your website. Here is a list of the default keys and their corresponding menu items:

MenuKeyLink URL
Dashboard2index.php
  – Home0index.php
Separator (first)4separator1
Posts5edit.php
  – All Posts5edit.php
  – Add New10post-new.php
  – Categories15edit-tags. php?taxonomy=category
  – Tags16edit-tags.php?taxonomy=post_tag
Media10upload.php
  – Library5upload.php
  – Add New10media-new
Links15link-manager.php
  – All Links5link-manager.php
  – Add New10link-add.php
  – Link Categories15edit-tags.php?taxonomy=link_category
Pages20edit.php?post_type=page
  – All Pages5edit.php?post_type=page
  – Add New10post-new.php?post_type=page
Comments25edit-comments.php
  – All Comments0edit-comments.php
Separator (Second)59separator2
Appearance60themes.php
  – Themes5themes.php
  – Widgets7widgets.php
  – Menus10nav-menus.php
Plugins65plugins.php
  – Installed Plugins5plugins.php
  – Add New10plugin-install.php
  – Editor15plugin-editor.php
Users70users.php
  – All Users5users.php
  – Add New10user-new.php
  – Your Profile15profile.php
Tools75tools.php
  – Available Tools5tools.php
  – Import10import.php
  – Exports15export.php
Settings80options-general.php
  – General10options-general.php
  – Writing15options-writing.php
  – Reading20options-reading.php
  – Discussion25options-discussion.php
  – Media30options-media.php
  – Privacy35options-privacy.php
  – Permalinks40options-permalink.php

How to rename WordPress Admin menu items by using Plugin?

The Admin Menu Editor plugin is a powerful tool that allows WordPress users to customize their admin menu easily. This plugin offers a simple and user-friendly interface that enables users to rename menus and submenus to their WordPress dashboard.

With the Admin Menu Editor plugin, users can easily control the visibility of the menu items for different user roles. This is useful for site owners who want to streamline the dashboard for their users, providing them with a clean and intuitive experience. Moreover, the plugin offers support for various add-ons, which allows users to further enhance their WordPress dashboard with custom menus and widgets.

Changing menu names using the Admin Menu Editor plugin is a straightforward process. Here are the steps to follow:

  1. Install and activate the Admin Menu Editor plugin on your WordPress site.
how to install admin menu editor
  1. Navigate to the ‘Settings’ tab of your WordPress dashboard and click on ‘Menus Editor’.
  1. Locate the menu item you wish to change and hover over it. You should see an edit icon (pencil) appear next to the item. Click on the edit icon to open the menu item’s settings.
Menu editor enviornment
  1. You can change the name in the menu item’s settings by modifying the ‘Menu Text’ field. Type in the new name you want for the menu item.
Change menu items name
  1. Click ‘Save Changes’ to apply the changes.
  2. Repeat steps 4 to 6 for any other menu items you wish to rename.
  3. Once you have finished making changes, click on the ‘ Save Changes ‘ button to save the updated menu.

By following these steps, you can quickly and easily rename WordPress Admin menu items using the Admin Menu Editor plugin.

Final Words

In conclusion, customizing the WordPress admin menu to suit your client’s needs better is an easy way to improve the user experience and make the platform more accessible for everyone. By changing the “Posts” menu label to something more client-friendly, you can simplify the interface and help clients better understand how to use WordPress.

If you’re looking to make this change on your WordPress website, then head over to WPGuiders for a step-by-step guide. While you’re there, be sure to check out their other helpful resources on WordPress customization and website optimization. With the right tools and knowledge, you can take your website to the next level and create a seamless user experience for your visitors.

Popular Articles

Categories