BJ Lazy Load
Slider Images Not Loading (3 posts)

  1. znagle
    Posted 3 years ago #

    I'm using Slider PRO on the front page of my site. Instead of the slider images loading, the placeholder image shows for each slide. Is there any way to fix this? Or a way to wrap part of the plugin code in an if statement like this:

    if ( !is_front_page() ) {}

    to prevent it from loading on the page that contains the slider?


  2. Bjørn Johansen
    Plugin Author

    Posted 3 years ago #

    Sorry for taking so long to answer, znagle.

    I will look into this issue as soon as I get the time. It is probably caused by the Slider PRO JS being call before the lazy loader script.

    The 0.3.0 version of BJ Lazy Loader lets you put the lazy loader script in the <head>-element via wp_head(). Until I get a chance to dig deeper into this, you might see if that solves it

  3. znagle
    Posted 3 years ago #

    I appreciate the response. Unfortunately putting the script in the head didn't solve it.

    Could we just add a conditional not run the script for certain pages? I dug around in the plugin files, but I'm not sure exactly how to implement that.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • BJ Lazy Load
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic