Rename “post” to “article” throughout the admin back end

Is there a way to accomplish this by the functions.php file ?

I tried:

Read More
add_filter(  'gettext',  'change_post_to_article'  );
add_filter(  'ngettext',  'change_post_to_article'  );

function change_post_to_article( $translated ) {

   $translated = str_ireplace(  'Post',  'Article',  $translated );

   return $translated;

}

but it does not change all the entries for “post”. I still have “Post tags” for example.

Any suggestion?

Related posts

Leave a Reply

1 comment