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

Κριτικές

28 Σεπτεμβρίου 2021
Simple plugin to Remove/Defer CSS and Javascript when you don't need them. You can also select specific pages
22 Σεπτεμβρίου 2021
We have been using this plugin for over a year now. We have the free version and it does what we need it to do. No complications and it helps speed up our website. Great job!!!
18 Σεπτεμβρίου 2021
I like, that you can easily set conditional logic for loaded scripts and stylesheets.
Ανάγνωση όλων των 65 κριτικών

Συνεισφέροντες & Προγραμματιστές

“CSS JS Manager, Async JavaScript, Defer Render Blocking CSS supports WooCommerce” είναι λογισμικό ανοιχτού κώδικα. Οι παρακάτω έχουν συνεισφέρει στη δημιουργία του.

Συντελεστές

Το “CSS JS Manager, Async JavaScript, Defer Render Blocking CSS supports WooCommerce” έχει μεταφραστεί σε 1 γλώσσα. Ευχαριστούμε τους μεταφραστές για τις συνεισφορές τους.

Μεταφράστε το “CSS JS Manager, Async JavaScript, Defer Render Blocking CSS supports WooCommerce” στην γλώσσα σας.

Ενδιαφέρεστε για την ανάπτυξη;

Περιηγηθείτε στον κώδικα, ανατρέξτε στο αποθετήριο SVN ή εγγραφείτε στο αρχείο καταγραφής αλλαγών ανάπτυξης μέσω RSS .