Incompatibility with Autoptimize in v2.1.2

You are here:
Estimated reading time: < 1 min

There seems to be an incompatibility between Autoptimize and Rey’s latest update in which i added a critical css into the head tag, so that it performs a bit better during the rendering.

I just applied a fix locally, but until the update, please copy the php code from here and add it into the child theme’s functions.php .

An alternative is to access Autoptimize settings and add “reycore-critical-css” into the CSS Exclude field eg: (without #).

Was this article helpful?
Dislike 0
Views: 59

Suggest article improvements

Please use this form to suggest improvements and report missing or outdated content. Support requests will most likely not be answered and it's best to use the Support Request Form instead. Thanks!