{"id":34518,"date":"2015-02-13T21:22:53","date_gmt":"2015-02-13T21:22:53","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/lazy-load-xt\/"},"modified":"2016-02-22T16:01:42","modified_gmt":"2016-02-22T16:01:42","slug":"lazy-load-xt","status":"publish","type":"plugin","link":"https:\/\/tt.wordpress.org\/plugins\/lazy-load-xt\/","author":601700,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.5.3","stable_tag":"0.5.3","tested":"4.4.34","requires":"3.1","requires_php":"","requires_plugins":"","header_name":"Lazy Load XT","header_author":"Davo Hynds","header_description":"","assets_banners_color":"7aacc3","last_updated":"2016-02-22 16:01:42","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/wordpress.org\/plugins\/lazy-load-xt\/","header_author_uri":"http:\/\/www.mightybytes.com\/","rating":4.8,"author_block_rating":0,"active_installs":600,"downloads":29978,"num_ratings":27,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":"2","3":0,"4":0,"5":"27"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1094664","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1094664","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"1094660","resolution":"1544x500","location":"assets"},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1094660","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1.0","0.2.0","0.3.0","0.3.1","0.3.2","0.4.0","0.4.1","0.5.0","0.5.1","0.5.2","0.5.3"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1860,133,4884,39861,84],"plugin_category":[50],"plugin_contributors":[81648],"plugin_business_model":[],"class_list":["post-34518","plugin","type-plugin","status-publish","hentry","plugin_tags-iframe","plugin_tags-image","plugin_tags-lazy-load","plugin_tags-lazy-load-xt","plugin_tags-media","plugin_category-media","plugin_contributors-dbhynds","plugin_committers-dbhynds"],"banners":{"banner":"https:\/\/ps.w.org\/lazy-load-xt\/assets\/banner-772x250.png?rev=1094660","banner_2x":"https:\/\/ps.w.org\/lazy-load-xt\/assets\/banner-1544x500.png?rev=1094660","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/lazy-load-xt\/assets\/icon-128x128.png?rev=1094664","icon_2x":"https:\/\/ps.w.org\/lazy-load-xt\/assets\/icon-256x256.png?rev=1094664","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Lazy load images, YouTube and Vimeo videos, and iframes using <a href=\"https:\/\/github.com\/ressio\/lazy-load-xt\">Lazy Load XT<\/a>.<\/p>\n\n<p>Lazy Load XT is the fastest, lightest, fully customizable lazy load plugin in the WordPress Plugin Directory.<\/p>\n\n<p>This plugin works by loading the Lazy Load XT script and replacing the <code>src<\/code> attributes with <code>data-src<\/code> when the content of a post or page is loaded on the front end of a WordPress site.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install and activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<p>or<\/p>\n\n<ol>\n<li>Download and unzip Lazy Load XT.<\/li>\n<li>Upload the <code>lazy-load-xt<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Why aren't my images lazy loading?<\/dt>\n<dd><p>Lazy Load XT filters images added to the page using <code>the_content<\/code>, <code>post_thumbnail_html<\/code>, <code>widget_text<\/code> and <code>get_avatar<\/code>. If your images are added using another function (<code>wp_get_attachment_image<\/code> for example), Lazy Load XT does not filter them. However, as of v0.4, you can filter the HTML yourself by passing it to <code>get_lazyloadxt_html<\/code>.<\/p>\n\n<p>For example, if a theme has:\n    echo wp_get_attachment_image($id);\nChanging it to the following would lazy load the image:\n    echo get_lazyloadxt_html( wp_get_attachment_image($id) );<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.5.3<\/h4>\n\n<ul>\n<li>Fix multisite activation error<\/li>\n<\/ul>\n\n<h4>0.5.2<\/h4>\n\n<ul>\n<li>Actually fixed the error for older versions of PHP<\/li>\n<\/ul>\n\n<h4>0.5.1<\/h4>\n\n<ul>\n<li>Fixed error for older versions of PHP<\/li>\n<li>Fixed incorrect script being loaded for background images<\/li>\n<\/ul>\n\n<h4>0.5.0<\/h4>\n\n<ul>\n<li>Implemented srcset attribute for WP 4.4<\/li>\n<\/ul>\n\n<h4>0.4.1<\/h4>\n\n<ul>\n<li>Tweaked regex for iframes<\/li>\n<li>Fixed operators on settings class<\/li>\n<\/ul>\n\n<h4>0.4<\/h4>\n\n<ul>\n<li>Added <code>get_lazyloadxt_html()<\/code> to let users pass HTML to be filtered<\/li>\n<li>Disabled filtering HTML for RSS Feeds<\/li>\n<li>Added support for content loaded via AJAX<\/li>\n<\/ul>\n\n<h4>0.3.2<\/h4>\n\n<ul>\n<li>Error when using checked() and undefined index<\/li>\n<\/ul>\n\n<h4>0.3.1<\/h4>\n\n<ul>\n<li>Fix typos and undefined indexes<\/li>\n<\/ul>\n\n<h4>0.3<\/h4>\n\n<ul>\n<li>Parse HTML with regex instead of PHP's DOMDocument<\/li>\n<li>Fix UTF-8 problems<\/li>\n<li>Enable script-based tagging<\/li>\n<li>Lazy load gravatars<\/li>\n<li>Enable loading scripts from CDN and in footer<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Lazy load HTML5 elements<\/li>\n<li>Toggle and lazy load featured images, text widgets<\/li>\n<li>Specify css classes to skip lazy loading<\/li>\n<li>Improve settings, installation and upgrade<\/li>\n<li>Fallback to 1x1 pixel transparent gif<\/li>\n<li>HTML validation<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>Load Lazy Load XT js using <code>wp_enqueue_scripts()<\/code><\/li>\n<li>Replace <code>src<\/code> with <code>data-src<\/code> in <code>the_content()<\/code><\/li>\n<\/ul>","raw_excerpt":"Lazy Load images, videos, iframes and more using Lazy Load XT.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/34518","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tt.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tt.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=34518"}],"author":[{"embeddable":true,"href":"https:\/\/tt.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/dbhynds"}],"wp:attachment":[{"href":"https:\/\/tt.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=34518"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=34518"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=34518"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=34518"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=34518"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=34518"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}