A simple (mu-)plugin enabling custom CSS on WordPress and WordPress µ blogs.
Author: | Frederick Ding (profile at wordpress.org) |
WordPress version required: | 2.7 |
WordPress version tested: | 3.0-alpha |
Plugin version: | 0.5 |
Added to WordPress repository: | 08-03-2009 |
Last updated: | 26-01-2010
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | http://simplerplugins.wordpress.com/ |
Total downloads: | 5 358 |
Active installs: | 200+ |
Click to start download |
This Simpler CSS mu-plugin allows WordPress µ hosts to enable users to add custom stylesheets to their blogs.
The plugin creates a new menu item under the Appearance menu in WordPress 2.7 that allows users to enter custom CSS code that will be injected into the
<head>
section of their blog. The CSS is stored in the blog's options table and is filtered through a standard PHP function before being outputted, preventing the user from inserting malicious code into the header.
For non-WordPress µ blogs, this plugin provides an easy way to modify the appearance of installed themes or plugins (such as Sociable) without modifying theme/plugin files that may change with upgrades. No write access is required to any files for Simpler CSS to function, as it stores its data in the database's options table — and that means theme/plugin upgrades won't impact your custom CSS.
The custom CSS will only show when the theme has the necessary wp_header()
function
in the <head>
section, as most themes now do.
Props go to Jeremiah Orem who created the original Custom User CSS plugin on the directory. I merely took that, contributed a thorough readme.txt, and fixed the code to add the menu item under the Appearance menu.