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 acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.