Changing Posts To Articles In The WordPress Dashboard

The WordPress user dashboard is simple to customize and many WordPress web designers seek to offer a custom dashboard for their clients. In regards to a possible client’s website which may offer articles in a news format or style, the title “Articles” opposed to “Posts” would be much more suitable and less confusing inside the WordPress dashboard for this client.

Change WordPress Posts To Articles Dashboard

  • Included is a simple PHP snippet which will change the words “Posts” and “All Posts” to “Articles” and “All Articles” (as shown in the image).

Down Copy and paste the snippet below into your functions.php file

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;
}
  • How to change the Howdy greeting message
  • Reader Interactions

    Comments

    Leave a Reply

    Your email address will not be published.