Forums

WP2.6 Theme Editor: Stylesheet Theme Name changes causes error (3 posts)

  1. craiger
    Member
    Posted 1 year ago #

    I set up a test server using WP2.6 and placed multiple themes on it.

    I have a couple of themes that are the same but different revisions and I want to be able to know which version is which in the Theme selector menu.

    I went into Theme Editor and added "3.0" to the Theme Name line on the stylesheet and clicked on update. It gave me this error message"The requested theme does not exist".

    When I went back to the Theme menu, the change I made to the stylesheet was there.

    Why would I be receiving this message from a change to the Theme Name Remark Line?

  2. Otto42
    Moderator
    Posted 1 year ago #

    You can't change the Theme Name in real time like that. It's the one thing you can't do through the WordPress editor.

    Think of it like this:
    -Theme name is A.
    -WordPress loads theme A for you to edit.
    -You change it to B.
    -You hit save.
    -WordPress saves the change.
    -WordPress tries to reload the same theme file, to load up in the editor again.
    -WordPress looks for theme A.
    -WordPress can't find theme A because it's been renamed.
    -WordPress gives you an error.

    That's the gist of it. Use FTP to download and edit stuff like that, if you change theme names.

  3. craiger
    Member
    Posted 1 year ago #

    Thanks, learn something new all the time. I typically use FTP & my php & css editors to do any design work.

    Just in this instance, I wanted to quickly add a version number to the title so I could easily see which theme version I want to select when doing support work on Revolution Forum.

Topic Closed

This topic has been closed to new replies.

About this Topic