Plugin info

Total downloads: 12,708
Active installs: 1,000
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 5/20/2010 (5703 days ago)
Added to WordPress: 2/5/2010 (15 years old)
Minimum WordPress version: 2.8
Tested up to WordPress version: 2.9.2
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 5703 days ago

20/100

Is Custom CSS and JS abandoned?

Possibly abandoned (last update 5703 days ago).

Compatibility

Requires WordPress: 2.8
Tested up to: 2.9.2
Requires PHP: f

Developers

Languages

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Custom CSS and JavaScript
Rating 4.7/5 (60 reviews)Active installs 10,000
Per Post Scripts & Styles
Rating 4.8/5 (6 reviews)Active installs 100
WP Optimize Speed By xTraffic
Rating 3.8/5 (10 reviews)Active installs 70
Easy JS and CSS support.
Rating 0.0/5 (0 reviews)Active installs 30
Specific Files
Rating 5.0/5 (1 reviews)Active installs 20
This page needs files
Rating 5.0/5 (2 reviews)Active installs 10

Description

Custom CSS and JS allows you to add stylesheets and JavaScripts to any individual post by adding custom fields. Both CSS and scripts can be either internal or external. Since this is a plugin, the custom CSS and JavaScript are available to any theme used to display the post, as long as the themes call “wp_head”.

Using the Plugin

To use the plugin, add any combination of the following custom fields to your post.

custom_css
Add an external stylesheet by adding a custom field with the name custom_css. The value of the field should be the path to your css file.

cusrom_css_code
Add an internal stylesheet by adding a custom field with the name custom_css_code. Include your CSS code as the value. (Do not include the style tags.)

custom_js
Add an external JavaScript by adding a custom field with the name custom_js. The value of the field should be the path to your script.

custom_js_code
Add an internal JavaScript by adding a custom field with the name custom_js_code. Include your JavaScript code as the value. (Do not include the script tags.)

Custom Fields Order

  1. The external styles and scripts are included before the internal ones.
  2. If you include multiple entries for a given field, the entries will be included in order.

Okay, but what if I don’t like those tags?

Just edit custom-css-js.php and change the constants defined near the top of the file.

Note

This plugin only works with individual posts and pages. It does not work for list pages (e.g., the index page, search results).

Installation

  1. Unpack the download package.
  2. Upload folder to the “/wp-content/plugins/” directory
  3. Activate the plugin through the “Plugins” menu in WordPress

Frequently Asked Questions

No FAQ available

Review feed

No reviews available

Screenshots

No screenshots available

Changelog

No changelog available