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.
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.
An array of items. Each item has a “label” and either “children” (an array of more items) or a “url”.
[
{
“label”: “Category A”,
“children”: [
{
“label”: “Subcategory A1”,
“children”: [
{ “label”: “Page one”, “url”: “https://example.com/a/a1/one” },
{ “label”: “Page two”, “url”: “https://example.com/a/a1/two” }
]
}
]
}
]