Title: Manage java and css loads in bulk
Last modified: July 15, 2019

---

# Manage java and css loads in bulk

 *  Resolved [marcorroma](https://wordpress.org/support/users/marcorroma/)
 * (@marcorroma)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/manage-java-and-css-loads-in-bulk/)
 * Hi, thanks for your plugin. I have a question:
    With the Pro version can I manage
   java and css loads in bulk on all posts or only on each post? It would be useful
   to be able to check all the posts in bulk for sites that publish many articles.
   I await a response. Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Gabe Livan](https://wordpress.org/support/users/gabelivan/)
 * (@gabelivan)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/manage-java-and-css-loads-in-bulk/#post-11733792)
 * [@marcorroma](https://wordpress.org/support/users/marcorroma/) You can unload
   CSS/JS in all posts or only on specific post types already in the Lite version.
   For instance, if you use WooCommerce, you can unload a specific CSS file on all/
   product/ pages. Can you be more specific about it? Perhaps some examples would
   be good.
 *  Thread Starter [marcorroma](https://wordpress.org/support/users/marcorroma/)
 * (@marcorroma)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/manage-java-and-css-loads-in-bulk/#post-11735795)
 * Thanks for your answer.
    What I want to do is not upload some scripts for all
   posts in bulk. These scripts must be uploaded to the homepage and unload in all
   posts. And I want to manage the loading of the scripts in the archives. These
   three functions must be independent of each other.
 * At the moment I can only not load a script on the homepage and decide to do the
   same thing throughout the site, but if I want this script to be uploaded to the
   homepage and not loaded into posts how can I do?
 * Thank you
 *  Plugin Author [Gabe Livan](https://wordpress.org/support/users/gabelivan/)
 * (@gabelivan)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/manage-java-and-css-loads-in-bulk/#post-11735839)
 * [@marcorroma](https://wordpress.org/support/users/marcorroma/) Asset CleanUp 
   doesn’t have an upload feature that will allow you to actually add CSS/JS files
   to load on certain pages. It fetches the list of the already loaded assets (CSS/
   JS) and you can choose to unload them or alter the way they load (e.g. if you
   go Pro and defer/async them or minify and combine them).
 * The plugin is kept simple from this perspective as enqueueing styles and scripts
   is done by the plugins and the theme. Asset CleanUp, as its name suggests, helps
   you clean up the “crap” that is not needed on specific pages.
 * Does that help? Or you want to keep a script loaded on the homepage (not upload
   it) and then make sure it doesn’t load on all posts?
 *  Thread Starter [marcorroma](https://wordpress.org/support/users/marcorroma/)
 * (@marcorroma)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/manage-java-and-css-loads-in-bulk/#post-11736246)
 * Thanks for the explanation.
 * What I mean is to have something like this:
    [Image home](https://i.ibb.co/zx6nG0H/Schermata-2019-07-16-alle-15-16-44.png)
   also in posts and archives.
 * Instead in posts and archives I can’t manage the loading of scripts and CSS:
   
   [Image posts](https://i.ibb.co/WFQLB76/Schermata-2019-07-16-alle-15-18-07.png)
 * Example:
    I have 3 scripts in total: Bye.js, Hi.js and Hello.js I want only Bye.
   js to be loaded on the homepage Posts are uploaded by Bye.js, Hi.js and Hello.
   js In the archives only Hi.js and Hello.js
 * How can I do?
 *  Plugin Author [Gabe Livan](https://wordpress.org/support/users/gabelivan/)
 * (@gabelivan)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/manage-java-and-css-loads-in-bulk/#post-11741243)
 * _“Instead in posts and archives I can’t manage the loading of scripts and CSS:”_
   
   You can do that if you follow the instructions mentioned there. Go to “Posts”,“
   All Posts”, click on the title of any post and you will see the meta box “Asset
   CleanUp: CSS & JavaScript Manager”.
 * _“I want only Bye.js to be loaded on the homepage”_
    In this case, just select“
   Hi.js” and “Hello.js” to be unloaded from the homepage and Bye.js (since it’s
   not unloaded) will automatically load by default
 * _“Posts are uploaded by Bye.js, Hi.js and Hello.js”_
    What do you mean by “Posts
   are uploaded”? That’s the part that confused me as you can’t upload any CSS/JS
   via Asset CleanUp. It is meant to clean up pages, not insert any CSS/JS into 
   pages.
 *  Thread Starter [marcorroma](https://wordpress.org/support/users/marcorroma/)
 * (@marcorroma)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/manage-java-and-css-loads-in-bulk/#post-11743565)
 * Ok. You solved my problem.
    Thank you

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Manage java and css loads in bulk’ is closed to new replies.

 * ![](https://ps.w.org/wp-asset-clean-up/assets/icon-256x256.png?rev=1981952)
 * [Asset CleanUp: Page Speed Booster](https://wordpress.org/plugins/wp-asset-clean-up/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-asset-clean-up/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-asset-clean-up/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-asset-clean-up/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-asset-clean-up/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-asset-clean-up/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [java](https://wordpress.org/support/topic-tag/java/)
 * [manage](https://wordpress.org/support/topic-tag/manage/)

 * 6 replies
 * 2 participants
 * Last reply from: [marcorroma](https://wordpress.org/support/users/marcorroma/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/manage-java-and-css-loads-in-bulk/#post-11743565)
 * Status: resolved