This plugin hasn’t 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.

Custom Styling (for developers)

Description

Ever want a place where you can put your custom CSS/JS/JQ that would never get over-written? That’s exactly what this plugin does. Even if your theme has a designated area for saving custom CSS/JS/JQ, some other reason you should consider this plugin are:

  • Input areas allow for tab indentation.
  • Doesn’t force you to pay for anything, doesn’t ask for donations, and doesn’t generate any “nags”. User-experience comes first.
  • Ability to save a second, minified version of your CSS/JS/JQ that’s only loaded by the browser and doesn’t replace your human-readable code.
  • Ability to enable Browser caching. This means that the user’s browser will always pull their copy of this CSS/JS/JQ file from its cache instead of asking the server each time.
  • The dynamically-generated filename includes a timestamp of the last time the code was updated. This is done so that updated code is always displayed immediately, even with browser caching enabled.
  • Allows for an alternative domain so that you may use a CDN or Cookieless domain.
  • Uses PHP namespaces to ensure that there are no plugin conflicts.

I also want to give a special “Thank You” to Joe Scylla (for creating an open-source CSS minifier in PHP) and Robert Hafner (for creating an open-source JS minifier in PHP).

Screenshots

  • CSS page.
  • JS/JQ page.
  • Setting page. Note that the CDN options on are blank and disabled by default.

Installation

Via WordPress:

  1. From your website, go to “add new plugins”.
  2. Find this plugin, and click install.
  3. Activate this plugin.

Via FTP:

  1. Download a copy of this plugin from WordPress.org.
  2. Unzip the zip file
  3. Upload the unzipped directory to your website’s plugin directory (/wp-content/plugins/ is the default).
  4. Log into your WordPress site.
  5. Activate this plugin.

FAQ

Q. Will you support language localization in the future?

A. Yes. The only reason I don’t already is because I don’t know how. If you know how and have the time, please send me an email.

Q. Can you add a feature that gives me more than one text area for my CSS/JS/JQ so I can organize it better?

A. No. I’ve put a lot of thought into this and have decided that if your code is unorganized, adding multiple textareas will not help organize it. Use comments to keep your code maintainable.

Contributors & Developers

“Custom Styling (for developers)” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.2

  • Fixed an issue where activating this plugin with other plugins throws an error.

1.0.1

  • Fixed the permalinks issue. Permalinks no longer need to be refreshed after installing this plugin.

1.0

  • Initial Launch
  • Language Localization is a big to-do. Will do when I figure out how and find the time.