Hide Plugin Name From WP Client

by Blixim
9 replies
I have various WP plugins with developer licences which I'd like to install and use on client sites.

How do I hide the plugin names from the clients so they don't go buy their own plugins and start doing their own SEO?

Is there a way to do this?
#client #hide #plugin
  • Profile picture of the author otfromtot
    You can modify the plugin. From what I've seen on WP plugins the main file is basic.php but I haven't fully written any of my own plugins yet.

    PHP Code:
    /*/
    Plugin Name: Plug in name
    Plugin URI: plugin website
    Description: plugin description
    Version: version number
    Author: plugin author
    Author URI: author website
    License: license holder?
    /*/ 
    Modify this and your client shouldn't be able to tell anything about it. You can also change the folder name in the wordpress "wp-content/plugins" folder
    {{ DiscussionBoard.errors[8324398].message }}
    • Profile picture of the author RobinInTexas
      Modifying the plugin may violate the license. Your best bet would be to not give the client admin privileges.
      Signature

      Robin



      ...Even if you're on the right track, you'll get run over if you just set there.
      {{ DiscussionBoard.errors[8324495].message }}
      • Profile picture of the author otfromtot
        Originally Posted by RobinInTexas View Post

        Modifying the plugin may violate the license. Your best bet would be to not give the client admin privileges.
        You could email the creator and see if they mind, but personally I wouldn't mind if I were selling a plug-in as long as you weren't reselling it.

        If you have dreamweaver you can search the entire plugins folder and see if you can find the title, which I would think is in h1, h2, or h3 tags. I've modified things like this before and it can take a good while!
        {{ DiscussionBoard.errors[8324705].message }}
        • Profile picture of the author MikeOranguu
          Following on from what otfromtot has mentioned about editing the plugin files, i'd suggest an easier route and all in all a route which wouldn't be reversed if the plugin was adapted.

          The most simplest option would be to remove the name with a display:none in css. So use firebug or chrome dev tools to identify the correct css path and then using the below code add your additional display none styles to the admin.

          So in your functions file add this:

          PHP Code:
          function remove_names() {
              echo    
          '<style type="text/css">
                          #element-1,
                          #element-2 {
                              display:none;
                          }
                      </style>'
          ;
          }
          add_action('admin_head''remove_names'); 
          Just replace #element-1/2 with the ids or classes of the things you want to hide.

          A second option is to print some Javascript to the admin footer, the beauty of this is that you could not only hide the names, but instead alter the name of it to match your choosing, as such add this to your function file:

          PHP Code:
          function change_names_js() {
              echo   
          '<script type="text/javascript">
                          jQuery(document).ready(function($){
                              $("#element-1").text("brand new text");
                              $("#element-2").text("brand new text");            
                          });
                      </script>'
          ;
          }
          add_action('admin_footer''change_names_js'9999); 
          Once again just change #element-1/2 to the elements you want to change. Take not of the 9999 parameter on the add_action, we do this so that it is loaded as late as possible in the php, to help ensure jquery has already been loaded in.

          Hope that helps.
          {{ DiscussionBoard.errors[8327596].message }}
          • Profile picture of the author RobinInTexas
            Originally Posted by MikeOranguu View Post

            Following on from what otfromtot has mentioned about editing the plugin files, i'd suggest an easier route and all in all a route which wouldn't be reversed if the plugin was adapted.

            The most simplest option would be to remove the name with a display:none in css. So use firebug or chrome dev tools to identify the correct css path and then using the below code add your additional display none styles to the admin.

            So in your functions file add this:

            PHP Code:
            function remove_names() {
            --
            xx snip   xx-- 
            Just replace #element-1/2 with the ids or classes of the things you want to hide.

            A second option is to print some Javascript to the admin footer, the beauty of this is that you could not only hide the names, but instead alter the name of it to match your choosing, as such add this to your function file:

            PHP Code:
            --xx snip   xx-- 
            Once again just change #element-1/2 to the elements you want to change. Take not of the 9999 parameter on the add_action, we do this so that it is loaded as late as possible in the php, to help ensure jquery has already been loaded in.

            Hope that helps.
            Display none is fine if you are trying to hide something from a browser (IE or Firefox, etc) it is a complete waste of time if you are trying to conceal something from a human .
            Further, any javascript can easily be removed.
            Signature

            Robin



            ...Even if you're on the right track, you'll get run over if you just set there.
            {{ DiscussionBoard.errors[8529610].message }}
    • Profile picture of the author Blixim
      Thanks otfromtot .. !

      I have been Googling for hours and can not find ANY help on this. I have found a code snippet that goes into the functions.php file to re-name the plugin name in the Admin Panel menu (left). Tested it and it works. Great!

      The problem now is on the new page/post itself. Say the client creates a new page/post ... and scroll down below the normal WP title and text boxes ... he gets to the "data input boxes" with the different fields for the specific plugins. Those "data input boxes" has the plugin names on it. The grey banner/title/heading to the box with all the plugin data fields. I need a way to change those "headings" ... ?

      Can any WP php coder help me out here please?
      {{ DiscussionBoard.errors[8324505].message }}
      • Profile picture of the author Blixim
        Thanks RobinInTexas ...

        I hear what you are saying, but I am not looking to change the plugin at all ... just the "labeling" in WP admin and on posts/pages being created. Just the label name that the client will see. After all I do have developers licence ... but what use is it if clients can just see what "tools" I use and go buy their own. I just want to protect my services.
        {{ DiscussionBoard.errors[8324533].message }}
  • Profile picture of the author numberone
    Here we go:
    Code:
    http://wpmasteradmin.com
    Originally Posted by Blixim View Post

    I have various WP plugins with developer licences which I'd like to install and use on client sites.

    How do I hide the plugin names from the clients so they don't go buy their own plugins and start doing their own SEO?

    Is there a way to do this?
    {{ DiscussionBoard.errors[8528444].message }}
    • Profile picture of the author RobinInTexas
      Originally Posted by numberone View Post

      Here we go:
      Code:
      http://wpmasteradmin.com
      Purchasing and installing another plugin that the site owner could easily deactivate using FTP or a file manager would be a waste of time and money.
      Signature

      Robin



      ...Even if you're on the right track, you'll get run over if you just set there.
      {{ DiscussionBoard.errors[8529581].message }}

Trending Topics