Git Product home page Git Product logo

wp-lazy's Introduction

=== WP Lazy ===
Contributors: seezee
Donate link: https://messengerwebdesign.com/donate
Tags: wordpress, filter, images, performance, lazy load
Requires at least: 3.9
Tested up to: 5.8.2
Requires PHP: 7.0
Stable tag: 1.0.3
License: GNUv3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html

== Description ==

Functions to add the loading="lazy" attribute when inserting new media or displaying a gallery via the WordPress gallery shortcode.

== Installation ==

3 WAYS TO USE THESE FUNCTIONS

  1. Copy the contents of lazy.php to your theme’s functions.php. DO NOT include the opening <?php tag!
  2. Place lazy.php in your theme folder and use require_once __DIR__ . '/path/to/lazy.php'; to invoke it
  3. Incorporate the functions in a custom plugin

== Frequently Asked Questions ==

What are these functions for?

Allows WordPress users to use native lazy-loading now that several major browsers support it.

How may I help improve this code?

I’d love to hear your feedback. Drop me a line.

I’d like to do more

I’m looking for collaborators to improve the code. If you are an experienced WordPress programmer, hit me up!

I’d like to do even more

Feel free to send a donation to my Paypal account. Or buy me a beer or a coffee if you’re in town.

== Changelog ==

= 1.0.3 =

  • 2021-11-11
  • Tested up to WordPress 5.8.2
  • Changed double quotation marks to single quotation marks to meet WP coding standards

= 1.0.2 =

  • 2012-09-06
  • Clarified usage option one in installation instructions

= 1.0.1 =

  • 2012-08-22
  • Corrected README errors

= 1.0.0 =

  • 2012-08-22
  • Initial release

== Upgrade Notice ==

= 1.0.3 =

  • 2021-11-11
  • Tested up to WordPress 5.8.2
  • Changed double quotation marks to single quotation marks to meet WP coding standards

wp-lazy's People

Contributors

seezee avatar

Stargazers

 avatar Celestia Airdrop avatar Violent avatar Sérgio Santos avatar EZ avatar Sébastien Dumont avatar Luke Cavanagh avatar Nick Gooding avatar Dinesh Kesarwani avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.