Support » Plugin: WP Asset CleanUp (Page Speed Optimizer) » Remove script & css on all posts

  • Resolved Recyclart

    (@recyclart)


    Hi!

    Great plugin 🙂
    Just a question, for the js & css on posts, it could be nice to have an option to apply our choices to all the post types. I have more than 4800 posts and it’s impossible to edit all of them to remove script & css of loading.
    For pages it’s ok as in general we have far less pages than posts…
    Just an idea 🙂
    Keep up the good work!

    https://wordpress.org/plugins/wp-asset-clean-up/

Viewing 13 replies - 1 through 13 (of 13 total)
  • nyodulf

    (@nyodulf)

    Yes, I would like this too. For example, the parent theme I’m using loads a custom CSS file that I am not using. I will remove it in functions.php, but it would be useful, in similar cases, to remove files like this for the entire site.

    Plugin Author Gabe Livan

    (@gabelivan)

    Thanks for the feedback, guys! This is the most demanded feature so far and it will be likely the next one added to the plugin. If you’re happy with it so far, I’d appreciate a rating.

    Recyclart

    (@recyclart)

    Another idea should be to be able to clean archives (categories & tags) from not necessary js & css 🙂

    Plugin Author Gabe Livan

    (@gabelivan)

    Yes, that would in future versions of the plugin. What do you think about it so far? Have you tested in on pages/posts and the home page?

    Hi, have just started using this plugin. Very happy that I could stop a css file loading when everything I was trying in the functions.php wasn’t working. However I agree that its a bit onerous to go through every page selecting the same file, so it would be nice if somehow you could select all the pages to remove the file. In my case I want to remove it from all but one page, so an option to remove from all pages except a specific page would also work. Will give a rating shortly when I have fully tested.

    Plugin Author Gabe Livan

    (@gabelivan)

    Thank you for the feedback. Only a few people give ratings and leave comments. I wish the number would increase.

    Yes, the feature you mention was requested by quite some people and it will be added. Not sure about the date yet, once I have some spare time to allocate for this.

    This is a free plugin at the end of the day and its development is a bit slower as I have to work on other projects most of the time that are paying my bills.

    Happy testing and let me know if you notice any bugs! I will definitely fix them quickly 😉

    No problem, I appreciate that its free and it appears to work great for my needs (I’d spent far too long trying to stop this css file loading). Many thanks

    Plugin is very OK, but still waiting

    – for fix mass actuivete change for all post and category
    – and second: not being able to read all plugins running some not so and their off

    Plugin Author Gabe Livan

    (@gabelivan)

    Thanks for the feedback! Can you be more specific about “and second: not being able to read all plugins running some not so and their off“? I’m not sure what exactly you mean.

    I have included more plugs than the WP Asset Clean Up senses (although I do not know how it works and whether loads by default all the plug from the / plugins or just those that firstly were well constructed according to the standard create plug-ins and so the plug itself HR Asset Clean Up only be while others can handle, eg. not)

    I mean, eg. For plug: Akismet, All In One HR Security, Compress JPEG & PNG images, No Follow All External Links, SEO searchTerms Tagging 2
    I have their many and various functional so I would have the ability and confidence of all side effects are disabled.

    Also uses another https://wordpress.org/plugins/plugin-organizer/ which I think gives such possibilities (though I did not check in your code or in fact everything is switched off)

    Please only check whether the plugin works as it should

    @gabe Livan
    Great plugin! i will rate it by tomorrow (so far 5 stars!),
    i wanna join this feature request and remind the “woocomerce” products.

    Also after testing, its working great with “Autoptimize”!

    I do not know if I can put a url on here to inspect so I will not. However, Alexa script for scanning and certification is on “All” my pages twice.

    Installed once via “Alexas” recommended widet.

    The other.. I cannot remember. It may have been a plugin but I do not remember. My problem is Alexa is stating they cannot scan the site now since the script is on the pages twice.

    When I used this plugin it did not see either Alexa script.

    What would you recommend please?

    Kind regards

    Moderator Marius L. J.

    (@clorith)

    @lonewolf95665
    Thius is an 8 month old topic, please start your own thread at https://wordpress.org/support/plugin/wp-asset-clean-up/

    I’ll close this thread as any issues reported after this long will most definitely be different.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Remove script & css on all posts’ is closed to new replies.