Support » Plugin: Native Lazyload » Oxygen Builder (and anything not using the_content() filter)

  • Adame



    The plugin doesn’t work on Oxygen Builder. It’s a page builder that doesn’t use a theme to run, and basically generate content from a custom field called “ct_builder_shortcodes”.

    Any way to use this the plugin with that kind of set up?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Felix Arntz


    Hey there, thanks for the report.

    Unfortunately, supporting completely custom content creation mechanisms that don’t leverage WordPress core’s functions is out of scope for this plugin, unless it’s trivial to implement.

    Do you happen to know if that page builder fires a hook to filter its output? What is that filter’s name? If so, it could potentially be supported.

    David Higgins


    I just ran into a similar issue, where my theme includes a lot of hard-coded tags.

    Adding the “native-lazyload-js-fallback” class to them all seems a bit excessive, and unnecessary.

    A quick tweak to the “querySelectorAll” in the nativeLazyLoadIntialize scripts in the fallback seems to do the trick.

    What I’d like to be able to do is register or override that querySelectorAll( '.native-lazyload-js-fallback' ) with a filter. This would allow me to pass img[loading] as an alternative, to catch all the <img loading="lazy" data-src="path/to.jpg" />



    No hooks or filters for now (asked the devs).

    What’s weird though is that Lazyload by WP Rocket (found here on the public repo) can process the content and add the native attributes.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.