• jonsmadness

    (@jonsmadness)


    Hey guys, I’m a newbie, but I’ve jumped right into theme development. I’ve spent hours trying to learn the basics, which was to be expected, but I’ve run into a really weird problem.

    I was trying to go about creating my own theme via taking an existing theme and editing it to my desire. This was taking entirely too long, as my knowledge of CSS/XHTML is pretty rusty. So, I decided to create my own theme entirely.

    So, the only thing I have uploaded to /themes/customtheme is a index.php, a style.css and an images directory with one .png. The index.php and style.css are straight from desk-mess, with the style’s header changed to reflect my information.

    Editing goes smoothly, until I try and define a template theme for my theme. I believe this is what is causing the problem. When I try and do this, it suddenly brings up an error that says “Requested theme does not exist.” Suddenly, my theme has disappeared! It is not listed in the theme browser, nor can I edit it! The theme is still applied to my page however, I cannot edit it.

    What the heck is up with this?

    EDIT:
    I just attempted to reupload my old style.css from the custom theme that I was working on (the aforementioned one). Seeing as it worked last night, I saw no problem with this. Wrong. It didn’t work, it gave me the same “Requested theme does not exist” error.
    Great. I can’t edit anything that has anything custom in it. WHAT THE HELL?

Viewing 8 replies - 1 through 8 (of 8 total)
  • stvwlf

    (@stvwlf)

    What does this mean?

    … until I try and define a template theme…

    Define a custom page template as in
    http://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates ?

    kevin_klein

    (@kevin_klein)

    My theme just disappeared, like the poster mentioned above.

    The theme is still being applied to pages…but when I go to “Appearance” there are no themes available?

    I’ve been using WordPress for 5 years. This is the first time it’s happened – the files are there and everything.

    esmi

    (@esmi)

    What stvwlf is trying to get across is that you can’t define a template theme for a theme. You can give a theme a name. You can create a template within a theme. But you can’t define a template theme for a theme.

    If you’re trying to give your theme a name, don’t do so whilst it’s active. Either switch to another theme temporarily, name your theme and switch back. or copy your working theme, name the copy and then activate it.

    stream_tpd

    (@stream_tpd)

    My theme disappeared and I cannot log in. My blog is naked.

    whooami

    (@whooami)

    stream_tpd,

    sounds like you changed your url?

    if so, heres the fix:

    http://codex.wordpress.org/Changing_The_Site_URL

    stream_tpd

    (@stream_tpd)

    Thanks…None of those suggestions worked.

    stream_tpd

    (@stream_tpd)

    My site is absolutely ugly!
    http://tutorprofessionaldevelopment.com/

    lalomarquez

    (@lalomarquez)

    How did you guys solved this problem? My custom theme also disappeared and wordpress began using the default theme automatically. My theme doesn’t show among the ones installed.

    I know by experience that wordpress is very good dealing with errors, but this is the first time something like that happens to one of my blogs, and I’m clueless.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Disappearing Custom Theme’ is closed to new replies.