Linux 软件免费装

Elmspur Cascade – Dropdown Redirect

开发者 Elmspur
更新时间 2026年10月30日 23:01
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

redirect block editor cascading dropdown dropdown redirect dependent dropdown

下载

1.5.0 1.4.1 1.4.0

详情介绍:

Elmspur Cascade adds a cascading dropdown redirect block to the WordPress block editor. Visitors pick from one or more dependent dropdowns — for example Category → Topic → Page — and are redirected to the URL attached to their final choice. No form plugin or shortcode is required. Each dropdown filters the next: choosing a value in one level determines the options available in the next. When the visitor reaches an item that has a URL, they are sent to it — either immediately, or after clicking a button you can label yourself. Features Use cases Companion add-on A separate add-on, distributed from elmspur.com (not from WordPress.org), adds saved/reusable dropdown trees: define a tree once, link it to as many blocks as you like, and edits propagate site-wide. It is optional — this plugin is fully functional on its own.

安装:

  1. In wp-admin go to Plugins → Add New Plugin and search for Elmspur Cascade — or download the zip and use Upload Plugin.
  2. Activate the plugin.
  3. Edit any post, page, or template and insert the Cascading Redirect Dropdowns block.
  4. Click Open menu builder in the block sidebar to build your dropdown tree, adding a URL to each item that should be a destination.

屏幕截图:

  • The cascading dropdowns on the front end — each selection filters the next level, and the final choice redirects the visitor.

常见问题:

The dropdown text is invisible on my dark theme. How do I fix it?

Some dark themes set light text but leave the browser's white dropdown background. Select the block, open "Dropdown colors" in the sidebar, and set Color mode to Dark (or Auto if your site follows the visitor's system setting). You can also pick exact colors under "Custom dropdown colors".

Does this require a form plugin?

No. Elmspur Cascade is a standalone native block with no dependencies. Install and activate it, and the block is immediately available in the editor.

How many dropdown levels can I have?

Up to 5 cascade levels. Each branch only renders as many dropdowns as it actually uses — a 2-level branch redirects from level 2 and leaves remaining dropdowns disabled.

Does it work with my theme?

Yes. It's a native WordPress block that inherits your theme's styles. The Go button uses the core button element, so it picks up your theme's button colors, typography, and border radius automatically.

Does it slow my site down?

No. The front-end script is small and dependency-free — no jQuery, no external requests. It uses viewScript in block.json, so it only loads on pages that actually contain the block.

Can the final selection open in a new tab?

Yes. Toggle Open in a new tab in the block sidebar.

更新日志:

1.5.0 1.4.1 1.4.0 1.3.1 1.3.0 1.2.0 1.1.0 1.0.0