mirror of
https://github.com/gantry/gantry5.git
synced 2026-08-19 01:15:04 -05:00
Fix #581: Do not display default/active menu options in WP
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
name: Menu
|
||||
description: Gantry menu
|
||||
type: particle
|
||||
|
||||
form:
|
||||
fields:
|
||||
|
||||
enabled:
|
||||
type: input.checkbox
|
||||
label: Enabled
|
||||
description: Globally enable the menu particle.
|
||||
default: true
|
||||
|
||||
_info:
|
||||
type: separator.note
|
||||
class: alert alert-info
|
||||
content: GANTRY5_PARTICLE_MENU_INFO
|
||||
|
||||
base:
|
||||
type: input.text
|
||||
label: Base Path
|
||||
description: Select the base path.
|
||||
default: /
|
||||
|
||||
menu:
|
||||
type: menu.list
|
||||
label: Menu
|
||||
description: Select menu to be used with the particle.
|
||||
default: ''
|
||||
selectize:
|
||||
allowEmptyOption: true
|
||||
options:
|
||||
'': '- Select Menu -'
|
||||
|
||||
startLevel:
|
||||
type: input.text
|
||||
label: Start Level
|
||||
description: Set the start level of the menu.
|
||||
default: 1
|
||||
|
||||
endLevel:
|
||||
type: input.text
|
||||
label: Max Levels
|
||||
description: Set the maximum number of menu levels to display.
|
||||
default: 0
|
||||
|
||||
mobileTarget:
|
||||
type: input.checkbox
|
||||
label: Mobile Target
|
||||
description: Check this field if you want this menu to become the target for Mobile Menu and to appear in Offcanvas
|
||||
default: 0
|
||||
Reference in New Issue
Block a user