WP Manifestindependent plugin directory
manifest / performance / lazy-load-for-enamad

NewLazyLoadForEnamad

The **LazyLoadForEnamad** plugin enables users to create a lazy-loaded shortcode for Enamad content. It allows content to be loaded asynchronously, improving page load times and user experience.

by hassan Ali Askari · github.com/hassan7303/lazy-load-for-enamad · website

10stars
1forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/hassan7303/lazy-load-for-enamad/archive/refs/heads/master.zip

Readme

Contributors Forks Stargazers MIT License LinkedIn Telegram Instagram GitHub Email

Lazy Load Enamad | WordPress Plugin for Faster Performance

SEO Keywords

WordPress Plugin, Enamad Lazy Load, SEO Optimization, Lazy Loading WordPress, Speed Up WordPress, Performance Optimization, WooCommerce, Enamad Badge, WordPress Speed Optimization, Lazy Load Plugin

Overview

Plugin Name: LazyLoadForEnamad
Version: 1.0.0
Author: Hassan Ali Askari
Author URI: Telegram
Plugin URI: GitHub
License: MIT
License URI: MIT License
Email: hassanali7303@gmail.com
Website: Website

Description

Lazy Load Enamad is a WordPress plugin that helps improve SEO and page speed by loading Enamad content asynchronously. This plugin reduces page load time and enhances user experience by using AJAX-based lazy loading. Ideal for WooCommerce and WordPress sites that need fast and optimized performance.

Support This Project 💖

If you like this plugin, please consider giving it a ⭐ on GitHub!

👉 Give a Star ⭐

Your support helps improve and maintain this project!

Features

  • Create and manage a shortcode from an admin settings page.
  • Load shortcode content via AJAX for improved performance.
  • Displays a loading placeholder until content is retrieved.

Installation

  1. Download the plugin files.
  2. Upload the LazyLoadForEnamad folder to the /wp-content/plugins/ directory.
  3. Activate the plugin through the Plugins menu in WordPress.

Usage

Admin Settings

  1. Navigate to the Custom Shortcode menu in the WordPress admin panel.
  2. Enter your Enamad shortcode in the provided textarea.
  3. Save the settings.

Shortcode

To display the lazy-loaded content based on the user’s settings, use the following shortcode in your posts or pages:

[custom_html]

Functions

custom_shortcode_menu()

Adds a menu item to the WordPress admin panel.

Return void

custom_shortcode_page()

Displays the settings page content where users can input their shortcode.

Return void

custom_shortcode_settings()

Registers settings and adds sections and fields to the settings page.

Return void

load_custom_shortcode()

Handles the AJAX request for the custom shortcode and retrieves the saved content.

Return void

custom_shortcode_enqueue_scripts()

Enqueues the JavaScript necessary for lazy loading.

Return void

custom_shortcode_function()

Shortcode function that displays a placeholder for AJAX-loaded content.

Return string

Read the full README on GitHub →