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: 10

Join the conversation