| [ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 { 2 "$schema": "https://schemas.wp.org/trunk/block.json", 3 "apiVersion": 3, 4 "name": "core/navigation", 5 "title": "Navigation", 6 "category": "theme", 7 "allowedBlocks": [ 8 "core/navigation-link", 9 "core/search", 10 "core/social-links", 11 "core/page-list", 12 "core/spacer", 13 "core/home-link", 14 "core/icon", 15 "core/site-title", 16 "core/site-logo", 17 "core/navigation-submenu", 18 "core/loginout", 19 "core/buttons" 20 ], 21 "description": "A collection of blocks that allow visitors to get around your site.", 22 "keywords": [ "menu", "navigation", "links" ], 23 "textdomain": "default", 24 "attributes": { 25 "ref": { 26 "type": "number" 27 }, 28 "textColor": { 29 "type": "string" 30 }, 31 "customTextColor": { 32 "type": "string" 33 }, 34 "rgbTextColor": { 35 "type": "string" 36 }, 37 "backgroundColor": { 38 "type": "string" 39 }, 40 "customBackgroundColor": { 41 "type": "string" 42 }, 43 "rgbBackgroundColor": { 44 "type": "string" 45 }, 46 "showSubmenuIcon": { 47 "type": "boolean", 48 "default": true 49 }, 50 "submenuVisibility": { 51 "type": "string", 52 "enum": [ "hover", "click", "always" ], 53 "default": "hover" 54 }, 55 "overlayMenu": { 56 "type": "string", 57 "default": "mobile" 58 }, 59 "overlay": { 60 "type": "string" 61 }, 62 "icon": { 63 "type": "string", 64 "default": "handle" 65 }, 66 "hasIcon": { 67 "type": "boolean", 68 "default": true 69 }, 70 "__unstableLocation": { 71 "type": "string" 72 }, 73 "overlayBackgroundColor": { 74 "type": "string" 75 }, 76 "customOverlayBackgroundColor": { 77 "type": "string" 78 }, 79 "overlayTextColor": { 80 "type": "string" 81 }, 82 "customOverlayTextColor": { 83 "type": "string" 84 }, 85 "maxNestingLevel": { 86 "type": "number", 87 "default": 5 88 }, 89 "templateLock": { 90 "type": [ "string", "boolean" ], 91 "enum": [ "all", "insert", "contentOnly", false ] 92 } 93 }, 94 "providesContext": { 95 "textColor": "textColor", 96 "customTextColor": "customTextColor", 97 "backgroundColor": "backgroundColor", 98 "customBackgroundColor": "customBackgroundColor", 99 "overlayTextColor": "overlayTextColor", 100 "customOverlayTextColor": "customOverlayTextColor", 101 "overlayBackgroundColor": "overlayBackgroundColor", 102 "customOverlayBackgroundColor": "customOverlayBackgroundColor", 103 "fontSize": "fontSize", 104 "customFontSize": "customFontSize", 105 "showSubmenuIcon": "showSubmenuIcon", 106 "submenuVisibility": "submenuVisibility", 107 "openSubmenusOnClick": "openSubmenusOnClick", 108 "style": "style", 109 "maxNestingLevel": "maxNestingLevel" 110 }, 111 "supports": { 112 "anchor": true, 113 "align": [ "wide", "full" ], 114 "ariaLabel": true, 115 "contentRole": true, 116 "html": false, 117 "inserter": true, 118 "typography": { 119 "fontSize": true, 120 "lineHeight": true, 121 "__experimentalFontStyle": true, 122 "__experimentalFontWeight": true, 123 "__experimentalTextTransform": true, 124 "__experimentalFontFamily": true, 125 "__experimentalLetterSpacing": true, 126 "__experimentalTextDecoration": true, 127 "__experimentalSkipSerialization": [ "textDecoration" ], 128 "__experimentalDefaultControls": { 129 "fontSize": true 130 } 131 }, 132 "spacing": { 133 "blockGap": true, 134 "units": [ "px", "em", "rem", "vh", "vw" ], 135 "__experimentalDefaultControls": { 136 "blockGap": true 137 } 138 }, 139 "layout": { 140 "allowSwitching": false, 141 "allowInheriting": false, 142 "allowVerticalAlignment": false, 143 "allowSizingOnChildren": true, 144 "default": { 145 "type": "flex" 146 } 147 }, 148 "interactivity": true, 149 "renaming": false 150 }, 151 "editorStyle": "wp-block-navigation-editor", 152 "style": "wp-block-navigation" 153 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated : Tue Jun 16 08:20:09 2026 | Cross-referenced by PHPXref |