2012-02-24, 12:35:03
Hi Guys,
How do I restrict edits to certain core files of my theme or hide them?
For example on the page:
/admin/theme-edit.php
The user can edit or see all the theme files in /innovation and make edits to the core theme files to modify styles, layout e.t.c
But I want to restrict access to files like functions.php or template.php in my /innovations theme folder. How do I restrict or better still HIDE those files from been seen or edited in the theme-edit.php page in admin but still allow the users to see and edit others files I want them to be able to edit?
I have had issues with a few breaks, because someone thought they were editing a certain page, but they were editing core theme files. Thanks as always for your suggestions and any help will be appreciated.
Cheers,
C&K
How do I restrict edits to certain core files of my theme or hide them?
For example on the page:
/admin/theme-edit.php
The user can edit or see all the theme files in /innovation and make edits to the core theme files to modify styles, layout e.t.c
But I want to restrict access to files like functions.php or template.php in my /innovations theme folder. How do I restrict or better still HIDE those files from been seen or edited in the theme-edit.php page in admin but still allow the users to see and edit others files I want them to be able to edit?
I have had issues with a few breaks, because someone thought they were editing a certain page, but they were editing core theme files. Thanks as always for your suggestions and any help will be appreciated.
Cheers,
C&K