Title: Fetchpriority
Last modified: June 18, 2026

---

# Fetchpriority

 *  [chayma2020](https://wordpress.org/support/users/chayma2020/)
 * (@chayma2020)
 * [21 hours, 15 minutes ago](https://wordpress.org/support/topic/fetchpriority/)
 * How can I add `fetchpriority="high"` to the first slider image in Smart Slider
   3? I would like only the first visible slide image to receive the `fetchpriority
   ="high"` attribute to improve LCP performance. Is there a Smart Slider 3 hook,
   filter, or custom code solution to achieve this?

Viewing 1 replies (of 1 total)

 *  Plugin Support [Laszlo](https://wordpress.org/support/users/laszloszalvak/)
 * (@laszloszalvak)
 * [11 hours, 22 minutes ago](https://wordpress.org/support/topic/fetchpriority/#post-18942783)
 * Hi [@chayma2020](https://wordpress.org/support/users/chayma2020/)
 * Smart Slider 3 doesn’t have an option, hook, or filter for adding `fetchpriority
   ="high"` to slide images.
 * The reason is that, in Smart Slider’s case, this attribute would not provide 
   a real improvement. Smart Slider needs to run its JavaScript before the slider
   can be displayed properly, and some of this JavaScript can only run after the
   page has finished loading. Because of this, the slider is usually one of the 
   later elements to become visible on the page.
 * We already run the required slider scripts as early as possible. By the time 
   the slider is ready to appear, the slide images have already been added to the
   page, regardless of their loading priority. So adding `fetchpriority="high"` 
   to the image of the 1st slide would not make the slider appear earlier or improve
   the actual LCP timing in this case.
 * One thing that can help if you have multiple sliders on the same page is adjusting
   their **Loading type** setting. For the first slider, especially if it appears
   above the fold, we recommend setting **Loading type** to **Instant**. For the
   other sliders that appear further down the page, below the fold, you can set **
   Loading type** to **After page loaded**. This way, the above-the-fold slider 
   will not have to compete with the other sliders for resources while the page 
   is loading.
 * You can find this setting in the slider settings under the **Optimize** tab.
    - [https://smartslider.helpscoutdocs.com/article/1801-slider-settings-optimize#loading-type](https://smartslider.helpscoutdocs.com/article/1801-slider-settings-optimize#loading-type)
 * Best regards,
   Laszlo.

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffetchpriority%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/smart-slider-3/assets/icon.svg?rev=2307688)
 * [Smart Slider 3](https://wordpress.org/plugins/smart-slider-3/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/smart-slider-3/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/smart-slider-3/)
 * [Active Topics](https://wordpress.org/support/plugin/smart-slider-3/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/smart-slider-3/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/smart-slider-3/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Laszlo](https://wordpress.org/support/users/laszloszalvak/)
 * Last activity: [11 hours, 22 minutes ago](https://wordpress.org/support/topic/fetchpriority/#post-18942783)
 * Status: not resolved