My website uses the AeroCore theme, and I noticed that there are many images on the post and list pages—all of which use lazy loading, including the above-the-fold section. However, using lazy loading for the above-the-fold section affects the LCP score.
I’m also using a few third-party scripts and stylesheets, which have caused the above-the-fold section to load very slowly. My LCP score isn’t very high either. So I wrote a piece of PHP code. This code consists of four parts.
The first part sets the images to “eager” and
cheng
2026-09-01
18
0
1