[wp-hackers] WP Theme Directory Submission Restrictions

Otto otto at ottodestruct.com
Mon Oct 6 13:56:25 GMT 2008


On Mon, Oct 6, 2008 at 8:39 AM, Ptah Dunbar <pt at ptahd.com> wrote:
> Seems like the uploader script to add a new theme in the Themes directory
> *requires* theme authors to have the Alignment/Caption classes in the
> style.css file. Not cool.
>
> Is it possible to have the script check for @imports in the style.css? That
> would be _super_ awesome.
>
> Reason being is that many clever theme authors like to import all their
> styles (which includes the alignment/caption classes too) giving their theme
> a greater control over their stylesheets and a lot more extensibility for
> the theme in question. It also makes things much more organized and clean
> looking in the styles.css file.

It also makes things super slow as the browser now has to individually
load every one of those files when the page is loaded.

Please, stop doing this. It's not clever, and it's a little bit
annoying. A well designed theme should have one and only one CSS file.
It's acceptable to have extra files like that only when you're doing
advanced theme control, like changing header colors and such via the
theme's administration page.

-Otto


More information about the wp-hackers mailing list