WordPress plugin intelligence profile

Stayrail – Sticky Widgets & Elements

Make any widget, block or element sticky while visitors scroll. Lightweight, no jQuery, zero layout shift – with one-click import from Fixed Widget.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.1
Current version0.5.0
WordPress coverageTested up to WordPress 7.1
Minimum stackWP 6.2 · PHP 7.4
Directory statusactive
Last directory update27 Oct 20266d ago
Active installationsNewAdoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Stayrail – Sticky Widgets & Elements version 0.5.0 as active, updated 6d ago and tested up to WordPress 7.1.

Overview

About this plugin

Stayrail keeps your most important content in view: sidebar ads, sign-up forms, tables of contents, calls to action or anything else you choose.

It is a modern, actively maintained alternative to the “Fixed Widget” (Q2W3) plugin, and it can import your existing Fixed Widget setup in one click.

Three ways to make something sticky

  • Blocks – select any block in the editor, site editor or block widget editor and switch on “Keep sticky while scrolling”.
  • Classic widgets – tick “Keep sticky while scrolling” on any widget under Appearance → Widgets.
  • Anything else – add a CSS selector in the settings, or give an element the class stayrail-sticky. Works with page builders such as Elementor, Divi, Bricks and Brizy.

Built to just work

  • Stable width when zooming, resizing or rotating the screen.
  • Zero layout shift: a placeholder keeps the element’s spot in the page.
  • Automatically stays below the admin bar and sticky headers.
  • Automatically stops at the site footer, plus your own stop elements.
  • Several sticky widgets in one sidebar stack neatly.
  • Choose desktop, tablet and/or mobile, with your own breakpoints.
  • Elements taller than the screen scroll until their bottom is reached, then stick.
  • Plain JavaScript, no jQuery. Script loads deferred.
  • Translation-ready. Norwegian (bokmål) included.

Switching from Fixed Widget

Activate Stayrail and you’ll see an import notice. One click copies your margins, stop elements, custom elements, minimum screen size and every widget you had marked as fixed. Then deactivate Fixed Widget.

For developers

  • window.Stayrail.refresh() – re-scan the page after loading content with JavaScript (infinite scroll, AJAX).
  • document.dispatchEvent( new Event( 'stayrail:refresh' ) ) – same, event-based.
  • data-stayrail-devices="desktop,tablet" – per-element device override.
  • data-stayrail-after="30" – only stick after 30 % of the page has been scrolled.

stayrail-is-stuck – class added while an element is pinned.

  • stayrail:stuck / stayrail:released – events fired on the element when it is pinned or released.
  • stayrail_frontend_config – filter the configuration sent to the script.

External services

Stayrail includes the Freemius SDK, which is used only to sell and license the optional Stayrail Pro add-on. It runs in anonymous mode: the free plugin shows no opt-in screen and sends no data on its own.

com) only if you choose to opt in from the Plugins screen, or when you buy or activate Stayrail Pro. In that case Freemius receives your site address, WordPress and plugin versions, and the admin e-mail and name used for the license. com/privacy/

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • fixed widget
  • sticky block
  • sticky sidebar
  • sticky widget
Compatibility & maintenance

Compatibility & maintenance

Tested with WP 7.1

Marked as tested with the current WordPress 7.1 release.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.1
Minimum requirementsWordPress 6.2 · PHP 7.4
Update activity27 Oct 20266d ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.