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

Maarec 30, 2017
Easily gives you a box at the bottom of each page to add in your own CSS and JS. sweet! Thanks!!!
Disambor 19, 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

Contributors & Developers

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

Contributors

Translate “CSS JS Files” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

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