You need to set the loading
attribute to eager
.
wp_get_attachment_image(
$image_id,
'full',
false,
[ 'loading' => 'eager' ], // Prevent image from being lazy loaded.
);
You need to set the loading
attribute to eager
.
wp_get_attachment_image(
$image_id,
'full',
false,
[ 'loading' => 'eager' ], // Prevent image from being lazy loaded.
);
add_filter( 'searchwp\native\short_circuit', '__return_true' );
FWP()->helper->get_row_counts();
Solution was to disable ‘Delay JavaScript execution’ under WP Rocket > Settings > File Optimization then clear the WP Rocket (and Cloudflare) caches.
(Trying to exclude the Mai Engine files via the ‘Excluded JavaScript Files’ option under ‘Delay JavaScript execution’ with /wp-content/plugins/mai-engine/assets/js/min/(.*).min.js
and similar didn’t work).
Not sure exactly where the fault lied, but the issue was the font was pointing to domain.com/dom12345/wp-content/fonts/
instead of domain.com/wp-content/fonts/
.
Running pagely-wp search-replace /dom12345/wp-content/fonts/ /wp-content/fonts/
was enough to solve it.