WordPress.org

Ready to get started?Download WordPress

Forums

HOW TO make theme editor writable (8 posts)

  1. altoyes
    Member
    Posted 8 years ago #

    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?

    thankyou
    alto

  2. kaylowe
    Member
    Posted 8 years ago #

    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.

    KL

  3. vkaryl
    Member
    Posted 8 years ago #

    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.

  4. altoyes
    Member
    Posted 8 years ago #

    vkaryl and kaylowe:
    thankyou.
    i did find more info
    http://codex.wordpress.org/Editing_Files
    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

    alto

  5. spencerp
    Member
    Posted 8 years ago #

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

    I usually CHMOD 666 to edit theme files:
    http://www.vindictivebastard.net/images2/theme-files-chmod-666-to-edit.gif

    While using an FTP client:
    http://codex.wordpress.org/FTP_Clients

    BUT, Even then..you need to re-CHMOD your theme files back to 644 for security reasons. ;)
    http://www.vindictivebastard.net/images2/chmod-644.gif

    spencerp

  6. altoyes
    Member
    Posted 8 years ago #

    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.

  7. spencerp
    Member
    Posted 8 years ago #

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

    spencerp

  8. altoyes
    Member
    Posted 7 years ago #

    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.

    spencerp:
    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.
    http://wordpress.org/support/topic/88241

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

Topic Closed

This topic has been closed to new replies.

About this Topic