CSS JS Files Plugin
Select files CSS/JS and/or write CSS/JS rules to any single page or post or globally
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.
- Upload entire
css-js-files
folder to the /wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- 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.
Changelog
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
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