hide certain template files in apearance editor

Is there a way to hide certain template files from Appearance > Editor? Only want files that should be editable to display in the listing in the right hand column. This is in order to reduce clutter, not a permissions type of issue. Thanks!

2 Answers
2

Yes, there is a way to hide template files from WordPress’ Appearance Editor. All you need to do is move the files so that it is two folders deep from your theme folder.

theme-folder/two/folders/template.php

Doing this should keep it from showing up in the editor.

Hope this helps.

Leave a Comment