Home › Forums › WoodMart support forum › Disable Lazy Load Snippet Disable Lazy Load Snippet This topic has 3 replies, 2 voices, and was last updated 5 years, 4 months ago by Artem Temos. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts August 14, 2019 at 11:07 am #138127 newsprinceParticipant Hello. Can you post a snippet to disable lazy load when the lazy load option is enabled so that we can disable lazy load on a particular page we want? Thank you. August 14, 2019 at 12:00 pm #138141 Artem TemosKeymaster Hi, Try to add the following PHP code snippet to the child theme functions.php file to do this function woodmart_disable_lazy_on_page() { $current_page_id = get_queried_object_id(); if ( ! $current_page_id ) { $current_page_id = get_the_ID(); } $pages = [ 107, 108, ]; if ( in_array( $current_page_id, $pages ) ) { woodmart_lazy_loading_deinit( true ); } } add_action( 'wp', 'woodmart_disable_lazy_on_page', 1000 ); Regards August 14, 2019 at 12:10 pm #138147 newsprinceParticipant Yes excellent. Thank you very much! August 14, 2019 at 12:41 pm #138158 Artem TemosKeymaster You are welcome. Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to create new topics. Login / Register