Simpler Plugins Blog

Updates about the “Simpler” plugins for WordPress

Archive for March 2009

Simpler CSS 0.2b

leave a comment »

Version 0.2b of the Simpler CSS plugin provides new functionality.

  • Default CSS setting / default text
  • Cleaner cleaning
    • Quotes in CSS no longer escaped
    • @import and CSS comments are now stripped

A new default CSS setting shows on the options page for new users who have just discovered the custom CSS feature. By default, introductory text is shown to let users know what the plugin does. This default text can be edited in the plugin file — very useful for WordPress µ hosts.

Default text on Simpler CSS options page

Default text on Simpler CSS options page

Version 0.2b also fixes a problem where CSS properties that have quotes, such as font-family: "Times New Roman", Georgia, serif; may be escaped by the PHP function htmlspecialchars(). ENT_NOQUOTES is now used so that quotes in CSS code are not erroneously escaped.

This new plugin uses Perl regular expressions to strip out @import rules (to prevent the loading of external stylesheets — useful only for WordPress µ hosts that want to limit their users’ capabilities) and CSS comments (to reduce output size). Further filtering will be added in future versions in a way that allows them to be disabled or enabled.

Download version 0.2b of Simpler CSS

(We’re skipping the 0.2 release because that one had a link to the old Simpler Plugins site, which has been switched to this blog.)

Advertisements

Written by Frederick

March 9, 2009 at 4:24 pm

Posted in Simpler CSS

Tagged with

Simpler CSS 0.1

leave a comment »

Version 0.1 of Simpler CSS was released today after the project was added to the WordPress Plugin Directory.

This is the initial version; version 0.2 will be coming within the next few days, allowing for a WordPress.com-style default message and regular expression-based filtering.

Download version 0.1

Written by Frederick

March 8, 2009 at 2:26 pm

Posted in Simpler CSS

Tagged with

Simpler CSS plugin coming

leave a comment »

Building upon the Custom User CSS plugin by Jeremiah Orem, I’ve developed a Simpler CSS plugin that “just works”. Drop it into the `mu-plugins` folder on a WordPress µ installation, and you’ve just provided all your users with the ability to add custom styling to their blogs.

How it looks in the Appearance menu

How it looks in the Appearance menu

Screenshot of the Simpler CSS Options page

Screenshot of the Simpler CSS Options page

Coming soon — once the plugin is admitted onto the repository and directory.

(Unlike the Simpler iPaper plugin, which was released under the Apache License, this plugin will be released under the GPL in order to comply with the licensing of the project from which it was forked.)

Download a pre-release version.

Written by Frederick

March 6, 2009 at 7:58 pm

Posted in Simpler Development

Tagged with ,