How to Change The “Posts” Label to “Articles” in WordPress!

change the “posts” label to “articles”Most of clients are not too good with technology and internet terminologies. Even many clients know about WordPress and used it but some it confuse clients. For example most of clients find the term “Post” and get confused. While term “Article” is much self-explanatory. So let’s change the “Posts” label to “Articles”

Nothing is complicated to do this. Just open the functions.php in your selected theme and past the code bellow in file and save it, you’re done! Enjoy:

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;
}

 

Thanks to Smashing Magazine for the cool tip!