File Editor
Directories:
.. (Back)
calypsoify
carousel
comment-likes
comments
contact-form
custom-css
custom-post-types
geo-location
google-analytics
infinite-scroll
lazy-images
likes
markdown
masterbar
memberships
minileven
photon
photon-cdn
plugin-search
post-by-email
protect
publicize
pwa
related-posts
search
seo-tools
sharedaddy
shortcodes
simple-payments
site-icon
sitemaps
sso
subscriptions
theme-tools
tiled-gallery
verification-tools
videopress
widget-visibility
widgets
woocommerce-analytics
wordads
wpcom-block-editor
Files:
.eslintrc.js
after-the-deadline.php
carousel.php
comment-likes.php
comments.php
contact-form.php
copy-post.php
custom-content-types.php
custom-css.php
enhanced-distribution.php
geo-location.php
google-analytics.php
gravatar-hovercards.php
infinite-scroll.php
json-api.php
latex.php
lazy-images.php
likes.php
markdown.php
masterbar.php
minileven.php
mobile-push.php
module-extras.php
module-headings.php
module-info.php
monitor.php
notes.php
photon-cdn.php
photon.php
plugin-search.php
post-by-email.php
protect.php
publicize.php
pwa.php
related-posts.php
search.php
seo-tools.php
sharedaddy.php
shortcodes.php
shortlinks.php
sitemaps.php
sso.php
stats.php
subscriptions.php
theme-tools.php
tiled-gallery.php
vaultpress.php
verification-tools.php
videopress.php
widget-visibility.php
widgets.php
wordads.php
wpgroho.js
Create New File
Create
Edit File: lazy-images.php
<?php /** * Module Name: Lazy Images * Module Description: Speed up your site and create a smoother viewing experience by loading images as visitors scroll down the screen, instead of all at once. * Sort Order: 24 * Recommendation Order: 14 * First Introduced: 5.6.0 * Requires Connection: No * Auto Activate: No * Module Tags: Appearance, Recommended * Feature: Appearance * Additional Search Queries: mobile, theme, fast images, fast image, image, lazy, lazy load, lazyload, images, lazy images, thumbnail, image lazy load, lazy loading, load, loading */ /** * This module relies heavily upon the Lazy Load plugin which was worked on by * Mohammad Jangda (batmoo), the WordPress.com VIP team, the TechCrunch 2011 * redesign team, and Jake Goldman of 10up LLC. * * The JavaScript has been updated to rely on InterSection observer instead of * jQuery Sonar. Many thanks to Dean Hume (deanhume) and his example: * https://github.com/deanhume/lazy-observer-load */ require_once( JETPACK__PLUGIN_DIR . 'modules/lazy-images/lazy-images.php' ); /* * Initialize lazy images on the wp action so that conditional * tags are safe to use. * * As an example, this is important if a theme wants to disable lazy images except * on single posts, pages, or attachments by short-circuiting lazy images when * is_singular() returns false. * * See: https://github.com/Automattic/jetpack/issues/8888 */ add_action( 'wp', array( 'Jetpack_Lazy_Images', 'instance' ) );
Save Changes
Rename File
Rename