Plugin Directory

Changeset 2255950


Ignore:
Timestamp:
03/07/2020 01:56:14 AM (6 years ago)
Author:
shaibi
Message:

Fixed Issues and Tested to latest version of wordpress 5.3.2

Location:
wp-lazy-load-images/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-lazy-load-images/trunk/jq_img_lazy_load.php

    r1347139 r2255950  
    2121
    2222    function action_header() {
    23         echo <<<EOF
    24     <style type='text/css'>
    25     img.lazy { display: none; }
    26     </style>
    27 
    28     EOF;
    29         }
     23       
     24        echo "<style type='text/css'>img.lazy { display: none; }</style>" ;
     25    }
    3026
    3127    function action_enqueue_scripts() {
     
    6965        }
    7066
    71         echo <<<EOF
    72 <script type="text/javascript">
    73 (function($){
    74   $("img.lazy").show().lazyload({effect: "fadeIn"});
    75 })(jQuery);
    76 </script>
    77 
    78 EOF;
     67        echo '<script type="text/javascript">
     68            (function($){
     69              $("img.lazy").show().lazyload({effect: "fadeIn"});
     70            })(jQuery);
     71            </script>';
    7972    }
    8073}
  • wp-lazy-load-images/trunk/readme.txt

    r1347140 r2255950  
    22Contributors: Shoaib
    33Tags: images, jQuery, JavaScript, optimization, Lazylaoding, Lazy Load Wordpress, Lazy Load Jquery
    4 Requires at least: 3.5
    5 Tested up to: 4.0
    6 Stable tag: 1.0
     4Requires at least: 5.3
     5Tested up to: 5.3.2
     6Stable tag: 3.0
    77
    88Add jQuery lazy loading to images
     
    1010== Description ==
    1111
    12 Add lazy loading to WP, more info at http://www.appelsiini.net/projects/lazyload
     12Add lazy loading to your website and that will make your websites faster and your images will be load as after your website get load.
    1313
    1414== Installation ==
    1515
    16 Unzip archive to wp-content/plugins directory, and activate it in Plugins page in wp-admin
     161. Go to website admin and click add new plugin then simply search with the name of 'jQuery Image Lazy Load WP' click on install and activate.
     17
     182. Unzip archive to wp-content/plugins directory, and activate it in Plugins page in wp-admin
Note: See TracChangeset for help on using the changeset viewer.