Some clients who are not too good with technology find the term “post” a bit confusing, while “article” can be seen as much self-explanatory. Here’s how to fix that in WordPress.
[php]//gettext: This filter hook is applied to the translated text
//by the internationalization functions (__(), _e(), _x(), etc.).
//This filter is always applied even if internationalization
//is not in effect, and if the text domain has not been loaded.
add_filter(‘gettext’, ‘change_post_to_article’);
//ngettext: the plural version of gettext
add_filter(‘ngettext’, ‘change_post_to_article’);
function change_post_to_article($translated) {
$translated = str_ireplace(‘Post’, ‘Article’, $translated);
return $translated;
}
[/php]