Itthinx LazyLoader

This plugin is currently not available for purchase.

Description

The Itthinx LazyLoader plugin provides a versatile lazy loading mechanism for content that may improve page load time and bandwidth usage. Use it on slow content, especially such where external data is loaded like widgets from Facebook, Twitter, AdSense, …

Advanced lazy loading integration

The Itthinx LazyLoader provides an advanced asynchronous loading mechanism for content and widgets. This plugin helps to optimize site speed by greatly improving page load time and bandwidth usage. Instead of deferred loading in the footer, it provides advanced options that allow to load any content only when needed. These include shortcodes that allow to lazy-load content anywhere on a page, the option to load content on sight and an automatic noscript feature that helps to provide alternative content for visitors that have disabled JavaScript. You can see a demo of the Itthinx LazyLoader here.

In action

To get a clear idea on how the loader affects loading a page, let’s take a look at the following video which shows the loader in action. You can try the demo yourself here.

 

 

So what?

Site Speed

It took 44,85 seconds for the complete page to load, but the onload event ocurred at just 2,92 seconds! Without Itthinx LazyLoader’s help, the onload event would have ocurred much later. Site speed is a very important factor in visitors’ experience surfing your site and search rankings. If you’re not sure why this is so important, read more about it in Using site speed in web search ranking, where Google announced “we’re including a new signal in our search ranking algorithms: site speed“.

Better visitor experience

Often ads and other external content slows down the way your main content is presented to your site’s visitors. To visit a site that just takes too long to show the main thing is simply frustrating and usually results in one-time visitors – they’ve had it and won’t come back. The Itthinx LazyLoader helps you to avoid this mistake by letting your main content be presented before slower content is shown.

Content on demand

The content handled by the loader can be presented on demand or always.
It handles more than just images, virtually any widget or content that is placed within itthinx-lazyloader shortcodes.

Automatic and coding free

The loader works automatically on virtually any content and is completely coding-free. You do not need to understand anything about JavaScript, jQuery or PHP to use it. Just paste the markup within itthinx-lazyloader shortcodes and it will be handled by the loader. The shortcodes admit several options that are used to control how the content is presented.

Documentation

Browser compatibility

Tested and working at least on these and other browsers:

  • Chrome
  • Firefox
  • Internet Explorer
  • Opera
  • Safari

Test environment details

Windows 7 : IE8, IE9, Opera 11.5, Chrome 13, FF 5.0, FF 6.0, FF7, FF8, FF9, FF10, FF11, FF12
Mac OS X : Safari 4, Safari 5

Linux (Debian Squeeze) : FF5, FF6, FF7, FF8, FF9, FF10, FF11, IceWeasel, Opera 11.10, Epiphany 2.30.6

Linux (Debian Lenny) : Iceweasel 3.0.6

Ubuntu : FF4

Android : Opera 11.1, Opera 11.5.3, Browser, FF6, FF7, FF8

