• Resolved loopforever

    (@loopforever)


    Hello,
    I’m doing optimization work with Google Pagespeed.

    I’m getting
    …wp-content/plugins/dokan-lite/assets/css/style.css
    “unused CSS” and “Eliminate render-blocking resources”.
    warning for Dokan-Lite.

    Is there a way to remove this css file for homepage?
    What can I do for solution?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Shafinoid

    (@shafinahmad01)

    Hello @loopforever
    Thanks for your valuable query and time,

    You will be able to unload unnecessary scripts from the pages you want. If you want to unload any of the scripts from Dokan, you can use any third-party script unloader plugin to do that.

    Here’s a plugin called Asset CleanUp which will help you unload the scripts you don’t want on your pages.

    When you install and activate the plugin, you will get a front view. If you load any page, you will find the loaded scripts from all the plugins on the page, and you will be to unload any of them directly from the front end.

    Best Regards!

    Thread Starter loopforever

    (@loopforever)

    Hi @shafinahmad01,
    Thank you for your valuable response. Yes, I know this plugin. But I am using another plugin. There are conflict problems. Also, too much of a plugin is a load for the site as you know.
    How can I do this without a plugin?

    Shafinoid

    (@shafinahmad01)

    Hi @loopforever

    Hope you are doing well.

    I’m not sure which plugin you are using to unload scripts. But you can try to use the plugin I have suggested that shouldn’t have any conflicts with other plugins and delete the plugin after unloading the scripts to minimize the load on your WordPress site.

    Also, if you want to achieve that without any plugin, you can use the below built-in WordPress function and unload unnecessary scripts from a WordPress site.

    Funcation Name: wp_dequeue_script( string $handle )
    Click here to check the Documentation.

    Stay Safe ??

    Shafinoid

    (@shafinahmad01)

    Hi @loopforever
    I believe you are doing well,

    As you haven’t replied for a long, I’m considering that you have got the solution and I’m also resolving this topic.

    But feel free to create another one anytime.

    Stay Safe ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Google PageSpeed for Dokan’ is closed to new replies.