WordPress.org

Ready to get started?Download WordPress

Forums

Upload own themes - Error Message (5 posts)

  1. NiruMani
    Member
    Posted 2 years ago #

    Hi

    When I want to install my own theme then I get the error message

    "The package could not be installed. The style.css stylesheet doesn't contain a valid theme header"

    I used the same theme before with no issues. Is there anything to do with the new version of WP.

    Your early reply if much appreciated.

  2. lakotainc
    Member
    Posted 2 years ago #

    Does your theme have all this kind of information at the top of the stylesheet?

    /*
    Theme Name: Yoko
    Theme URI: http://www.elmastudio.de/wordpress-themes/yoko/
    Description: Yoko is a modern three-column blog theme. A responsive layout optimizes the theme for mobile devices like tablet pcs and modern smartphones (the layout switches to a two- or one-column layout depending on the screen size the theme is viewed on). To make your blog post more flexible you can use different kinds of post formats such as gallery, image, video, aside, link or quotes. To customize the theme you can choose your own background, link color, logo and header image. Yoko also comes with a custom social links widget and shortcodes for text columns, info boxes and highlighted text.
    
    Author: Elmastudio
    Author URI: http://www.elmastudio.de/wordpress-themes/
    Version: 1.0.5
    Tags: light, three-columns, right-sidebar, flexible-width, custom-colors, custom-header, custom-background, custom-menu, theme-options, threaded-comments, sticky-post, translation-ready
    
    License: GNU/GPL Version 2 or later
    License URI: http://www.gnu.org/licenses/gpl.html
    */

    I've edited that information in the past and it's destroyed the theme, made it unusable. You need that information for some reason so make sure it exists.

  3. NiruMani
    Member
    Posted 2 years ago #

    thanks for your reply... that is really fast....

    I used the same theme before... so I have all the information....

    OR any specific information would you like to mention here...???

  4. lakotainc
    Member
    Posted 2 years ago #

    I can't be much more help than that unfortunately, I'm not that great at this stuff. I was fast because i'm waiting around to see if anybody can help me on another thread, haha. If you have that all in place, not sure what else it could be. That is posted from a working theme so if it looks like that it couldn't be an update issue I'd think.

  5. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Is there anything to do with the new version of WP.

    No. Try reviewing Theme Development.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.