[wp-hackers] Re: print style sheets
Benedict Eastaugh
ionfish at gmail.com
Sat Dec 29 21:58:48 GMT 2007
Providing a print stylesheet is the responsibility of the theme
author. If WordPress' default and classic themes don't have them then
it would be good to add them.
If you're writing a plugin which adds a print stylesheet, just add the
link via the wp_head hook.
Tarski includes a print stylesheet, it's fairly basic but they're
really not a lot of work to write: just some basic element styles and
then hide headers, footers and the like.
http://tarski.googlecode.com/svn/branches/2.0/library/css/print.css
On 29/12/2007, Stephanie Booth <bunnylists at gmail.com> wrote:
> On Dec 29, 2007 5:06 PM, Doug Smith <doug at smithsrus.com> wrote:
> > I figure that if someone is capable of editing a css file, they're
> > also capable of adding a line in the theme header. So why bother with
> > the extra overhead of a plugin? Besides, it really is a theme specific
> > issue because you are typically turning off the printing of particular
> > items, and that depends on how they are constructed and named in the
> > theme.
>
> quite true. however:
>
> I'm trying to move all my mods out of the theme. Too annoying when
> there are theme updates and you have a dozen or so small changes to
> make again and again -- bound to forget one.
>
> Also, my idea is to provide a css print file which works with Sandbox
> well. People with no CSS skills, but who want their sandbox-based blog
> to look OK in print could use it. If I need to create the css file
> myself, I can do it without any trouble, but I'd rather not reinvent
> the wheel.
>
> I think I'm more or less sorted out regarding this problem. wp-head to
> insert the link, and I've got a few ressources to do the css.
>
> thanks (if somebody DOES have a print.css working with sandbox,
> though, it's not too late to send it my way -- probably won't be
> working on this before Monday).
>
> Steph
> --
> web: http://stephanie-booth.com
> blog: http://climbtothestars.org
> skype: steph-booth or +41 44 586 42 74 | cell: +41 78 625 44 74
> ICQ: 23836265 | MSN: gummywabbit at hotmail.com | AIM: Gummywabbit
> For the rest... Google me!
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
More information about the wp-hackers
mailing list