Title: Can&#8217;t view Theme Editor
Last modified: March 10, 2020

---

# Can’t view Theme Editor

 *  [andreanyc](https://wordpress.org/support/users/andreanyc/)
 * (@andreanyc)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/cant-view-theme-editor/)
 * Hello, on the backend, there used to be the option under “appearance” to view
   and edit Theme Editor, but now it is is completely gone. We have a bug/piece 
   of code that isn’t working with WP Bakery, and I have no idea where to find it,
   or how to find it, as I don’t have access anymore to the editor.
 * Does anyone know why the theme editor disappears and how to get it back, so you
   can edit it. Or where I can find it to edit (not the most technical person out
   there).
 * Any help is greatly appreciated.

Viewing 11 replies - 1 through 11 (of 11 total)

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [6 years, 3 months ago](https://wordpress.org/support/topic/cant-view-theme-editor/#post-12528710)
 * Look in wp-config.php, as it’s possible to disable it there with `define( 'DISALLOW_FILE_EDIT',
   true );`
 * If that line is there, remove it.
 *  Thread Starter [andreanyc](https://wordpress.org/support/users/andreanyc/)
 * (@andreanyc)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/cant-view-theme-editor/#post-12528728)
 * Okay, do you know where wp-config.php is located on the backend?
 * And do you know why it would be disabled? It was enabled awhile ago. Would a 
   plugin disable it? And is there any reason to have it disabled?
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [6 years, 3 months ago](https://wordpress.org/support/topic/cant-view-theme-editor/#post-12528860)
 * You can’t access it from inside WP. Edit/view via FTP or your hosting control
   panel’s file manager. Plugins can disable it, too. I always disable it on client
   sites — it’s dangerous and no one needs to edit the theme that way. The proper
   way is to download, make a copy, edit, and upload changes. If you screw up, then
   it’s easy to just re-upload the copy of the pre-changed theme.
 *  Thread Starter [andreanyc](https://wordpress.org/support/users/andreanyc/)
 * (@andreanyc)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/cant-view-theme-editor/#post-12529355)
 * Okay. I will look into it. And if you happen to be an expert debugger/coder, 
   please let me know and/or experience with WP Bakery, or know of anyone, would
   be good to know.
 * Thanks for your reply.
 * Andrea
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [6 years, 3 months ago](https://wordpress.org/support/topic/cant-view-theme-editor/#post-12529462)
 * With respect to WP Bakery: You’re using a commercial theme/plugin, so please 
   use their official support channel. We feel they are best equipped to support
   their products.
 * [https://support.wpbakery.com/](https://support.wpbakery.com/)
 * **Commercial products are [not supported in these forums](https://make.wordpress.org/support/trouble/section-1-getting-started/what-is-not-supported).**
 *  Thread Starter [andreanyc](https://wordpress.org/support/users/andreanyc/)
 * (@andreanyc)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/cant-view-theme-editor/#post-12529580)
 * Got it. Is there a place on this forum, where people can help with troubleshooting?
   I need a piece of code removed so that plugin works.
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [6 years, 3 months ago](https://wordpress.org/support/topic/cant-view-theme-editor/#post-12529593)
 * If you’re asking about WP Bakery, then it’s commercial and not supported here.
 *  Thread Starter [andreanyc](https://wordpress.org/support/users/andreanyc/)
 * (@andreanyc)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/cant-view-theme-editor/#post-12529679)
 * What I am asking is there is a piece of code that is breaking my site, regardless
   if it is WP Bakery or any other plugin. This is why I initially asked for how
   to view the theme appearance so it can be corrected.
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [6 years, 3 months ago](https://wordpress.org/support/topic/cant-view-theme-editor/#post-12529690)
 * You’d need to look at the debug logs to find out where the bad code lies.
 * Check the error log on your server. If you can’t find the log, please contact
   your host.
 * Meantime, enable wp_debug and wp_debug_log and after an error, look at wp-content/
   debug.log to see if anything gets logged there. [https://wordpress.org/support/article/debugging-in-wordpress/](https://wordpress.org/support/article/debugging-in-wordpress/)
 * If you need to edit code, don’t. Contact the vendor of the code in question and
   ask for an update.
 *  Thread Starter [andreanyc](https://wordpress.org/support/users/andreanyc/)
 * (@andreanyc)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/cant-view-theme-editor/#post-12529711)
 * Okay, yeah, my problem is the person disappeared.
 * Quick question:
 * enable wp_debug and wp_debug_log and after an error, look at wp-content/debug.
   log to see if anything gets logged there
 * Are those plugins? Or are there plugins that will show where errors are?
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [6 years, 3 months ago](https://wordpress.org/support/topic/cant-view-theme-editor/#post-12529728)
 * No, those are not plugins. Please read the documents I linked. The debug log 
   will show where the errors are. Once you know that, then come back here and we
   can talk about what to do with them.

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Can’t view Theme Editor’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 11 replies
 * 2 participants
 * Last reply from: [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/cant-view-theme-editor/#post-12529728)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
