2

I have installed a third-party plugin for my wordpress site. What I want is to rename that plugin so that it matches my purpose for installing it. Is it possible?

The plugin I'm trying to modify is CubePoints.. It's a pointing system for the users. But for the sake of better understanding, I'll be calling it MyPoints or something like that.a

When I rename it in the plugin PHP file, it affects only the plugin listing.

But it has a separate menu in the left panel. What I need is it to take effect there, so that the user can see the modified name in their user panel.

2
  • How will changing the name match the purpose of installing it? You risk breaking the update engine or if you manage to update the plugin, your changes will be overwritten.
    – RRikesh
    Nov 12, 2013 at 5:55
  • It's a pointing system for users. The plugin is called CubePoint.. so I'm going to name it MyPoints or something so as to not to confuse the users.
    – Sam DG
    Nov 12, 2013 at 6:10

2 Answers 2

3

Here is the plugin directory structure

yoursite\wp-content\plugins\ [editing-plugin-folder]

open the folder you will find a .php file in there, edit the file using any editor. you can change the name of the plugin in commented area

/*
Plugin Name: Name according to you
Plugin URI:

*/

save the file refresh your wp-admin dashboard and there you go .

8
  • I did so.. but it changes the plugin name in the plugin listing, but not in the wordpress admin left panel. What should I do?
    – Sam DG
    Nov 12, 2013 at 6:13
  • What you exactly want to do ? Please tell me the exact location of the plugin in side dashboard, Is it in settings sub menu or it has a separate menu ? Nov 12, 2013 at 6:26
  • check my main post edit..
    – Sam DG
    Nov 12, 2013 at 6:36
  • edit the file cp_admin.php in initial 8th line you will get this code add_menu_page('CubePoints', 'CubePoints', 'manage_options', 'cp_admin_manage', 'cp_admin_manage'); replace this code with this code add_menu_page('CubePoints', 'Name of Menu You want', 'manage_options', 'cp_admin_manage', 'cp_admin_manage'); anything else you need feel free to ask. Nov 12, 2013 at 7:12
  • brilliant.. it worked.. but when a user clicks My Points in the user panel menu.. it shows CubePoints - My Points there.. could anything be done about it?
    – Sam DG
    Nov 12, 2013 at 7:23
3

Your changes will be overridden in a future plugin update. As a more long term solution I'd recommend using a translation plugin to modify the name OR hook into WP menu generation process and modify the plugin(s) you need.

Not the answer you're looking for? Browse other questions tagged or ask your own question.