Viewing 1 replies (of 1 total)
  • <?php
    
    add_filter( 'lazyload_is_enabled', 'let_masonry_do_its_stuff' );
    
    function let_masonry_do_its_stuff( $enabled ) {
    
    	if ( is_page($id1, $id2, etc) )
    		$enabled = false;
    
    	return $enabled;
    }

    Use comma to do multiple page. There is a plugin that shows ids in pages/forums/posts/gallery etc, install that and use it to find ids for your page that you want to disable.

Viewing 1 replies (of 1 total)
  • The topic ‘How can i deactivate Lazy Load on some pages?’ is closed to new replies.