[wp-hackers] Theme development and hooks.
davebytes at comcast.net
Fri Apr 8 15:38:27 GMT 2005
I guess 'the genie is out of the bottle' already. I see providing new
templates in the future as further guidelines, but the reality is different
designers may have varying takes on how to build themes. There's no reason
to 'restrict' them, so long as they provide an interface for telling PHP
what the key elements of the theme construction are.
I am NOT against having a base, common set of CSS -- however, my guess is
that I'd already be breaking rules on my own site, due to SEO. And lord
knows Kubrick, which is now what a large number of new WP sites are based
off of, has its own approach already.
It's easier to add a bunch of variable/functions to the existing way things
are styled than to rewrite the code/css to >attempt< to comply (as
compliance isn't possible in all cases, frankly....).
And I never said 'loads of code'. We're talking a small table of variables,
or accessor functions, for looking up the proper tag+class for specific
types of elements on a page. And a limited set at that.
Maybe I'll try to draft something up if I can get through my taxes in the
next few days... ;)
----- Original Message -----
From: "Graeme Lennon" <graeme at samurai.com>
To: <wp-hackers at lists.automattic.com>
Sent: Friday, April 08, 2005 9:38 AM
Subject: Re: [wp-hackers] Theme development and hooks.
> I'd rather see a document outling recommendations for CSS class names,
> patterned around the common contents of a blog site (sidebar, header,
> footer, comments, caption, etc, etc).
> Most of this stuff can be done, client-side, for free, with CSS and a
> little communicatin between theme and plugin authors. I don't see the
> need to add loads of code.
> David Chait wrote:
>> I agree and disagree -- but that's a separate topic. However, your
>> sentiment reinforces my ORIGINAL point for this discussion:
>> Wouldn't it be great that you could deploy your CSS in your theme
>> however you want, and then via variables/functions tell any/all plugins
>> a little bit about how your theme DOES use divs/h2s/classes/whatever so
>> they can dynamically output HTML that >matches< the look and feel of the
>> rest of your theme/CSS? That's what I'm driving for.
>> ----- Original Message ----- From: "Chris Davis" <chrisdmitri at gmail.com>
>> To: <wp-hackers at lists.automattic.com>
>> Sent: Wednesday, April 06, 2005 9:29 AM
>> Subject: Re: [wp-hackers] Theme development and hooks.
>>> Oh and please don't get me started on CSS standards, I am sorry but no
>>> one will tell me how to structure and deploy my CSS.
>>> That is my choice, and should never be brought into consideration when
>>> talking about creating themes.
>>> wp-hackers mailing list
>>> wp-hackers at lists.automattic.com
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers