CSS JS Files

ཞིབ་བརྗོད།

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

སྒྲིག་འཇུག

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.

གདེང་འཇོག

2017 ལོའི་ཟླ 3 ཚེས 30 ཉིན།
Easily gives you a box at the bottom of each page to add in your own CSS and JS. sweet! Thanks!!!
2016 ལོའི་ཟླ 12 ཚེས 19 ཉིན།
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.
གདེང་འཇོག 2 ཡོངས་སུ་ཀློག

བྱས་རྗེས་འཇོག་མཁན། & གསར་འབྱེད་པ།

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

བྱས་རྗེས་འཇོག་མཁན།

དག་བཅོས་ཉིན་ཐོ།

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