{"id":52731,"date":"2016-12-15T18:57:04","date_gmt":"2016-12-15T18:57:04","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/css-js-files\/"},"modified":"2026-01-26T01:44:39","modified_gmt":"2026-01-26T01:44:39","slug":"css-js-files","status":"publish","type":"plugin","link":"https:\/\/br.wordpress.org\/plugins\/css-js-files\/","author":288652,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.5.6","stable_tag":"trunk","tested":"6.5.8","requires":"4.9.0","requires_php":"","requires_plugins":null,"header_name":"CSS JS Files","header_author":"James Low","header_description":"","assets_banners_color":"","last_updated":"2026-01-26 01:44:39","external_support_url":"","external_repository_url":"","donate_link":"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","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/css-js-files\/","header_author_uri":"http:\/\/jameslow.com","rating":5,"author_block_rating":0,"active_installs":100,"downloads":7922,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"jamesdlow","date":"2016-12-19 08:26:26"},"1.1.0":{"tag":"1.1.0","author":"jamesdlow","date":"2016-12-19 08:29:49"},"1.1.1":{"tag":"1.1.1","author":"jamesdlow","date":"2016-12-19 10:13:25"},"1.2.0":{"tag":"1.2.0","author":"jamesdlow","date":"2016-12-30 07:16:59"},"1.3.0":{"tag":"1.3.0","author":"jamesdlow","date":"2016-12-30 07:40:47"},"1.3.1":{"tag":"1.3.1","author":"jamesdlow","date":"2018-03-16 07:04:40"},"1.3.2":{"tag":"1.3.2","author":"jamesdlow","date":"2018-05-22 22:42:50"},"1.3.3":{"tag":"1.3.3","author":"jamesdlow","date":"2018-05-22 22:42:50"},"1.3.4":{"tag":"1.3.4","author":"jamesdlow","date":"2018-05-23 01:52:22"},"1.3.5":{"tag":"1.3.5","author":"jamesdlow","date":"2018-06-01 11:15:06"},"1.4.0":{"tag":"1.4.0","author":"jamesdlow","date":"2018-10-22 05:29:40"},"1.4.1":{"tag":"1.4.1","author":"jamesdlow","date":"2020-10-26 23:45:25"},"1.4.2":{"tag":"1.4.2","author":"jamesdlow","date":"2020-12-29 04:32:32"},"1.4.3":{"tag":"1.4.3","author":"jamesdlow","date":"2021-08-05 02:20:12"},"1.4.4":{"tag":"1.4.4","author":"jamesdlow","date":"2022-08-12 05:26:09"},"1.4.5":{"tag":"1.4.5","author":"jamesdlow","date":"2022-09-14 22:20:27"},"1.4.6":{"tag":"1.4.6","author":"jamesdlow","date":"2023-10-24 09:24:02"},"1.4.7":{"tag":"1.4.7","author":"jamesdlow","date":"2024-04-26 05:54:11"},"1.4.8":{"tag":"1.4.8","author":"jamesdlow","date":"2024-06-15 08:27:34"},"1.4.9":{"tag":"1.4.9","author":"jamesdlow","date":"2024-06-28 03:20:23"},"1.5.0":{"tag":"1.5.0","author":"jamesdlow","date":"2024-09-05 08:10:56"},"1.5.1":{"tag":"1.5.1","author":"jamesdlow","date":"2024-09-12 07:27:34"},"1.5.2":{"tag":"1.5.2","author":"jamesdlow","date":"2024-09-14 07:21:05"},"1.5.3":{"tag":"1.5.3","author":"jamesdlow","date":"2024-12-15 08:05:19"},"1.5.4":{"tag":"1.5.4","author":"jamesdlow","date":"2026-01-24 10:08:19"},"1.5.5":{"tag":"1.5.5","author":"jamesdlow","date":"2026-01-24 10:18:25"},"1.5.6":{"tag":"1.5.6","author":"jamesdlow","date":"2026-01-26 01:44:39"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"2"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.1.0","1.1.1","1.2.0","1.3.0","1.3.1","1.3.2","1.3.3","1.3.4","1.3.5","1.4.0","1.4.1","1.4.2","1.4.3","1.4.4","1.4.5","1.4.6","1.4.7","1.4.8","1.4.9","1.5.0","1.5.1","1.5.2","1.5.3","1.5.4","1.5.5","1.5.6"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[356,2001,21101,170,86],"plugin_category":[59],"plugin_contributors":[79029],"plugin_business_model":[],"class_list":["post-52731","plugin","type-plugin","status-publish","hentry","plugin_tags-css","plugin_tags-custom-css","plugin_tags-file-css","plugin_tags-page","plugin_tags-post","plugin_category-utilities-and-tools","plugin_contributors-jamesdlow","plugin_committers-jamesdlow"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/css-js-files.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>A simple Wordpress plugin that allows users to select files CSS and\/or write CSS rules to any single page or post or globally<\/p>\n\n<!--section=installation-->\n<p>This section describes how to install the plugin and get it working.<\/p>\n\n<ol>\n<li>Upload entire <code>css-js-files<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>That's it, you'll see a <code>Select CSS\/JS files and\/or write your custom CSS\/JS rules<\/code> metabox on all add or edit posts\/pages.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.5.6<\/h4>\n\n<ul>\n<li>Only use syntax highlighting on global page until it works with gutenburg editor<\/li>\n<\/ul>\n\n<h4>1.5.5<\/h4>\n\n<ul>\n<li>Set tab sizes to 4<\/li>\n<\/ul>\n\n<h4>1.5.4<\/h4>\n\n<ul>\n<li>Add syntax highlighting for CSS\/JS<\/li>\n<\/ul>\n\n<h4>1.5.3<\/h4>\n\n<ul>\n<li>Add version when insert css files so they can be updated for CDNs and other caching models<\/li>\n<\/ul>\n\n<h4>1.5.2<\/h4>\n\n<ul>\n<li>Additional security fixes and improvements to editor<\/li>\n<\/ul>\n\n<h4>1.5.1<\/h4>\n\n<ul>\n<li>Additional fix to vulnerability in editor<\/li>\n<li>Remove PHP 8.X warning<\/li>\n<\/ul>\n\n<h4>1.5.0<\/h4>\n\n<ul>\n<li>Fix vulnerability in editor<\/li>\n<li>Bug fixes and improvements<\/li>\n<\/ul>\n\n<h4>1.4.9<\/h4>\n\n<ul>\n<li>Fix count() error on PHP 8+ when post\/page has no meta<\/li>\n<\/ul>\n\n<h4>1.4.8<\/h4>\n\n<ul>\n<li>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<\/li>\n<\/ul>\n\n<h4>1.4.7<\/h4>\n\n<ul>\n<li>Prevent output of blank CSS\/JS links<\/li>\n<\/ul>\n\n<h4>1.4.6<\/h4>\n\n<ul>\n<li>Restore original sanetization for fields<\/li>\n<\/ul>\n\n<h4>1.4.5<\/h4>\n\n<ul>\n<li>Fix saving of head\/body\/footer fields<\/li>\n<\/ul>\n\n<h4>1.4.4<\/h4>\n\n<ul>\n<li>Compatibility and sanetizing<\/li>\n<\/ul>\n\n<h4>1.4.3<\/h4>\n\n<ul>\n<li>Add admin css\/js<\/li>\n<\/ul>\n\n<h4>1.4.2<\/h4>\n\n<ul>\n<li>Ability to add custom html in the head\/body\/footer hooks<\/li>\n<\/ul>\n\n<h4>1.4.1<\/h4>\n\n<ul>\n<li>Fix JavaScript for latest Wordpress JQuery version<\/li>\n<\/ul>\n\n<h4>1.4.0<\/h4>\n\n<ul>\n<li>Allow remote JavaScript and CSS files and fonts<\/li>\n<\/ul>\n\n<h4>1.3.5<\/h4>\n\n<ul>\n<li>Sort filenames in drop down<\/li>\n<\/ul>\n\n<h4>1.3.4<\/h4>\n\n<ul>\n<li>Fix not echoing global rules introduced in 1.3.3<\/li>\n<\/ul>\n\n<h4>1.3.3<\/h4>\n\n<ul>\n<li>Fix \"PHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable\"<\/li>\n<\/ul>\n\n<h4>1.3.2<\/h4>\n\n<ul>\n<li>Fix \"Parameter must be an array or an object that implements\" warnings<\/li>\n<\/ul>\n\n<h4>1.3.1<\/h4>\n\n<ul>\n<li>Fix for assumed constant warning<\/li>\n<\/ul>\n\n<h4>1.3.0<\/h4>\n\n<ul>\n<li>Bug fix for showing global CSS\/JS on other pages like home\/search etc.<\/li>\n<li>Show post specific CSS\/JS on front page if it is a static page<\/li>\n<li>Show post specific CSS\/JS on posts page<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Bug fix to make global js files actually include<\/li>\n<li>Put global JS files first so that post specific comes after<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Bug fix for initial global CSS\/JS text option<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Global CSS\/JS files and rules<\/li>\n<li>Change CSS\/JS search path<\/li>\n<li>Editor for CSS\/JS files<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initital version<\/li>\n<\/ul>","raw_excerpt":"Select files CSS\/JS and\/or write CSS\/JS rules to any single page or post or globally","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/52731","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=52731"}],"author":[{"embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/jamesdlow"}],"wp:attachment":[{"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=52731"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=52731"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=52731"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=52731"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=52731"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=52731"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}