Shaban Skeleton Loader

Description

Shaban Skeleton Loader shows a skeleton loading screen that matches your real page exactly. There are no templates and no per-page setup: install, activate, done.

When a visitor opens a page, the plugin:

  1. Hides the page instantly, so there is no flash of half-loaded content.
  2. Measures every rendered text line, image, video, iframe, button, form field and CSS background image in the visitor’s browser.
  3. Draws a skeleton shape in exactly the same position and size. Text bars follow the real line widths, images keep their rounded corners, fixed headers stay fixed.
  4. Re-measures when images, fonts or the screen size change the layout.
  5. Fades the skeleton out once the page, images and fonts have loaded.

Dashboard

  • One-click on/off switch
  • Whole website or home page only
  • Live preview that updates as you change colors and animation
  • Color presets, auto-detection of your site background, and automatic light shapes on dark sites
  • Shimmer, pulse or static animation, adjustable speed and corner roundness
  • Minimum and maximum display time (the page is always revealed after the maximum)
  • Skip any element with a CSS selector or the class sbsl-ignore
  • “Preview on my site” button for administrators

Works with any theme, with the block editor and page builders such as Elementor, and with WooCommerce stores. Page-builder editors and previews are excluded automatically.

Privacy

The plugin does not collect, store or send any visitor data and does not contact external services. Links to WordPress.org only open when you click them.

Screenshots

Installation

  1. Upload the shaban-skeleton-loader folder to /wp-content/plugins/, or install it from Plugins > Add New.
  2. Activate the plugin through the Plugins screen.
  3. Open Skeleton Loader in the admin menu to adjust the look, or leave the defaults.

FAQ

Do I need to design a skeleton for each page?

No. The skeleton is generated automatically from the real layout of every page.

The skeleton does not appear.

If you use a caching or optimization plugin, exclude frontend.js of this plugin from “delay JS”, “defer JS” and “combine JS”. Also check that the plugin is enabled and not set to “Home page only”.

Will it slow down my site?

The real page is hidden while the skeleton shows, which can delay Core Web Vitals slightly. Keep the maximum display time between 3000 and 6000 ms. The page is always shown after that.

How do I hide it for one element?

Add the class sbsl-ignore to the element, or add a CSS selector under Advanced > Skip these elements.

How can I see the skeleton for longer?

Click “Preview on my site” in the dashboard. It opens your home page and keeps the skeleton on screen until you press “Show real page”.

Does it work on mobile?

Yes. Shapes are measured per device, so phones, tablets and desktops each get a skeleton that fits their layout.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Shaban Skeleton Loader” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.0

  • First release.