| 开发者 | wpbuilder0 |
|---|---|
| 更新时间 | 2026年10月15日 14:50 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
gsct_should_display filters whether the effect loads on the current request. It receives bool $display and array $settings, runs after every built-in rule and can override them.--gsct-z-index CSS custom property sets the layer's stacking order. The default is 9999.glimmerwake folder to /wp-content/plugins/ and activate it on the Plugins screen.Yes. If a visitor's device or browser asks to reduce motion, the effect does not start. If they switch that setting on while a page is open, the effect stops. On the settings screen, the live preview waits until you select "Play preview".
Yes. Every visitor receives the same HTML. The decisions that differ per visitor, such as reduced motion and touch screen versus mouse, are made in the visitor's browser, so a cached page is safe to share. A seasonal effect's end time is checked again in the browser, so a cached page does not keep showing an effect that has ended. After you change the settings, clear your page cache so visitors get the new version.
If a plugin combines or minifies JavaScript, keep gsct-engine.js before gsct-frontend.js. If it delays JavaScript until the visitor interacts with the page, the effect starts after that first interaction.
Embedded videos, maps and other content from other websites run in frames that do not pass pointer movement to your page. The trail pauses while the pointer is over them and continues when the pointer leaves.
No. The standard WordPress login and registration screens never load it. If your site has a custom login page built as a normal page, add that page to "Excluded content".
Yes. It stays out of the Elementor, Divi, Bricks, Beaver Builder and Oxygen editors and previews, and out of the Customizer preview, so it never gets in your way while you design. Your published pages show the effect.
Yes. The layer uses z-index: 9999 by default. Add this CSS, for example in Appearance > Customize > Additional CSS or in the Site Editor's Additional CSS, and change the number:
:root { --gsct-z-index: 50; }
Whatever its position, the layer never blocks clicks.
Touch screens never show a trail. With "Tap sparkle" selected, a short burst appears where a finger taps. Choose "Off" to show nothing on touch screens. Tapping never blocks scrolling, links or buttons.
The scripts are small, load deferred in the footer, and load only on pages where the effect shows. The animation draws at most 190 particles and stops completely when there is nothing left to draw.
Deactivating the plugin keeps your settings. Deleting it removes them, unless you check "Keep these settings when the plugin is deleted". On a multisite network, each site keeps or removes its own settings.