75 Responses to Itthinx LazyLoader

  1. Laurent September 18, 2011 at 1:21 pm #

    Hi,
    Just one question.
    As my site loading is really slow, I’ve just performed a test on Zoompf.
    Here is what it’s saying :

    Empty Response Body :
    – High impact
    – Easy to solve

    Issue Summary :
    This response contained no data. This usually indicates a broken or misconfigured web server or web application. If you really did not intend to return data to the client for this request (as is common for beacons for web analytics software) you should return a 204 HTTP status code instead.

    Affected URLs :
    http://www.oreille-malade.com/wp-content/plugins/lazy-widget-loader/css/lwl-widget-css.php

    Could you have a look ?

    Best Regards,
    Laurent

    • kento September 18, 2011 at 7:40 pm #

      Hi Laurant,

      It complains about an empty stylesheet. Let’s take a look at what W3C has to say about that, for example Grammar of CSS 2.1 … quoting:

      The productions are:

      stylesheet
      : [ CHARSET_SYM STRING ';' ]?
      [S|CDO|CDC]* [ import [ CDO S* | CDC S* ]* ]*
      [ [ ruleset | media | page ] [ CDO S* | CDC S* ]* ]*
      ;

      Empty stylesheets are ok 馃槈 But Zoompf does not like empty stylesheets, hmmm …

      Let’s run it through the validator:

      http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.oreille-malade.com%2Fwp-content%2Fplugins%2Flazy-widget-loader%2Fcss%2Flwl-widget-css.php

      This is the start of the response:

      W3C CSS Validator results for http://www.oreille-malade.com/wp-content/plugins/lazy-widget-loader/css/lwl-widget-css.php (CSS level 2.1)
      Congratulations! No Error Found.

      This document validates as CSS level 2.1 !

      Ok now that’s out of the way, let’s take a look at what happens at your site through Firebug’s Console – it shows these errors:

      thickboxL10n is not defined
      o[this.name].push(this.value||”);}els…Image=thickboxL10n.loadingAnimation;}

      missing } after property list
      var popup_domination = {“defaults”:{“E…ination\t\n”};

      uncaught exception: Cannot continue until a pending callback completes.
      popup_domination is not defined
      $(document).find(‘body’).prepend(popup…(check_impressions()){return false;}}

      Something definitely goes wrong there, but it’s not related to lwl-widget-css.php. I’d start figuring out why the above errors show up.

  2. Jordan Dolan October 5, 2011 at 2:40 pm #

    Hello,

    Many thanks for the great plugin concept. I’ve just donated but can’t seem to be able to get it to work. It is installed fine, I have set the following options:

    http://www.visicode.co.uk on the domain whitelist (my website domain)
    and i’ve selected the option for nested shortcodes. However, when I test the plugin by simply including the opening and closing shortcode tags, putting text or images in between; it simply shows this on the page!:

    [itthinx-shortdecode]IDxkaXYgc3R5bGU9IndpZHRoOjBweDtoZWlnaHQ6MHB4OyIgaWQ9Imxjc2l0dGhpbnhfbGxfMSI+PC9kaXY+IDxzY3JpcHQgaWQ9ImxjaXR0aGlueF9sbF8xIiB0eXBlPSJ0ZXh0L2phdmFzY3JpcHQiPiAoZnVuY3Rpb24oJCkgeyBsQ1JpdHRoaW54X2xsXzEgPSBmdW5jdGlvbigpIHsgJCgiI2xjaXR0aGlueF9sbF8xIikuYWZ0ZXIoIjxkaXYgaWQ9XCJpdHRoaW54X2xsXzFcIiA+IiArICJcbiIgKyAiZGRkZGQiICsgIlxuIiArICI8L2Rpdj4iKTsgJCh3aW5kb3cpLnRyaWdnZXIoIklYX2VYIiwiI2xjaXR0aGlueF9sbF8xIik7IH07IGl0dGhpbngubGF6eUxvYWRlci5hV0xFTChmdW5jdGlvbigpeyBpdHRoaW54LmxhenlMb2FkZXIubEMoJCgiI2xjc2l0dGhpbnhfbGxfMSIpLCBsQ1JpdHRoaW54X2xsXzEsICJpdHRoaW54X2xsXzEiLCAwKTsgfSk7IH0pKGpRdWVyeSk7IDwvc2NyaXB0PiA8bm9zY3JpcHQ+PGRpdiBpZD0iaXR0aGlueF9sbF8xIj4NCmRkZGRkDQo8L2Rpdj48L25vc2NyaXB0Pg==[/itthinx-shortdecode]

    Not got a clue what is going on, any chance you could help out :)
    Jordan

    • kento October 5, 2011 at 7:20 pm #

      Thanks to Jordan’s nice cooperation it was easy to figure out what went wrong and now everything seems to work just fine. If anyone stumbles upon issues, please contact me and I’m happy to help.

  3. detective November 18, 2011 at 10:39 am #

    Thanks for your supprt kento, I had the same problem as Laurent and you solved it! Kudos Sir. ^^

    • kento November 18, 2011 at 10:43 am #

      My pleasure detective :)

  4. Duc December 21, 2011 at 10:37 am #

    Can I pay by another ways by credit card. I can’t use paypal :(

    • kento December 21, 2011 at 11:38 am #

      Yes you can also pay with your credit card. When you click the contribution button, the PayPal page will give you several options to pay, including credit card instead of using a PayPal account. You should see the option “Credit Card” under “Choose a way to pay”.

      • Duc December 21, 2011 at 11:42 am #

        I tried that way but my credit card added to a paypal account, but my paypal account was closed by paypal because I’m from Vietnam. Paypal said they don’t accept people from Vietnam :(

        • kento December 21, 2011 at 12:41 pm #

          I recommend you contact PayPal about this. There shouldn’t be any issues.

  5. Duc January 4, 2012 at 6:20 am #

    I used your plugin but I see it only works on function the_content()
    My site have some image from custom field so it not work on that, it also not work on category page with post thumbnail
    How to do that?

    • kento January 4, 2012 at 10:31 am #

      Please email me the code you are using and I will help you to make it work.

  6. Moogle Stiltzkin February 9, 2012 at 1:49 pm #

    Hi,

    I’m using Itthinx LazyLoader 1.42

    but i noticed when i enable this plugin, my site load time worsens, not improves.

    I uses gtmetrix and webpagetest to do the testing to find this out. Also not only just that, even browsing i notice the increased lag.

    Honestly i’m not sure if it’s just the plugins fault, or the default settings for it isn’t ideal for my site. Any ideas ?

    • kento February 9, 2012 at 4:07 pm #

      It seems you currently have it deactivated. This performance report shows several issues that are not related to (or could be resolved by) lazy loading but most probably are due to server performance and how the site is set up. There is a +10 second delay in getting a response from the server alone after the main page is redirected to the site’s root. I’d recommend to first solve the most important issues the site/server have and then fine-tune with lazy loading.

  7. Moogle Stiltzkin February 9, 2012 at 4:50 pm #

    fair enough :X

    any ideas who i can consult regarding the things you suggested ? i too was wondering what the heck that 10 seconds thing was about :/

    • kento February 9, 2012 at 6:36 pm #

      There are lots of options, e.g. use a caching plugin … but one thing I noticed is you have this Quick Chat, I would test the site with it disabled.

  8. Ivica February 26, 2012 at 11:34 am #

    I have an compatibility issue between Itthinx LazyLoader (I bought your license) and Jigoshop e-commerce plugin.

    Namely, when I activate Lazy Loading for widgets and use Itthinx LazyLoader option (Load on sight and Automatic noscript option) all widgets are working nicely when Jigoshop plugin is INACTIVE.
    BUT, when I activate Jigoshop plugin, widgets are NOT VISIBLE at all.
    Then, if I deactivate one option in Itthinx LazyLoader (Load on sight), widgets are visible again even when Jigoshop plugin is active.
    QUESTION: can you do something with the Itthinx LazyLoader plugin in order that I can use simultaneously Load on sight option in Itthinx LazyLoader and that Jigoshop plugin is active?
    I need both plugins to work properly when they are both active. Thank you in advance for your prompt answer.
    BTW, I’m very happy with your plugins, they do what they are advertised for, and they do it very well so I sincerely hope you’ll be able to fix this compatibility issue between these (above mentioned) fantastic WP plugins.

    • kento February 27, 2012 at 11:27 am #

      Thanks for reporting the issue you have Ivica, let’s see if we can find out what happens. Could you please let me know:
      – your WP version
      – what theme you are using (and version)
      – which Jigoshop version
      – other plugins that are active on the site
      – the widgets with issues (do all widgets have problems or specific ones?)
      And thanks for the praise, it’s always nice to hear that :)

      • Ivica February 27, 2012 at 7:46 pm #

        Dear Kento, thx for fast reaction. Below are requested details/answers on particular questions. As I performed testings on my local PC server (XAMPP), currently it is not accessible to others, but I started to build/clone on-line testing environment as well – as soon as it is finished I’ll give you all necessary details (including access details) if you could at least take a short look on it – I hope I won’t have to give up on such a this WordPress plugin,, not because I paid for it but as it is so useful! I’ll came back to you as soon as possible!

        – your WP version: 3.3.1 (latest)
        – what theme you are using (and version): Weaver 2.2.6 by Bruce Wampler
        – which Jigoshop version 1.1 (latest)
        – other plugins that are active on the site (more then 60 :-))
        – the widgets with issues (do all widgets have problems or specific ones?): ALL of them

        • kento February 27, 2012 at 11:11 pm #

          Thanks for the details Ivica,
          I’ll have a look at how this works with the Weaver theme first, let’s see if that works as expected.
          Cheers

          • Ivica February 28, 2012 at 10:48 pm #

            Kento, feedback for you – thx to fantastic guys from Jigoshop they solve one compatibility issue with Itthinx LazyLoader and Jigoshop plugin.
            Apparently an issue was on Jigoshop side and if anybody else run into problems like I did, here is the solution from the Jigoshop team:
            First deactivate LazyLoader, Itthinx LazyLoader & Jigoshop.

            Then in jigoshop.php, delete:
            add_action( ‘activated_plugin’, ‘jigoshop_plugin_loads_first’, 999 );

            Then activate your LazyLoader, Itthinx LazyLoader and activate Jigoshop. And that’s it!

            BTW, second issue (below) is still existing, but I’ll come back to you on this when I finish my on line test environment.

            • kento March 5, 2012 at 12:47 pm #

              Thanks for taking the time to look into this yourself as well. Ideally you wouldn’t need to hack jigoshop.php so that things still work after an update without the need to touch the file again. I’ll have a look at that and the second issue and let you know.

            • kento March 6, 2012 at 11:44 am #

              Ok I’ve tested this on WP 3.3.1, using the Weaver 2.2.6 theme and these active plugins:

              Custom Post Widget 1.9.1
              Itthinx LazyLoader 1.4.3
              Jigoshop 1.1.1
              Lazy Widget Loader 1.2.3

              I did *not* apply the hack in jigoshop.php as suggested. $active_plugins = get_option( ‘active_plugins’ ); error_log(var_export($active_plugins,true)); results in:

              array (
              0 => ‘jigoshop/jigoshop.php’,
              1 => ‘custom-post-widget/custom-post-widget.php’,
              2 => ‘itthinx-lazyloader/itthinx-lazyloader.php’,
              3 => ‘lazy-widget-loader/lazy-widget-loader.php’,
              )

              Findings: With the above setup, the issues reported do not occur: Widgets are shown correctly (including those loaded on sight by LL), the issue you experience on the checkout page does also not occur. Based on that, I would say that there probably is a conflict with another plugin but no conflict between Jigoshop and LL.

              Please let me know when the test site is available online though, I’d be interested in eventually finding out what causes the issues you have seen on your setup.

  9. Ivica February 26, 2012 at 7:23 pm #

    And another issue discovered between Itthinx LazyLoader and Jigoshop plugin. Namely, when I activate Itthinx LazyLoader plugin he mess up the Jigoshop “Checkout” page in a sense that all fields on this page are not justified as they should be but all over the Checkout page.
    When I deactivate Itthinx LazyLoader plugin everything get back to normal, and the fields are justified and in order as they should be on the Checkout page. Can you help me on this too, please?

    • kento February 27, 2012 at 11:30 am #

      Sure, are you using any LazyLoader shortcode on that page? Also if you grant me access to your site I might have a quick look (you can email me the login details).

  10. Ivica February 27, 2012 at 7:52 pm #

    No, I’m not using any LazyLoader shortcode on that (or any other) page, just activate general plugin for the whole web site. But as I wrote in previous post, when I fully activate on-line test environment with the Jigoshop installed and setup up, I’ll provide you with the access details so you can take a brief look. I know that it is not easy to “recreate” the exact error especially in every environment, therefore I’m very thankful to you for offer support! Just another prove of wisely invested money in WP website speed. :-)

    • kento February 27, 2012 at 11:12 pm #

      Great, please let me know when you’ve got it set up. And thanks for your kind cooperation :)

    • kento March 6, 2012 at 11:48 am #

      Findings posted in this comment. We’ll have a look when your site is available.

      • Ivica March 6, 2012 at 8:32 pm #

        Thx Kento for your support and help! My test on line site is up and running, but I did apply mentioned hack in jigoshop php.
        Tell me on what e-mail address I can send you login acces details?

        Thx again!

        • kento March 6, 2012 at 9:06 pm #

          Great, send it to the one on this page please.

          • Ivica March 7, 2012 at 9:41 pm #

            Thx, I sent it :-)

            • kento March 8, 2012 at 10:36 am #

              Thanks Ivica, I’ve checked your site: what happens to your checkout page is that it’s not themed well. It’s not related to LL, you need to get the CSS right for the fields.
              Also you should not lazy load or load on sight all the widgets, there is no need to do that if they simply show small pieces of content that are pulled off your site anyway. Worse even, it adds overhead. It makes sense to lazy load (with or without loading on sight) only if you load content from slow sources or where you load substantial amounts of data that does not need to be shown unless a visitors comes to a certain part of a page.

  11. Ivica March 9, 2012 at 11:03 pm #

    Thx kento, but I couldn’t exactly agree with the below statement:
    “… what happens to your checkout page is that it’s not themed well”

    Why? Because I activated and deactivated Itthinx Lazy Loader plugin and you can see difference in pictures I sent you. On the picture with deactivated plugin formating is OK on the Checkout page and on the picture where the plugin is activated you can see that formatting is not ok.

    For second tip – thx, I’ll do it accordingly. :-)

    Thank you for your good will to help me on this issue, although the issue with Jigoshop Checkout formatting page stays. :-(

    • kento March 12, 2012 at 12:49 pm #

      It really looks like there is something else conflicting, when tested with the configuration as mentioned in this comment, the checkout page is rendered correctly. Taking this into account along with the fact that things change when you (de)activate the LazyLoader plugin, in my opinion suggests that there is a conflict with another plugin.

      What I suggest is to do the following: 1) Deactivate all plugins except the following to start with a minimal basic setup based on what has already been proven to work, that is: using the original Weaver theme and these plugins activated: Jigoshop, Itthinx LazyLoader, Lazy Widget Loader – with these, the checkout page appears normally – subject to no changes have been made to either the plugins’ code or the theme’s. If, using this minimal configuration, your checkout page already shows the fields misaligned, then it is due to changes that have been made to the theme or the plugins. If not, proceed to 2) activate other desired plugins one by one, after activating each one, verify the checkout page.

  12. Ivica March 11, 2012 at 8:13 pm #

    Here I go again :-) Sorry for these few bugs reporting on this very good and helpful plugins of yours, but it is because I want to continue to use them, along Jigoshop.
    Namely, when I tested putting Jigoshop shortcodes on one web page, I found out that product image is not showing at all. After I deactivated Lazy Loader plugin product picture showed up (you can check it by yourself on the link provided).
    Can you help me on this with some usable solution, please? Thank you in advance!

    • kento March 12, 2012 at 1:14 pm #

      That’s ok :) Sometimes it can be daunting to find out what’s happening … same thing applies to this as mentioned regarding the checkout page issue you see. Please let me know when you’ve checked that.

  13. mel April 25, 2012 at 3:04 pm #

    Hi, im interested in your plugin and have sent you en email about certain query but have yet to receive a reply. Hope to hear from you. Thansk

    • kento April 25, 2012 at 8:17 pm #

      Hi, thanks, didn’t get to take a look at these until now. Regarding your questions:

      Can it be used around other plugins that uses shortcodes like slickr flickr and wp robot?
      It depends, in many cases it works smoothly, in some it may not work at all. Might be worth a try at least.

      … is there a way to ‘auto-add’ to all images …
      No, there are solutions based on jQuery for that which you might consider.

      Will it strain the server cpu?
      No it won’t if used correctly. Please see the notes and comments on when and when not to use it.

  14. m3lvin April 26, 2012 at 7:20 am #

    ok kento, i tried on wprobot and flickr but it seems to mess things up. Im using shortcdes on them.

    I tried implementing the function on my template: sidebar.php (i do not want to use repeated shortcodes on that), single.php (div with social buttons), and it only loadup partially.

    example
    “true” );
    echo IX_LL_lazyload( $markup, $atts );
    ?>

    • kento April 26, 2012 at 9:36 am #

      Let’s have a look at that and see if it can be made to work smoothly. Looks like the comment filter (nom-nom-nom) ate part of the code you pasted in the comment, can you use e.g. pastebin please to share the code? Also I’d like to see how you have used it with the shortcodes (you can put that in a comment directly).

  15. m3lvin April 26, 2012 at 9:41 am #

    the code was taken from your manual btw under api

    • kento April 26, 2012 at 9:43 am #

      Ok I see, let me know about how you used the shortcodes then please.

  16. m3lvin April 26, 2012 at 10:06 am #

    hxp://pastebin.com/NSwruqfq

    on sidebar and single template

    • kento April 26, 2012 at 11:03 am #

      Ok thanks, that looks ok. What about the shortcodes?

    • kento April 26, 2012 at 2:33 pm #

      Oh but I just came to realize … I wouldn’t wrap that entire sidebar.

  17. m3lvin April 26, 2012 at 11:16 am #

    ? soory i din’t get that. must i still apply the shortcodes to that?

    • kento April 26, 2012 at 11:22 am #

      No, actually I was asking to see how you applied the shortcodes you mentioned in this previous comment: “…tried on wprobot and flickr but it seems to mess things up. Im using shortcdes on them” – what I would like to see is what shortcodes you have tried so that I can test them. Can you also give a link to the site you’re testing this on please?

  18. m3lvin April 28, 2012 at 9:39 am #

    1) heed your advice on the not wrapping the whole sidebar. I reinstalled the widget plugin and there are 2 options:
    Lazy Loading
    Use Itthinx LazyLoader
    Lazy Loading must be enabled to activate this option.
    Which shall i choose or should i choose both?

    2) Please take a look at http://pastebin.com/GWk30zAz. This wrap is not on the sidebar but in single.php template

    I decided not to use on wprobot and slickr yet. Thanks

    • kento April 28, 2012 at 12:48 pm #

      On 1) First try to use both options together, if it doesn’t work just use the first one (Lazy Loading).
      For 2) you need to change src="//platform.twitter.com/widgets.js" to src="http://platform.twitter.com/widgets.js"

  19. m3lvin April 28, 2012 at 1:56 pm #

    for 2) only twitter and pinterst is loading up but not facebook and g+.

    http://pastebin.com/QF4kJeLy

    Morever when i set the throbber to true, the throbber does not seem to be working.

    • kento April 28, 2012 at 2:44 pm #

      The loader won’t allow the <fb:like ... > and <g:plusone ...> tags but you can use the alternatives as shown here. The throbber is there but you should check whether it is actually visible (probably depending on your CSS styles).

  20. m3lvin April 28, 2012 at 4:26 pm #

    Thanks, the social part wrks well now with your help, but what do you mean by depending on my css style? On the widget load plugin, it works fine but i cant get it working on the template. thanks

    • kento April 28, 2012 at 5:25 pm #

      Basically, what I mean is that the throbber is there (I checked it on a test site), if it does not seem to appear on your site, it might be related to CSS.

  21. Zach April 30, 2012 at 7:46 pm #

    I’m trying to lazyload products on a site using woocommerce. I’ve inserted the code into the loop-shop.php template file, surrounding the which contains the products. Firebug shows that the ix-lazyloader-min.js script is loading but the images are not lazy loading — they are all loading immediately. You can see an example on this page: http://tinyurl.com/cznf5aj

    Here’s the modified loop-shop.php file: http://pastebin.com/LvsEZMZi

    Any ideas?

    • kento May 7, 2012 at 12:26 pm #

      The lazy loading works but you are wrapping practically the whole content, so what happens is that once the products enter the viewport, the whole set is loaded at once. What you want to achieve should work as shown here http://pastebin.com/NJ8kfifm

      • Zach May 7, 2012 at 2:51 pm #

        Thanks, your code is working! But for some reason it is loading the first 9 row/27 products right away, Only the first two are in the viewport when the page loads initially. Do you know how I could prevent it from loading so many?

        • kento May 7, 2012 at 7:11 pm #

          How many are loaded at once depends on how many are visible in the viewport, you can assign a minimum height to the containers so that fewer are loaded. Anyhow, although I would actually rather load these in bunches anyhow, something like http://pastebin.com/yveTQ2PD

  22. Zach May 7, 2012 at 8:32 pm #

    That version made the page pretty much unresponsive. But no big deal, I will mess with the viewport sizing. I did notice that the AJAX layered navigation won’t display any images now that lazyload is working. Any clues as to how to fix that? I realize it’s not your plugin, but if you can point me in the right direction maybe I can get it sorted out. Thanks!

    • kento May 8, 2012 at 11:30 am #

      Would you mind applying that last version to a test page and posting a link? I’m curious to see how it reacts (I didn’t actually test the template myself). Regarding the AJAX layered navigation, I’m not sure what you refer to …

      • Zach May 8, 2012 at 2:02 pm #

        Here’s the page running the last version you posted: http://tinyurl.com/6wn9gfy
        After it fully loads it is not unresponsive, but it’s pretty initially.

        The AJAX layered naviagtion is the “Product Types” widget on the right sidebar. When you click a type it filters those items. Looking at it again, it is sort of working with the last version, but I’m seeing lots of duplicate items. With the first version of the code you posted, it just wouldn’t display any items when you selected a type. If you remove the word “upgrades” from the URL you can see a page where it’s working properly (without lazyload).

  23. livefreedietravelling December 14, 2012 at 10:47 pm #

    Hi Kento,

    Just purchased your plugin, all working well, Thanks.

    I wondered if you knew how to lazy load a currently installed plugin via your script?

    I’ve got a pop-up subscribe plugin that shows at the end of the article, and is not needed to load straight away.

    I figured I’d ask for your help on this issue as I think that many people would probably experience similar issues.

    Thanks for any help you can offer,

    Regards,
    Paul

    • kento December 17, 2012 at 3:17 pm #

      Hi Paul,
      Thanks for using the plugin, good to see it’s working for your site. Does the pop-up plugin you use provide a short code or API that you could wrap within LL’s?
      Cheers

      • livefreedietravelling December 24, 2012 at 12:01 pm #

        Hi Kento,

        Thanks for getting back to me, apologies for the delay in my response.

        I’m currently using the Pippity plugin (http://pippity.com/), It does not use shortcodes or API’s that I’m aware of. Don’t suppose there is any workaround to this?

        Also, when debugging my site I get this error and cannot seem to work it out, any assistance would be great!

        wp-content/plugins/itthinx-lazyloader/lib/ix/class-ix-lazyloader-min.php:17 – DOMDocument::loadHTML(): Unexpected end tag : span in Entity, line: 12

        Regards,
        Paul

        • kento December 30, 2012 at 12:16 pm #

          Hi Paul,
          If the plugin doesn’t provide a widget or means of wrapping its code within LL’s, then it’s not going to be possible to make them work together easily.
          What code are you using on the page with the error please?

          • Paul December 31, 2012 at 2:02 pm #

            Hi Kento,

            Thanks for getting back to me quickly, the error was reported to me via the debug bar. I’ve not changed or edited any of your plugin’s code.

            Error is being reported on all pages,

            Can you please be more specific on the information you require?

            Regards,
            Paul

            • kento January 7, 2013 at 10:18 am #

              I was referring to a possible use of one of the methods from the manual, for example the [itthinx-lazyload] shortcode – the error could be related to what is enclosed within it or a filter from another plugin that might interfere and introduce elements that modify the HTML rendered. I’d like to try the same as you have on the page to see what happens, if you can give access to the back end of the site that would be fine too.

  24. wadelaube December 27, 2012 at 7:17 am #

    Hi Kento,

    I installed the LazyLoader plugin and have tried to use the shortcode approach. I’m finding, however, that LazyLoader isn’t recognising embedded shortcodes or html at all. The only thing I could get it to act on was an embedded YouTube video.

    (I use a theme called Blox and the main shortcode I’m aiming to use is for RoyalSlider, however I’ve also tried other shortcodes to confirm it’s not a problem specific to RoyalSlider itself.)

    I’d appreciate any suggestions you’ve got.

    Cheers,
    Wade

    • kento December 30, 2012 at 3:14 pm #

      Hi Wade,
      Can you please post the code you have tried?
      Cheers

      • Wade Laube January 7, 2013 at 1:13 pm #

        Hi Kento,

        Well, it’s a shortcode within a shortcode, so…

        [itthinx-lazyload]

        [new_royalslider id=”5″]

        [/itthinx-lazyload]

        …with no success. It loads the content as though the LazyLoad shortcode were not there.

        I’ve also tried HTML (text and pictures) with no luck. Could it be the theme?

        The site is not publicly accessible at the moment, or I’d send you a link.

        Thanks for any tips.

        Regards,
        Wade

        • kento January 7, 2013 at 2:34 pm #

          It could be that they are simply not compatible, but before giving up on it, can you try putting the shortcodes all on one line and with no spaces? Like this:

          [itthinx-lazyload][new_royalslider id="5"][/itthinx-lazyload]

  25. soodrajat1834 March 19, 2013 at 11:12 am #

    Hi I just downloaded the lazy load plugin for wordpress

    I used the echo lazy load function in one of my divs to load posts

    When i use this function no content is shown at all . please help me with this

    • kento March 20, 2013 at 7:01 pm #

      How are you using it? Please post your code on pastebin. Can you provide a link to the page?

  26. Paul Thomson June 9, 2013 at 1:39 am #

    Hi Kento,

    Can you please let me know what the latest version of lazyloader and lazy widget loader is incase I need to update? Also, where is your changelog?

    Thanks,
    Paul :-)

Leave a Reply