• I personally like the plugin options that you can choose not to use lazyload on iframes.
    Other plugin I used broked the gourl.io payment gateway functionality but this don’t

    this should work not to lazyload pages, only posts are lazyloaded:

    add_action( 'wp', 'deactivate_rocket_lazyload_on_page' );
    function deactivate_rocket_lazyload_on_page() {
        if ( is_page() ) {
            add_filter( 'do_rocket_lazyload', '__return_false' );
        }
    }
    • This topic was modified 7 years, 4 months ago by viperzero.
  • The topic ‘Works fine’ is closed to new replies.