Title: Recent Update: Renaming Posts
Last modified: May 7, 2024

---

# Recent Update: Renaming Posts

 *  Resolved [Bri](https://wordpress.org/support/users/tinnyfusion/)
 * (@tinnyfusion)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/recent-update-renaming-posts/)
 * Hi, thanks for the most recent update. However, I noticed that when renaming 
   Posts to anything else then it only renames the menu item but everywhere else
   still refers to Posts and not the new name.
   I normally use the following in my
   functions.php file to rename Posts to Articles and thought I would post it here
   to show the areas that I also rename to keep consistency throughout the site.
 *     ```wp-block-code
       // Rename Posts to Articles
       add_action( 'init', 'change_post_object_label' );
       function change_post_menu_label() {
           global $menu;
           global $submenu;
           $menu[5][0]                 = 'Articles';
           $submenu['edit.php'][5][0]  = 'All Articles';
           $submenu['edit.php'][10][0] = 'Add New Article';
           $submenu['edit.php'][16][0] = 'Tags';
           echo '';
       }
   
       add_action( 'admin_menu', 'change_post_menu_label' );
       function change_post_object_label() {
           global $wp_post_types;
           $labels                     = &$wp_post_types['post']->labels;
           $labels->name               = 'Articles';
           $labels->singular_name      = 'Article';
           $labels->add_new            = 'Add New Article';
           $labels->add_new_item       = 'Add New Article';
           $labels->edit_item          = 'Edit Article';
           $labels->new_item           = 'Article';
           $labels->view_item          = 'View Article';
           $labels->search_items       = 'Search Articles';
           $labels->not_found          = 'No articles found';
           $labels->not_found_in_trash = 'No articles found in Trash';
       }
   
       add_action( 'admin_bar_menu', 'change_wp_admin_bar', 80 );
       function change_wp_admin_bar( $wp_admin_bar ) {
           $new_post_node        = $wp_admin_bar->get_node( 'new-post' );
           $new_post_node->title = 'Article';              // Change title
           $wp_admin_bar->add_node( $new_post_node );      // Update Node
       }
       ```
   

Viewing 1 replies (of 1 total)

 *  Plugin Author [Bowo](https://wordpress.org/support/users/qriouslad/)
 * (@qriouslad)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/recent-update-renaming-posts/#post-17739846)
 * Thanks [@tinnyfusion](https://wordpress.org/support/users/tinnyfusion/)!
 * Let me see what I can do to incorporate your snippet in the next release.

Viewing 1 replies (of 1 total)

The topic ‘Recent Update: Renaming Posts’ is closed to new replies.

 * ![](https://ps.w.org/admin-site-enhancements/assets/icon-256x256.png?rev=3099794)
 * [Admin and Site Enhancements (ASE)](https://wordpress.org/plugins/admin-site-enhancements/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/admin-site-enhancements/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/admin-site-enhancements/)
 * [Active Topics](https://wordpress.org/support/plugin/admin-site-enhancements/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/admin-site-enhancements/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/admin-site-enhancements/reviews/)

## Tags

 * [posts](https://wordpress.org/support/topic-tag/posts/)
 * [rename](https://wordpress.org/support/topic-tag/rename/)

 * 1 reply
 * 2 participants
 * Last reply from: [Bowo](https://wordpress.org/support/users/qriouslad/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/recent-update-renaming-posts/#post-17739846)
 * Status: resolved