I’m making a theme of my own for the first time, currently have a very basic theme (like bare minimum nothing on it and 0 customisation), my plan is to go in the theme file editor under appearances to edit each template/ page’s php file individually but currently when I click to go on the theme file editor it tells me ‘sorry that file cannot be edited’ and I’m unsure on the fix.
Initial google searches show it may be wp-config.php may have disallow_file_edit to true. But that line of code does not even exist on my file so should not be the issue. I have also checked, no plug-in is interfering with it.
How can I fix this, I’m developing my theme via local hosting if that is relevant.
[ad_2]
Did you actually build a “custom theme”, or are you customising a theme… it’s two very different things. Don’t edit themes via the WP file editor – use a proper text editor.