CSS JS Manager, Async JavaScript, Defer Render Blocking CSS supports WooCommerce

描述

Documentation

  • Load / remove css or js if the request is from a mobile device
  • Load / remove css or js if the request is from a desktop device
  • Defer Loading of CSS file
  • Load any JS file Async or Defer
  • Remove any JS from all the pages, or on some pages based on various conditional rules
  • Remove any CSS file from all the pages, or on some pages based on various conditional rules
  • Async any JS file on all the pages or on selective pages
  • You can remove or add JS file based on post type
  • You can remove or add CSS file based on post type
  • You can remove or add JS file based on page id
  • You can remove or add CSS file based on page id

Manage critical css

Now you can load different critical css for different pages or post or custom post type and optimize your site for speed

Step 1: Go to CSS JS Manager >> Critical CSS setting
select the post type where you want to use the Critical CSS,
Say you want to use it on Post, Product

Step 2: go to Critical CSS >> Add New Critical css
you can add as many critical css as you want
Say you want to have Different critical css for home page, and post, and product
so you will create 3 different critical css and load the critical css There

Use this to generate critical css https://www.sitelocity.com/critical-path-css-generator

Step 3: Go to respective post or page where you will like to use those critical css and select them

How to Defer Render Blocking CSS using CSS JS Manager?

How to remove CSS file from complete website or particular page?

The same steps apply to JS as well just add JS link and select JS from the Drop drop down

Premium support: We respond to all support topics within 24 hours

螢幕截圖

常見問題

How to Defer Render Blocking CSS using CSS JS Manager?

  • Copy the URL of this file without the query string variable ( without this “?ver=5.0.3“
  • URL: http://localhost/telco/wp-content/themes/twentyseventeen/style.css
  • Now Open the CSS JS Manager
  • Click on “Add New Resource”
  • Now add the URL from the Step 2
  • Set method as “Async“
  • Selection Logic “Add This“
  • On All Pages

How to remove CSS file from complete website?

You have a css file that is not used in your website and you want to remove it from your website completely.

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

If you want to allow JS file on only few particular page and remove from all other

All the steps remain same, You need to copy the JS file URL, Select Resource type as “JS” from the drop down.

Select the method of the loading for the JS (it has Defer, Async, and normal)

In selection logic click “Add this on”

Click on “Selected Pages”

In the Single Resource ID enter the Page id of the pages where you want this js to be allowed

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

Does it support WooCommerce

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

I want to remove the css if request is from mobile device

Yes you can remove css or js based on the device if it is mobile or desktop

I want to async a js file for mobile device

Yes you can do that in the pro version

評價

2023年8月13日
<font style="vertical-align: inherit;"><font style="vertical-align: inherit;">Отличный плагин.</font></font> Спасибо!!!!
2023年7月9日
Works like a charms and very helpful. Many thanks to the developers! Highly recommended ! A+++
2022年11月30日
Every WordPress developer should try this plugin! It's simply awesome! Now I am using this plugin for all my client sites. I have achieved 100 on PSI! Hi @rajeshsingh520 Only one more feature request If you can add defer CSS/JS feature for mobile devices? So, we can only defer CSS/JS on mobile devices or Desktop. Thank you very much for this amazing plugin! Best regards, Sugumar
2022年8月4日
Very effective and easy - I have managed to improve my website speed significantly just by following the simple rules on the description. Definitely recommend people to try out this plugin. Kudos to the developers!
閱讀全部78個評價

貢獻者及開發者

“CSS JS Manager, Async JavaScript, Defer Render Blocking CSS supports WooCommerce” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

CSS JS Manager, Async JavaScript, Defer Render Blocking CSS supports WooCommerce 外掛目前已有 2 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 CSS JS Manager, Async JavaScript, Defer Render Blocking CSS supports WooCommerce 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

2.4.49.13

  • Tested for WP 6.3.0

2.4.49.12

  • Critical error on some customer type fixed

2.4.49.7

  • Tested for WC 7.5 and WP 6.2

2.4.49.6

  • Deprecated warning for FILTER_SANITIZE_STRING fixed