Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
litespeed_wiki:cache:lscwp:troubleshooting:lazy_load_amp [2019/02/18 15:27] qtwrk |
litespeed_wiki:cache:lscwp:troubleshooting:lazy_load_amp [2019/02/18 15:28] qtwrk |
||
---|---|---|---|
Line 1: | Line 1: | ||
===== Lazy Load breaks AMP validation ====== | ===== Lazy Load breaks AMP validation ====== | ||
- | A temporarily solution is following code to your theme's ''functions.php'': | + | A temporarily solution is add following code to your theme's ''functions.php'': |
<code>function_exists( 'is_amp_endpoint' ) && is_amp_endpoint() && ! defined( 'LITESPEED_NO_LAZY' ) && define( 'LITESPEED_NO_LAZY', true ) ;</code> | <code>function_exists( 'is_amp_endpoint' ) && is_amp_endpoint() && ! defined( 'LITESPEED_NO_LAZY' ) && define( 'LITESPEED_NO_LAZY', true ) ;</code> |