{"id":97363,"date":"2019-01-31T07:22:38","date_gmt":"2019-01-31T07:22:38","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/css-js-manager\/"},"modified":"2026-04-02T11:40:48","modified_gmt":"2026-04-02T11:40:48","slug":"css-js-manager","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/css-js-manager\/","author":14822905,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.4.49.70","stable_tag":"2.4.49.70","tested":"6.9.4","requires":"3.0.1","requires_php":"","requires_plugins":null,"header_name":"CSS JS Manager, Async JavaScript, Defer Render Blocking CSS","header_author":"Pi Websolution","header_description":"You can controll how to load CSS or JS file, Both CSS and JS can be loaded Asynchronous or Normal. There are many rules that allow you to remove them from different type of pages","assets_banners_color":"d3e2f0","last_updated":"2026-04-02 11:40:48","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/piwebsolution.com","header_plugin_uri":"https:\/\/www.piwebsolution.com\/css-js-manager-documentation\/","header_author_uri":"https:\/\/www.piwebsolution.com","rating":4.8,"author_block_rating":0,"active_installs":1000,"downloads":172739,"num_ratings":90,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","faq","changelog"],"tags":{"2.4.49.24":{"tag":"2.4.49.24","author":"rajeshsingh520","date":"2024-04-17 11:36:27"},"2.4.49.26":{"tag":"2.4.49.26","author":"rajeshsingh520","date":"2024-04-24 12:17:56"},"2.4.49.27":{"tag":"2.4.49.27","author":"rajeshsingh520","date":"2024-05-23 12:19:41"},"2.4.49.29":{"tag":"2.4.49.29","author":"rajeshsingh520","date":"2024-06-27 12:17:43"},"2.4.49.30":{"tag":"2.4.49.30","author":"rajeshsingh520","date":"2024-08-02 12:17:19"},"2.4.49.31":{"tag":"2.4.49.31","author":"rajeshsingh520","date":"2024-08-12 12:25:02"},"2.4.49.32":{"tag":"2.4.49.32","author":"rajeshsingh520","date":"2024-08-27 12:25:24"},"2.4.49.33":{"tag":"2.4.49.33","author":"rajeshsingh520","date":"2024-09-12 08:39:51"},"2.4.49.34":{"tag":"2.4.49.34","author":"rajeshsingh520","date":"2024-10-07 11:45:41"},"2.4.49.36":{"tag":"2.4.49.36","author":"rajeshsingh520","date":"2024-10-28 12:08:10"},"2.4.49.37":{"tag":"2.4.49.37","author":"rajeshsingh520","date":"2024-11-11 11:46:10"},"2.4.49.39":{"tag":"2.4.49.39","author":"rajeshsingh520","date":"2024-12-03 10:06:21"},"2.4.49.40":{"tag":"2.4.49.40","author":"rajeshsingh520","date":"2024-12-19 12:23:54"},"2.4.49.41":{"tag":"2.4.49.41","author":"rajeshsingh520","date":"2025-01-03 11:57:45"},"2.4.49.42":{"tag":"2.4.49.42","author":"rajeshsingh520","date":"2025-01-27 12:46:10"},"2.4.49.43":{"tag":"2.4.49.43","author":"rajeshsingh520","date":"2025-02-21 11:58:27"},"2.4.49.44":{"tag":"2.4.49.44","author":"rajeshsingh520","date":"2025-03-11 12:26:00"},"2.4.49.46":{"tag":"2.4.49.46","author":"rajeshsingh520","date":"2025-04-04 11:57:08"},"2.4.49.47":{"tag":"2.4.49.47","author":"rajeshsingh520","date":"2025-05-16 05:46:47"},"2.4.49.49":{"tag":"2.4.49.49","author":"rajeshsingh520","date":"2025-06-07 01:20:46"},"2.4.49.60":{"tag":"2.4.49.60","author":"rajeshsingh520","date":"2025-08-05 12:23:01"},"2.4.49.61":{"tag":"2.4.49.61","author":"rajeshsingh520","date":"2025-09-03 11:52:56"},"2.4.49.62":{"tag":"2.4.49.62","author":"rajeshsingh520","date":"2025-09-26 11:33:02"},"2.4.49.63":{"tag":"2.4.49.63","author":"rajeshsingh520","date":"2025-10-20 09:25:32"},"2.4.49.64":{"tag":"2.4.49.64","author":"rajeshsingh520","date":"2025-11-11 11:30:02"},"2.4.49.66":{"tag":"2.4.49.66","author":"rajeshsingh520","date":"2025-12-09 09:38:44"},"2.4.49.67":{"tag":"2.4.49.67","author":"rajeshsingh520","date":"2026-02-22 09:14:02"},"2.4.49.69":{"tag":"2.4.49.69","author":"rajeshsingh520","date":"2026-03-15 10:27:33"},"2.4.49.70":{"tag":"2.4.49.70","author":"rajeshsingh520","date":"2026-04-02 11:40:48"}},"upgrade_notice":[],"ratings":{"1":4,"2":0,"3":0,"4":2,"5":84},"assets_icons":{"icon.svg":{"filename":"icon.svg","revision":2540651,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3415127,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3415127,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["2.4.49.24","2.4.49.26","2.4.49.27","2.4.49.29","2.4.49.30","2.4.49.31","2.4.49.32","2.4.49.33","2.4.49.34","2.4.49.36","2.4.49.37","2.4.49.39","2.4.49.40","2.4.49.41","2.4.49.42","2.4.49.43","2.4.49.44","2.4.49.46","2.4.49.47","2.4.49.49","2.4.49.60","2.4.49.61","2.4.49.62","2.4.49.63","2.4.49.64","2.4.49.66","2.4.49.67","2.4.49.69","2.4.49.70"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2222597,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2222597,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2222597,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":2222597,"resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":2222597,"resolution":"5","location":"assets","locale":""}},"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[54247,132326,23131,166687,1513],"plugin_category":[],"plugin_contributors":[153153],"plugin_business_model":[],"class_list":["post-97363","plugin","type-plugin","status-publish","hentry","plugin_tags-async-css","plugin_tags-async-js","plugin_tags-defer-css","plugin_tags-defer-js","plugin_tags-pagespeed","plugin_contributors-rajeshsingh520","plugin_committers-rajeshsingh520"],"banners":{"banner":"https:\/\/ps.w.org\/css-js-manager\/assets\/banner-772x250.png?rev=3415127","banner_2x":"https:\/\/ps.w.org\/css-js-manager\/assets\/banner-1544x500.png?rev=3415127","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/css-js-manager\/assets\/icon.svg?rev=2540651","icon":"https:\/\/ps.w.org\/css-js-manager\/assets\/icon.svg?rev=2540651","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/css-js-manager\/assets\/screenshot-1.png?rev=2222597","caption":""},{"src":"https:\/\/ps.w.org\/css-js-manager\/assets\/screenshot-2.png?rev=2222597","caption":""},{"src":"https:\/\/ps.w.org\/css-js-manager\/assets\/screenshot-3.png?rev=2222597","caption":""},{"src":"https:\/\/ps.w.org\/css-js-manager\/assets\/screenshot-4.png?rev=2222597","caption":""},{"src":"https:\/\/ps.w.org\/css-js-manager\/assets\/screenshot-5.png?rev=2222597","caption":""}],"raw_content":"<!--section=description-->\n<p><a href=\"https:\/\/www.piwebsolution.com\/css-js-manager-documentation\/\">Documentation<\/a><\/p>\n\n<ul>\n<li>Load \/ remove css or js if the request is from a mobile device<\/li>\n<li>Load \/ remove css or js if the request is from a desktop device<\/li>\n<li>Defer Loading of CSS file<\/li>\n<li>Load any JS file Async or Defer<\/li>\n<li>Remove any JS from all the pages, or on some pages based on various conditional rules<\/li>\n<li>Remove any CSS file from all the pages, or on some pages based on various conditional rules<\/li>\n<li>Async any JS file on all the pages or on selective pages<\/li>\n<li>You can remove or add JS file based on post type <\/li>\n<li>You can remove or add CSS file based on post type <\/li>\n<li>You can remove or add JS file based on page id <\/li>\n<li>You can remove or add CSS file based on page id<\/li>\n<\/ul>\n\n<h3>Manage critical css<\/h3>\n\n<p>Now you can load different critical css for different pages or post or custom post type and optimize your site for speed<\/p>\n\n<blockquote>\nStep 1: Go to CSS JS Manager &gt;&gt; Critical CSS setting\nselect the post type where you want to use the Critical CSS, \nSay you want to use it on Post, Product\n\nStep 2: go to Critical CSS &gt;&gt; Add New Critical css\nyou can add as many critical css as you want\nSay you want to have Different critical css for home page, and post, and product \nso you will create 3 different critical css and load the critical css There\n\nUse this to generate critical css https:\/\/www.sitelocity.com\/critical-path-css-generator\n\nStep 3: Go to respective post or page where you will like to use those critical css and select them\n<\/blockquote>\n\n<h3>How to Defer Render Blocking CSS using CSS JS Manager?<\/h3>\n\n<p>[youtube https:\/\/www.youtube.com\/watch?v=ob2oECSMyg8]<\/p>\n\n<h3>How to remove CSS file from complete website or particular page?<\/h3>\n\n<p>[youtube https:\/\/www.youtube.com\/watch?v=D6GBtpSIUMw]<\/p>\n\n<h3>The same steps apply to JS as well just add JS link and select JS from the Drop drop down<\/h3>\n\n<h3>Premium support: We respond to all support topics within 24 hours<\/h3>\n\n<!--section=faq-->\n<dl>\n<dt id=\"how%20to%20defer%20render%20blocking%20css%20using%20css%20js%20manager%3F\"><h3>How to Defer Render Blocking CSS using CSS JS Manager?<\/h3><\/dt>\n<dd><ul>\n<li>Copy the URL of this file without the query string variable ( without this \u201c?ver=5.0.3\u201c<\/li>\n<li>URL: http:\/\/localhost\/telco\/wp-content\/themes\/twentyseventeen\/style.css<\/li>\n<li>Now Open the CSS JS Manager<\/li>\n<li>Click on \u201cAdd New Resource\u201d<\/li>\n<li>Now add the URL from the Step 2<\/li>\n<li>Set method as \u201cAsync\u201c<\/li>\n<li>Selection Logic \u201cAdd This\u201c<\/li>\n<li>On All Pages<\/li>\n<\/ul><\/dd>\n<dt id=\"how%20to%20remove%20css%20file%20from%20complete%20website%3F\"><h3>How to remove CSS file from complete website?<\/h3><\/dt>\n<dd><p>You have a css file that is not used in your website and you want to remove it from your website completely.<\/p>\n\n<p>you can do that easily. just follow all the steps given in the Defer process, you can keep the loading method as any thing (as it wont mater as the css will be removed) then at the bottom<\/p><\/dd>\n<dt id=\"if%20you%20want%20to%20allow%20js%20file%20on%20only%20few%20particular%20page%20and%20remove%20from%20all%20other\"><h3>If you want to allow JS file on only few particular page and remove from all other<\/h3><\/dt>\n<dd><p>All the steps remain same, You need to copy the JS file URL, Select Resource type as \u201cJS\u201d from the drop down.<\/p>\n\n<p>Select the method of the loading for the JS (it has Defer, Async, and normal)<\/p>\n\n<p>In selection logic click \u201cAdd this on\u201d<\/p>\n\n<p>Click on \u201cSelected Pages\u201d<\/p>\n\n<p>In the Single Resource ID enter the Page id of the pages where you want this js to be allowed<\/p>\n\n<p>E,g: 1,2,22 this are the ID of the page where this js will be allowed to load an apart from this it wont load on any other page<\/p><\/dd>\n<dt id=\"does%20it%20support%20woocommerce\"><h3>Does it support WooCommerce<\/h3><\/dt>\n<dd><p>Yes, WooCommerce Page tags like is_product, is_category, is_cart, is_shop and other. So you can load or remove script specific to the WooCommerce page rules<\/p><\/dd>\n<dt id=\"i%20want%20to%20remove%20the%20css%20if%20request%20is%20from%20mobile%20device\"><h3>I want to remove the css if request is from mobile device<\/h3><\/dt>\n<dd><p>Yes you can remove css or js based on the device if it is mobile or desktop<\/p><\/dd>\n<dt id=\"i%20want%20to%20async%20a%20js%20file%20for%20mobile%20device\"><h3>I want to async a js file for mobile device<\/h3><\/dt>\n<dd><p>Yes you can do that in the pro version<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.4.49.60<\/h4>\n\n<ul>\n<li>Css JS Manager tested for WC 10.0.2<\/li>\n<\/ul>\n\n<h4>2.4.49.47<\/h4>\n\n<ul>\n<li>Tested for WP 6.8.0<\/li>\n<li>React braking admin panel fixed<\/li>\n<\/ul>\n\n<h4>2.4.49.39<\/h4>\n\n<ul>\n<li>Tested for WC 9.4.0<\/li>\n<\/ul>\n\n<h4>2.4.49.37<\/h4>\n\n<ul>\n<li>Tested for WP 6.7.0<\/li>\n<\/ul>\n\n<h4>2.4.49.36<\/h4>\n\n<ul>\n<li>Tested for WC 9.3.3<\/li>\n<\/ul>\n\n<h4>2.4.49.32<\/h4>\n\n<ul>\n<li>Tested for WC 9.1.4<\/li>\n<\/ul>\n\n<h4>2.4.49.31<\/h4>\n\n<ul>\n<li>Tested for WC 9.1.0<\/li>\n<\/ul>\n\n<h4>2.4.49.30<\/h4>\n\n<ul>\n<li>Tested for WP 6.6.1<\/li>\n<\/ul>\n\n<h4>2.4.49.20<\/h4>\n\n<ul>\n<li>HPOS compatible<\/li>\n<\/ul>","raw_excerpt":"CSS JS Manager, Async JavaScript, Defer Render Blocking CSS, Remove javascript, Remove CSS, Defer Render Blocking CSS, Both CSS and JS can be loaded A &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/97363","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=97363"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/rajeshsingh520"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=97363"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=97363"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=97363"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=97363"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=97363"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=97363"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}