Bunny's Print CSS Plugin Upgrade [en]

[fr] Deuxième version de mon plugin pour insérer automatiquement une feuille de style impression dans n'importe quel thème WordPress. Il y a maintenant un panneau d'administration qui permet d'éditer le CSS directement depuis WordPress -- et le CSS en question a été enrichi.

The [little print CSS plugin](http://climbtothestars.org/archives/2008/01/07/print-css-plugin-wordpress-needs-css-guru/) I threw together the other day has had a little upgrade already, and is also now [available in the WordPress plugin directory](http://wordpress.org/extend/plugins/bunnys-print-css/).

First, [Kjell Knudsen](http://kjell.langvass.org/) was kind enough to add to the very basic [CSS file](/code/print-css/print.css) I provided with the plugin. It’s now a little richer and should support K2, for example. It’s still open to improvement, so don’t hesitate to link to your propositions in the comments! Maybe at some point I’ll be able to offer more than one stylesheet with the option to choose between them.

Option? Oh yes, option. Because, you see, Print CSS now has an option panel. I’m pretty happy, because it’s my first plugin with an options panel, and I’ve been thinking I should learn how to do that for some time now. The options panel doesn’t do much, however: it simply allows you to edit the print CSS file through the WordPress admin area (if the file permissions are right — chmod 777 or something).

I’d like to extend all my thanks to [Yaosan Yeo](http://www.channel-ai.com/blog/), who wrote the [MyCSS](http://wordpress.org/extend/plugins/mycss/) plugin. I heavily lifted the code for the admin panel from it, as it does essentially the same thing: allow the user to edit a CSS file. I’m really loving MyCSS by the way, even if [there is a little capitalization glitch in it](http://wordpress.org/support/topic/152160), because I’m always adding CSS to my themes and it’s a real pain to copy-paste it all over the place each time I switch themes (or from one blog to another).

Off you go now, check out [Bunny’s Print CSS](http://wordpress.org/extend/plugins/bunnys-print-css/) in the WordPress plugin repository!

Similar Posts:

One thought on “Bunny's Print CSS Plugin Upgrade [en]

  1. Hello,

    This plugin is exactly what I am looking forward, thank you for creating it. I am hoping you could assist me, I can’t seem to work out how to remove website menus and footers. Any assistance would be great.

    Kind Regards,

    Bianca Gilchrist

Leave a Reply

Your email address will not be published. Required fields are marked *