Forums

Editing .txt and .html files in Theme Editor (4 posts)

  1. kc257
    Member
    Posted 6 years ago #

    Hey all-
    I'm trying to set up dashboard so it will allow my client to edit a .txt or .html file in the Theme Editor. According to the Codex, both of these files can be edited using Theme Editor. However, when I upload them to my theme directory (/wp-content/themes/default), they don't show up on the right side of the text editor box, even though the permissions as set properly. I went into admin-functions.php and even created an "alias" for the file in question (e.g., 'action_page_link.txt' => __('Action Page Link')), but the file refuses to show up.

    Help!!!

  2. moshu
    Member
    Posted 6 years ago #

    Are you sure the Codex said that about the Theme editor? Not the File editor which is under Managae > Files?

  3. kc257
    Member
    Posted 6 years ago #

    Checked there, too... says they don't exist! :(

    This is the Codex page I'm referring to: http://codex.wordpress.org/Editing_Files

  4. moshu
    Member
    Posted 6 years ago #

    OK, I've uploaded the readme.txt file in my theme folder ("maple") and after several failed attempts, I figured out it will work if I put this in the Other files field at the bottom of the Manage > Files page:
    wp-content/themes/maple/readme.txt
    It still has to be chmodd to 666 to be able to edit, but at least it doesn't say the file doesn't exist :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags