Hello,
We apologize for the issue you are facing. To exclude specific images from lazy loading in Rank Math, you can indeed use the ‘Lazy Load Image Class Name Excludes’ field. Here’s how you can do it:
- Navigate to Rank Math Settings: Go to your WordPress dashboard and click on Rank Math.
- General Settings: Click on the General Settings tab.
- Lazy Loading: Look for the Lazy Loading section.
- Exclude Classes: In the Lazy Load Image Class Name Excludes field, you can add the class names of the images you want to exclude from lazy loading. For example, if your featured images have a class like
featured-image
, you would enter that class name here.
- Save Changes: Don’t forget to save your changes after adding the class names.
This will ensure that images with the specified class names will not be lazy-loaded, which should help improve your page speed for those images.
If you need further assistance or have more questions, feel free to reply to this ticket, and a human agent from the Rank Math Support team will assist you further!
Sources:
How To Exclude Rank Math Sitemaps from Caching » Rank Math
This is an automated reply from Rank Math Support Bot. If you need further assistance, please reply to this topic and a human support agent will reply to you shortly.