I'm using

<noscript id="deferred-styles">
  <link rel="stylesheet" href="mysite.com/css/main.css">

to defer css styles.

I have some plugins adding css which I want to defer. Is there any way I can move their <link rel="stylesheet" ... > in the <noscript> tags through a filter?

Since the css is loaded from a plugin, I can't modify it directly. I have to find another way through my theme functions.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.