Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can’t deregister the resources on the home page. #454

Open
vzk91 opened this issue Jan 10, 2019 · 1 comment
Open

I can’t deregister the resources on the home page. #454

vzk91 opened this issue Jan 10, 2019 · 1 comment

Comments

@vzk91
Copy link

vzk91 commented Jan 10, 2019

I’m trying to control the load of unnecessary resources in the home using my own code and with this plugin I’m not able. I have tried to do the deregistration as with other plugins in which it has worked for me using the following names:

wp_deregister_script( ‘crayon_js’ );
wp_deregister_script( ‘crayon_util_js’ );
wp_deregister_style( ‘crayon’ );
wp_deregister_style( ‘crayon_style’ );
wp_deregister_style( ‘crayon_global_style’ );

But it ignores it completely and keeps loading the resources in the home page. Can you tell me how to deregistration the resources of this plugin correctly?

@tosunkaya
Copy link

i experienced same issue. you can use asset cleanup or gonzales

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants