WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Uploaded Free Theme...but a Discovery (4 posts)

  1. StyledThemes
    Member
    Posted 1 year ago #

    I just uploaded my first free theme to WordPress.org, but I discovered something during the process where "only" the actual theme zip gets uploaded.

    In my theme I offer a custom.css for anyone wanting to modify the styles but when any updates get released, the user can update the theme without overwriting the custom.css because this file is not part of the theme.

    However, the method of uploading only the theme zip means that the custom.css now has to be "in" the theme, which means updates will overwrite that file and being as it's blank, will delete the users customizations.

    A suggestion is to allow theme developers to upload a "package" zip where we can separate documentation, any extras like that custom.css I have, psd's, and any other relevant files that should not be in the theme itself.

  2. Emil Uzelac
    Theme Review Admin
    Posted 1 year ago #

    Hi GeJay,

    Is there a specific message you're getting from the uploader? custom.css and anything else does not have to be in the theme.zip.

    Thanks,
    Emil

  3. StyledThemes
    Member
    Posted 1 year ago #

    Hi Emil, thanks for the reply. I got the message that it was looking for the style.css when I clicked to upload, which I then realized, I had to upload the actual theme itself. I first tried uploading a zip file that contained the theme zip but also a directory for my theme documentation, another with the custom.css, and also had the changelog, credits, and a support text file separate, but all rolled into a theme-package.zip which is generally how I package my themes, albeit commercial priced themes.

    But discovered that it had to be the theme itself only.

    The idea was to keep the custom.css totally separate from the theme files but still put into the download so that on updates, the user's custom.css doesn't get overwritten.

  4. StyledThemes
    Member
    Posted 1 year ago #

    Just an update Emil.... I decided with the re-submit of my Celestial theme as per your instructions, I rearranged the theme files so that my custom.css is not part of the theme now. Made it easier based on what I was trying to do.
    Cheers!

Topic Closed

This topic has been closed to new replies.

About this Topic