Support » Themes and Templates » need help: trying to upgrade a theme

  • Resolved bvoges

    (@bvoges)


    I have a theme I want to use that was written, I think, at or about WP 2.4. 2.91 doesn’t even show the theme on the themes page. If I remove everything but style.css, I get a “broken theme” message on the wordpress admin themes page, but as soon as I put back index.php, I get nothing on the themes page about this theme.

    Any suggestions for what might be causing this problem? Even some general clues about how to go about debugging this would be helpful.

    thanks

    PS I’m an experienced coder, so am familiar with debugging in general; just don’t know my way around php or WP themes.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You have to have style.css in the theme directory and it must have identifying information at the top. You can look at the codex to see exactly what you need. You need a screenshot.jpg (or I think .gif and maybe .png) to get a preview. That, header.php, footer.php, and index.php should be the minimal requirements for a theme but depending on your particular theme there may be other requirements. Its hard to say much without knowing what theme you are trying to convert.

    Thread Starter bvoges

    (@bvoges)

    Thanks. I was able to find and fix the problem myself. Turned out the index.php provided with the theme was invalid. Replacing it with the index.php from the default theme fixed everyting.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘need help: trying to upgrade a theme’ is closed to new replies.