I'm using the plugin Jigoshop and I'd like to change the wording of the admin menu to something other than "Products":
How can I do this? What files need editing?
Read the story....
that's what happens with software people....
Inside the plugin folder check for File: jigoshop_taxonomy.php Line no: 120
You will see
Update it as needed.
As has been note by Geert, you should not edit plug-in files: changes will be overridden with an update (... and you really should be keeping your plug-ins up to date...). The best thing to do is...
Ask the plug-in developers to add a hook to filter the label
For now however you can do one of two things:
since the label is 'translatable' you can use the
While Stephen’s answer is a great way to work with the current situation, a cleaner solution would exist if the plugin developers made a simple change.
Action to be taken by the plugin developers:
First of all, when registering a post type you should set the
When setting the
Update: I opened a pull request on GitHub for these changes in WooCommerce. Jigoshop’s code is probably very similar.
Action to be taken by the plugin user:
Load a custom translation mo-file with a specific translation for the menu name string. In your po-file the entry would look like this:
To load a custom translation file you can hook into the