Search code examples
wordpresswordpress-themingcustom-wordpress-pageswp-admin

How to rename "Author" label in the WP-admin UI


Check the screenshot below; all I want to do is to rename the "Author" for all users who get access to the backend. And it would be better if it's a global change.

enter image description here


Solution

  • You can use manage_edit-post_columns filter, so add below code to your functions.php file:

    add_filter( 'manage_edit-post_columns', 'rename_author_column' );
    function rename_author_column( $columns ) {
        $columns['author'] = 'Posted by';
        return $columns;
    }
    

    enter image description here

    Update:

    To change the title of author metabox in single post edits, add this code to your functions.php:

    add_action('add_meta_boxes', 'change_author_metabox');
    function change_author_metabox() {
        global $wp_meta_boxes;
        $wp_meta_boxes['post']['normal']['core']['authordiv']['title']= 'Posted by';
    }