When creating a WordPress powered website for a client you may find that the default WordPress admin navigation menu label of Posts can be confusing when the client is attempting to create news content. A more suitable replacement menu label to use instead of Posts and one which a client should instantly recognise is Articles.
This change is quite easy to achieve by using a few simple WordPress filters and functions which you can copy and paste into your themes 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; }
Leave a Reply
You must be logged in to post a comment.