Plugin Directory

Changeset 2763975


Ignore:
Timestamp:
07/31/2022 05:19:35 AM (3 years ago)
Author:
proloybhaduri
Message:

version 1.0.1

Location:
lazyload-background-images
Files:
52 added
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • lazyload-background-images/trunk/admin/plugin-functions.php

    r2763821 r2763975  
    88{
    99  $links = array(
    10     'settings' => '<a href="'.esc_url( admin_url( 'options-general.php?page=lazyload-bg' ) ).'">Settings</a>',
     10    'settings' => '<a href="' . esc_url(admin_url('options-general.php?page=lazyload-bg')) . '">Settings</a>',
    1111    'support' => '<a style="color:green;" href="' . esc_url('https://buymeacoffee.com/proloybhaduri') . '" target="_blank">Buy Developer A Coffee</a>'
    1212  );
    1313  $actions = array_merge($actions, $links);
    1414  return $actions;
     15}
     16
     17if (
     18  !is_admin()
     19) {
     20  ob_start(function ($buffer) {
     21    $buffer = apply_filters('pblzbg_buffer', $buffer);
     22    return $buffer;
     23  });
    1524}
    1625
  • lazyload-background-images/trunk/init.php

    r2763821 r2763975  
    3434      include_once(PBLZBG_PLUGIN_DIR . 'inc/html-modifier.php');
    3535    }
    36     require_once  PBLZBG_PLUGIN_DIR . 'admin/core/class-buffer.php';
    3736    require_once PBLZBG_PLUGIN_DIR . 'admin/core/class-bg-image-processor.php';
    3837    require_once PBLZBG_PLUGIN_DIR . 'admin/plugin-functions.php';
  • lazyload-background-images/trunk/lazyload-bg.php

    r2763821 r2763975  
    55 * Plugin Name:       LazyLoad Background Images
    66 * Description:       Helps deferring offscreen background images and improves website speed by reducing HTTP requests
    7  * Version:           1.0.0
     7 * Version:           1.0.1
    88 * Requires at least: 5.2
    99 * Requires PHP:      7.2
  • lazyload-background-images/trunk/readme.txt

    r2763821 r2763975  
    66Requires at least: 5.2
    77Tested up to: 6.0.1
    8 Stable tag: 1.0.0
     8Stable tag: 1.0.1
    99Requires PHP: 7.2
    1010License: GPLv2 or later
    1111License URI: https://www.gnu.org/licenses/gpl-2.0.html
    1212
    13 This plugin lazyloads background images
     13Helps deferring offscreen background images and improves website speed by reducing HTTP requests .
    1414
    1515== Description ==
     
    21211. Do not lazyload background images which are peresent above the fold because this will increase time to First Contentful Paint(FCP)  metric and affect the speed of your website .
    22222. Background images that are added using inline CSS e.g, ` <p style=" background-image: url( path/to/background-img.jpg )" > </p> ` are lazyloaded by this plugin by default .
    23 3. [WordPress Tips and Tricks By Proloy Bhaduri](https://proloybhaduri.com/ "WordPress Tips and Tricks by Proloy Bhaduri")
    24 4. [Buy me a Coffee](https://www.buymeacoffee.com/proloybhaduri/ "Support Proloy Bhaduri")
     233. No dependencies required  for this plugin  to work.
     244. No extra HTTP request
     255. Add the selectors of the elements that have background images in the plugin settings page  or add `lazyloag-bg` class to the element .
     266. [WordPress Tips and Tricks By Proloy Bhaduri](https://proloybhaduri.com/ "WordPress Tips and Tricks by Proloy Bhaduri")
     277. [Buy me a Coffee](https://www.buymeacoffee.com/proloybhaduri/ "Support Proloy Bhaduri")
    2528
    2629
     
    2932This section describes the way you can install the plugin
    3033
    31 *  You can directly install the plugin from wordpress admin screen of your site **Plugin > Add New** and search For *Lazyload Background Images* .
     34*  You can directly install the plugin from wordpress admin screen of your site **Plugins > Add New** and search For *Lazyload Background Images* .
    3235*  Alternatively you can download the plugin file from the WordPress.org  and upload to your site via  **Plugins > Add New > Upload Plugin** 
    3336*  Go to **Settings > Lazy Backgrounds**
    3437
    35 == Changelog ==
     38== Changelog ==
     39
     40= 1.0.1 =
     41
     42* Updated readme.txt
    3643
    3744= 1.0.0 =
     
    4249== Upgrade Notice ==
    4350
     51= 1.0.1 =
     52
     53Upgrade the plugin to the latest 1.0.1 to get most of the fixes
     54
    4455= 1.0.0 =
    4556
Note: See TracChangeset for help on using the changeset viewer.