Title: CSS JS Files
Author: jamesdlow
Published: <strong>15 Dicember 2016</strong>
Last modified: 26 Sginer 2026

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/css-js-files.svg)

# CSS JS Files

 By [jamesdlow](https://profiles.wordpress.org/jamesdlow/)

[Download](https://downloads.wordpress.org/plugin/css-js-files.zip)

 * [Details](https://lmo.wordpress.org/plugins/css-js-files/#description)
 * [Reviews](https://lmo.wordpress.org/plugins/css-js-files/#reviews)
 *  [Installation](https://lmo.wordpress.org/plugins/css-js-files/#installation)
 * [Development](https://lmo.wordpress.org/plugins/css-js-files/#developers)

 [Support](https://wordpress.org/support/plugin/css-js-files/)

## Description

A simple WordPress plugin that allows users to select files CSS and/or write CSS
rules to any single page or post or globally

## Installation

This section describes how to install the plugin and get it working.

 1. Upload entire `css-js-files` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. That’s it, you’ll see a `Select CSS/JS files and/or write your custom CSS/JS rules`
    metabox on all add or edit posts/pages.

## Reviews

![](https://secure.gravatar.com/avatar/0462bf0db3b6f2a8665c4b5f5e3a05016d6d7a8c797a4951bbec6a20cb06c664?
s=60&d=retro&r=g)

### 󠀁[Works as expected!](https://wordpress.org/support/topic/works-as-expected-297/)󠁿

 [Jeffrey Maher](https://profiles.wordpress.org/iws_ottawa/) 30 Marz 2017

Easily gives you a box at the bottom of each page to add in your own CSS and JS.
sweet! Thanks!!!

![](https://secure.gravatar.com/avatar/8c0ced2ad5a0c50ec3a0903b1d1946b4309a9b5e4ed01ff7f8d40bc710f49e3e?
s=60&d=retro&r=g)

### 󠀁[BRAVO !!!](https://wordpress.org/support/topic/bravo-62/)󠁿

 [nick6352683](https://profiles.wordpress.org/nick6352683/) 19 Dicember 2016

If I could give it 20 stars, I would! My themes now can be configured and look completely
different, in real time, per post/page basis, decided by the user, and not me, the
theme author. Just brilliant !!! I was using 2 other pieces of code to do the same,
but each had it’s limitations.

 [ Read all 2 reviews ](https://wordpress.org/support/plugin/css-js-files/reviews/)

## Contributors & Developers

“CSS JS Files” is open source software. The following people have contributed to
this plugin.

Contributors

 *   [ jamesdlow ](https://profiles.wordpress.org/jamesdlow/)

[Translate “CSS JS Files” into your language.](https://translate.wordpress.org/projects/wp-plugins/css-js-files)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/css-js-files/), check
out the [SVN repository](https://plugins.svn.wordpress.org/css-js-files/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/css-js-files/) by
[RSS](https://plugins.trac.wordpress.org/log/css-js-files/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.5.6

 * Only use syntax highlighting on global page until it works with gutenburg editor

#### 1.5.5

 * Set tab sizes to 4

#### 1.5.4

 * Add syntax highlighting for CSS/JS

#### 1.5.3

 * Add version when insert css files so they can be updated for CDNs and other caching
   models

#### 1.5.2

 * Additional security fixes and improvements to editor

#### 1.5.1

 * Additional fix to vulnerability in editor
 * Remove PHP 8.X warning

#### 1.5.0

 * Fix vulnerability in editor
 * Bug fixes and improvements

#### 1.4.9

 * Fix count() error on PHP 8+ when post/page has no meta

#### 1.4.8

 * Remove code that deletes meta on move to trash as this was not working anyway
   and we may want to restore if restored from trash

#### 1.4.7

 * Prevent output of blank CSS/JS links

#### 1.4.6

 * Restore original sanetization for fields

#### 1.4.5

 * Fix saving of head/body/footer fields

#### 1.4.4

 * Compatibility and sanetizing

#### 1.4.3

 * Add admin css/js

#### 1.4.2

 * Ability to add custom html in the head/body/footer hooks

#### 1.4.1

 * Fix JavaScript for latest WordPress JQuery version

#### 1.4.0

 * Allow remote JavaScript and CSS files and fonts

#### 1.3.5

 * Sort filenames in drop down

#### 1.3.4

 * Fix not echoing global rules introduced in 1.3.3

#### 1.3.3

 * Fix “PHP message: PHP Warning: count(): Parameter must be an array or an object
   that implements Countable”

#### 1.3.2

 * Fix “Parameter must be an array or an object that implements” warnings

#### 1.3.1

 * Fix for assumed constant warning

#### 1.3.0

 * Bug fix for showing global CSS/JS on other pages like home/search etc.
 * Show post specific CSS/JS on front page if it is a static page
 * Show post specific CSS/JS on posts page

#### 1.2.0

 * Bug fix to make global js files actually include
 * Put global JS files first so that post specific comes after

#### 1.1.1

 * Bug fix for initial global CSS/JS text option

#### 1.1.0

 * Global CSS/JS files and rules
 * Change CSS/JS search path
 * Editor for CSS/JS files

#### 1.0.0

 * Initital version

## Meta

 *  Version **1.5.6**
 *  Last updated **2 months ago**
 *  Active installations **100+**
 *  WordPress version ** 4.9.0 or higher **
 *  Tested up to **6.5.8**
 *  Language
 * [English (US)](https://wordpress.org/plugins/css-js-files/)
 * Tags
 * [css](https://lmo.wordpress.org/plugins/tags/css/)[custom css](https://lmo.wordpress.org/plugins/tags/custom-css/)
   [file css](https://lmo.wordpress.org/plugins/tags/file-css/)[page](https://lmo.wordpress.org/plugins/tags/page/)
   [post](https://lmo.wordpress.org/plugins/tags/post/)
 *  [Advanced View](https://lmo.wordpress.org/plugins/css-js-files/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/css-js-files/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/css-js-files/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/css-js-files/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/css-js-files/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/css-js-files/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/css-js-files/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/css-js-files/reviews/)

## Contributors

 *   [ jamesdlow ](https://profiles.wordpress.org/jamesdlow/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/css-js-files/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=PGV92BZCFTDL4&item_name=Donation%20to%20jameslow%2ecom&currency_code=USD&bn=PP%2dDonationsBF&charset=UTF%2d8)