Write your own WordPress plugin to rename Posts

Watch out! This tutorial is over 3 years old. Please keep this in mind as some code snippets provided may no longer work or need modification to work on current systems.
Tutorial Difficulty Level    

Quite often when building  a WordPress website you might want to use the Post object to represent something else, for example, a business, a piece of art, a machine etc. So when the editors login, you want them to “Add New Machine”, “Edit Machine” and so on, yes?

This very website uses “Tutorials” rather than “Posts” in the backend, making it much easier for regular editors to navigate. This can be done in several ways, including renaming the menu items with a plugin or including functions in functions.php to override the strings (although you’ll need a combination of both to achieve the full effect).

But how about creating our own small plugin to handle this functionality completely? Use the following as a template for your own plugin and rename the file to be the same name as the class eg. chg_Posts_to_Machine.php. Be sure you have read this post first.

Upload this file to the wp-content/plugins directory and be sure to activate it via the WP Dashboard.