Monday, October 7, 2013

Disable publishers Theme & WordPress Plugin

No Key To My Code
After long hours of work, then you just set up a WordPress site for a customer, and/or you are more directors on the site. You do not want them to change the code of the theme or plugin. There is a simple way to achieve this.

Add Code
Open the "wp-config.php" to the root of the wordpress folder and add this line file:

define('DISALLOW_FILE-EDIT', true);
Back then visit the WordPress table edge to see the immediate disappearance of the menu "Editor" in the category of "Appearance" menu of the site.
Share it Please

0 comments:

Post a Comment

Copyright @ 2013 Johnny Gagnon blog. Designed by Templateism | Love for The Globe Press