Support » Fixing WordPress » HOW TO make theme editor writable

  • altoyes


    hi folks.
    i want to be able to edit my themes from
    Presentation/Theme Editor.

    there is a message down the bottom saying
    If this file were writable you could edit it.

    what do i need to do?


Viewing 7 replies - 1 through 7 (of 7 total)
  • kaylowe


    Use your FTP program and change the permissions on the theme files (header.php, page.php, whatever you want to to be writable, usually 777.

    If you don’t know how to do that, perhaps someone else can explain better.




    If you insist on editing this way, be VERY sure you change the permissions BACK to 644 immediately when you have completed the edits.

    Leaving any folder set to 777 is a security risk. It’s far better to download the theme files, edit them locally using notepad, then upload them to view/check.



    vkaryl and kaylowe:
    i did find more info
    yet it did not say what to change the permissions to.

    i do not want to have to remember to change the permissions each time i edit.
    i think i will not take the risk.
    i will edit them locally.

    i will mark this topic resolved




    EDITED* Ok, that’s even better. 😉 Sorry, replied a bit late.. I need more PEPSI! LOL!

    I usually CHMOD 666 to edit theme files:

    While using an FTP client:

    BUT, Even need to re-CHMOD your theme files back to 644 for security reasons. 😉




    spenderp and all:

    i have concluded this in-built editor would be good to use only on occasions if really necessary.
    but i wanted to be able to access my sidebar.php
    i am constantly wanting to change it.
    and i wanted to avoid having to constantly open a text editor and upload.

    i am currently working with denis to try and get the
    plugin “sidebar-tile” to work on my new wordpress default theme – i guess we will get there in the end.

    i will wait a while before i mark this topic as resolved.



    Ok, that sounds like a good plan to me. Let us know how things work out. =)




    kaylowe, vkaryl, spencerp:
    thankyou for your assistance. i know know how to make sidebar.php writable ie just change the permissions to 766 and remember to change it back again each time.

    you asked me to let you know.
    this post is a bit of a mish-mash because i am mentioning 2 different subjects in the one topic.

    i have mentioned in above post about using sidebar tile plugin to edit sidebar without having to open a text editor.
    the sidebar tile works easily.
    and a brilliant wonderful plugin.
    wrote How To, thinking it might be useful.

    i will mark this topic resolved now. thankyou for your assistance.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘HOW TO make theme editor writable’ is closed to new replies.