Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Bruno

    (@xiaoxu125634)

    Thanks for your feedback.

    First question, there’s two ways to avoid lazyload.

    If you want homepage don’t use lazy load, you can add a add_filter in functions.php of current theme. Here is the code:

    add_filter(‘simple_lazyload_skip_lazyload’, ‘simple_lazyload_skip_lazyload_func’);
    function simple_lazyload_skip_lazyload_func($skip_lazyload) {
    if (is_home()) {
    return true;
    }
    }

    If you want some specified images don’t use load load, you can add ‘skip_lazyload’ class or attribute to them. After added, images’ source code may like this:

    <img src=”http://www.xxx.com/images/1.jpg&#8221; skip_lazyload/>
    <img src=”http://www.xxx.com/images/2.jpg&#8221; skip_lazyload/>
    <img src=”http://www.xxx.com/images/3.jpg&#8221; skip_lazyload/>

    For the second one, i will test it on my mashine, and fix it asap if neccesary.

    Plugin Author Bruno

    (@xiaoxu125634)

    I have tested on my mashine, there’s no conflicts between “Simple Lazyload” and “Kiwi Logo Carousel”. So there must be some other reasons why you have occured this issue.

    Thread Starter thiagoalcav

    (@tkramertk)

    Thanks! The add_filter solution worked perfectly to me!

    Thanks again!

    Thread Starter thiagoalcav

    (@tkramertk)

    The problem with “Kiwi Logo Carousel” occurs on this page:

    http://www.jangadafilmes.com.br/quem-somos/ … but the filter described solves the problem. …only on that specific page.
    ——-

    Great work!

    It is the only plugin that works correctly when using anchors on page! Others I tested are based on the scrollbar and thus end up carrying all the images by clicking on an anchor that takes to middle of a page’s content. Here: http://www.jangadafilmes.com.br/enin-2015/

    One more question … in the same page above, is it just me or when we use the jetpack -> image carrousell the charging icons are not displayed? It is an error?

    Thanks.

    Plugin Author Bruno

    (@xiaoxu125634)

    Glad to hear that.

    charging icons not displaying, i have found the reason:

    unnecessary styles defined in file “/wp-content/plugins/jetpack/css/jetpack.css”

    .tiled-gallery .tiled-gallery-item img, .tiled-gallery .tiled-gallery-item img:hover{
    background: 0 0;
    }

    ;

    you must remove this line: “background: 0 0;”

    or add additional styles in your website’s source files(eg: before </head> tag in header.php):

    #page .sl_lazyimg {
      background: url(http://www.jangadafilmes.com.br/wp-content/plugins/simple-lazyload/loading2.gif) no-repeat center center;
    }
    Thread Starter thiagoalcav

    (@tkramertk)

    Wow!! Thank you!! It worked perfectly!!

    Another thing I can point out is the elegance of the code in that plugin!
    With a few lines of code and using regular expressions you get a light result, unique and perfect! Be proud of it!!!

    I’m your fan! lol

    PS .: I suggested the jetpack staff would contact you to get instructions on how to enter your plugin to their package, specifically the Mansory gallery.
    I do not know if they will do this or if it would be interesting for you … anyway I am very satisfied with the result of your plugin on my site!

    Once again, thank you!

    Plugin Author Bruno

    (@xiaoxu125634)

    You are welcome, and thanks for your praise and suggestions.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to disable in some pages?’ is closed to new replies.