question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

WordPress plugin.

See original GitHub issue

Thanks @mfranzke for linking to my WP Plugin. I actaully wanted to tell you but forgot about it and then found it already in the readme.

As always I spend way more time on this then expected. The latest versions do not wrap any element that is already wrapped in noscript and also I made a change that I do not wrap the the very first element inside the the_content and put loading=eager on it. This polyfill does nothing with eager right? And wrapping it would be counterproductive as that needs the JS to execute first b4 the image would be loaded right?

If you or anyone reading this has any suggestions for the plugin please let me know.

I recently after I first released my plugin found this https://wordpress.org/plugins/native-lazyload/ by google. It got a lot of negative feedback. I skimmed the code and they do include a script but let it load with defer and make it only execute once. I like this more as you can async load it in the head, makes way more sense to me. As for the PHP code its seems quite complex, possibly bloated. Mine takes only ~150 lines so far. There are special hoops they have to jump because their script is not working on later loaded images.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
nextgenthemescommented, Oct 17, 2019

Ah OK thanks for the clarification.

0reactions
mfranzkecommented, Oct 17, 2019

@nextgenthemes, to my understanding, this issue was mainly about having this conversation and even also aligning those topics - or is there anything else that you want to do with this ticket? Elsewhere I could close it, as we seem to have aligned on everything.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Plugins - WordPress.org
Choose from thousands of free plugins to build, customize, and enhance your WordPress website.
Read more >
Plugins - WordPress.com
From WordPress.com premium plugins to thousands more community-authored plugins, we've got you covered. Flexible pricing. Pay yearly and save. Or keep it ...
Read more >
24 Must Have WordPress Plugins for Business Websites in 2022
Looking for the best WordPress plugins to take your business to the next level in 2022? There are over 60,000+ WordPress plugins that...
Read more >
The Ultimate Guide to WordPress Plugins: 18 Examples ...
A WordPress plugin is a piece of software that “plugs into” your WordPress site. Plugins can add new functionality or extend existing ...
Read more >
WordPress Plugins - WP Plugins | CodeCanyon
Choose from over 5,100 WordPress plugins. Explore items created by our global community of independent developers, confident they're hand-reviewed by us.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found