I’m trying to access the theme editor in WordPress, but I can’t find the option under Admin > Appearance > Editor. When I attempt to access it directly via the URL nameofsite(.)com/wp-admin/theme-editor.php, I receive the error message: “You do not have sufficient permissions to access this page.” I’m logged in as an administrator. Why is the editor option missing?
It's likely due to iThemes Security and its settings. To resolve this, access your wp-config file and set DISALLOW_FILE_EDIT to false: define( 'DISALLOW_FILE_EDIT', false ); Alternatively, you can disable it from the WordPress dashboard by navigating to Dashboard -> Security -> WordPress Tweaks -> Configure Settings, then unchecking "Disable File Editor".
It’s likely due to iThemes Security and its settings. To resolve this, access your wp-config file and set DISALLOW_FILE_EDIT to false:
Alternatively, you can disable it from the WordPress dashboard by navigating to Dashboard -> Security -> WordPress Tweaks -> Configure Settings, then unchecking “Disable File Editor”.
See lessThanks for the solution brother
Thanks for the solution brother
See less