Plugin Directory

Changeset 1246810


Ignore:
Timestamp:
09/16/2015 06:00:42 PM (10 years ago)
Author:
edgewebware
Message:
  • ADDED: support note for 4.3.1
  • Updated Description and Tags
  • ADDED: Donate/Support link
  • ADDED: FAQ
  • Fixed: removed deprecated function of woocommerce_placeholder_img_src and replaced with the current (as of WC 2.1.0) wc_placeholder_img_src
Location:
lazyload-woocommerce
Files:
8 added
2 edited

Legend:

Unmodified
Added
Removed
  • lazyload-woocommerce/trunk/lazyload-woocommerce.php

    r1225289 r1246810  
    55  Plugin URI: https://wordpress.org/plugins/lazyload-woocommerce/
    66  Description: Lazy Load for WooCommerce includes the functionality to properly append Lazy Load into the image loop for WooCommerce in product listings (i.e. category). This does not apply to the individual product image, but anywhere they are used in the loop (by default, the unordered list). Includes a fallback if JavaScript is not active. Does not call in jQuery (you must have this already in use).
    7   Version: 1.2
     7  Version: 1.2.1
    88  Author: Edge Webware
    99  Author URI: http://edgewebware.com
     
    9191        $llwoo_image_src = wp_get_attachment_image_src(get_post_thumbnail_id(), 'shop_catalog');
    9292        $llwoo_placeholder = get_option('lazyload-woo_placeholder');
    93         $llwoo_placeholder_fallback = woocommerce_placeholder_img_src();
     93        $llwoo_placeholder_fallback = wc_placeholder_img_src();
    9494        $size = wc_get_image_size( 'shop_catalog' );
    9595        $llwoo_width = $size['width'];
  • lazyload-woocommerce/trunk/readme.txt

    r1225289 r1246810  
    11=== Lazy Load for WooCommerce ===
    22Contributors: edgewebware,aibrean
    3 Tags: lazy load, jquery,woocommerce, products, images
     3Tags: lazy load, jquery, woocommerce, products, images, lazyload, front-end optimization, image load, image lazyload, lazy loading, placeholder, placeholder image
     4Donate link: https://edgewebware.com/plugins/
    45Requires at least: 4.0.0
    5 Tested up to: 4.3
    6 Stable tag: 1.2
     6Tested up to: 4.3.1
     7Stable tag: 1.2.1
    78License: GPLv2 or later
    89License URI: http://www.gnu.org/licenses/gpl-2.0.html
    910
    10 Lazy Load for WooCommerce includes the functionality to properly append Lazy Load into the image loop for WooCommerce (2.4.4 tested).
     11Lazy Load for WooCommerce includes the functionality to properly append Lazy Load into the image loop for WooCommerce (2.4.6 tested).
    1112
    1213== Description ==
    13 Lazy Load for WooCommerce includes the functionality to properly append Lazy Load into the image loop for WooCommerce in product listings (i.e. shop category). It has been tested against WooCommerce 2.3.8. This does not apply to the individual product image, but anywhere they are used in the loop (by default, the unordered list).
     14Lazy Load for WooCommerce includes the functionality to properly append Lazy Load into the image loop for WooCommerce in product listings (i.e. shop category). It has been tested against WooCommerce 2.3.8 and should work back to WooCommerce 2.1.0 (untested). This does not apply to the individual product image, but anywhere they are used in the loop (by default, the unordered list).
     15
     16If you would like to send an email directly for support, contact us via the form at <a href="https://edgewebware.com/plugins/" target="_blank">https://edgewebware.com/plugins/</a>.
    1417
    1518== Installation ==
     
    2427Additionally, we allow for you to modify the available functions for Lazy Load. To dequeue the plugin functions and use your own, use `wp_dequeue_script('lazyload-call');`. See http://www.appelsiini.net/projects/lazyload for a full rundown of options (trigger loading, effects, images in containers, nonsequential images, invisible images, etc.).
    2528
     29If you would like to send an email directly for support, contact us via the form at <a href="https://edgewebware.com/plugins/" target="_blank">https://edgewebware.com/plugins/</a>.
     30
     31== Frequently Asked Questions ==
     32= Does this plugin work with the newest WP/WooCommerce version and also older versions? =
     33Since it's fairly basic it should. It's a very lightweight plugin.
     34
     35You will need to manually call in jQuery support if you don't already have it running (see Installation Instructions).
     36
     37Your WooCommerce installation needs to support `shop_catalog` which has been an initiated image size since WooCommerce 1.6.2 at least.
     38
     39Secondarily, there should be support for WooCommerce's placeholder image (not an absolute requirement for loading since you can put in your own, but the tab may not be visible or in the same location in older versions of WooCommerce). The placeholder image function for WooCommerce has been updated to `wc_placeholder_img_src` so previous instances of `woocommerce_placeholder_img_src` have been deprecated as of 2.1.0.
     40= What is WooCommerce's image loop? =
     41We are basically replacing WooCommerce's hook of `woocommerce_template_loop_product_thumbnail` with our own (for Lazy Load). This is used in the `content-product.php` template file. If your WooCommerce theme has been customized (YOURTHEME/woocommerce/content-product.php) then in some cases this has been altered. The hook runs as part of `do_action( 'woocommerce_before_shop_loop_item_title' )`.
     42= If I have a custom image loop, can I still use the plugin? =
     43It would probably be best if you were to manually configure the source LazyLoad script (<a href="http://www.appelsiini.net/projects/lazyload" target="_blank" rel="nofollow">http://www.appelsiini.net/projects/lazyload</a>) to reduce code bloat. It is possible to use our plugin and then add the class "lazy" to your image and replace the image src with your placeholder image and add `data-original` to link to your thumbnail. You would also need to add width/height to the image element.
    2644== Screenshots ==
    27451. Setting up the placeholder for the products that will be used for LazyLoad (it will match the shop catalog image dimensions).
    2846
    2947== Changelog ==
     48= 1.2.1 =
     49* ADDED: support note for 4.3.1
     50* Updated Description and Tags
     51* ADDED: Donate/Support link
     52* ADDED: FAQ
     53* Fixed: removed deprecated function of `woocommerce_placeholder_img_src` and replaced with the current (as of WC 2.1.0) `wc_placeholder_img_src`
     54
    3055= 1.2 =
    3156* Removed manual entry of dimensions. It will now automatically use the dimensions for `shop_catalog` which is set under WooCommerce > Settings > Products > Display.
Note: See TracChangeset for help on using the changeset viewer.