
內容簡介
Priority Plus Navigation 擴展了 WordPress 的核心導航區塊,實現了 Priority Plus 設計模式。它在主選單中顯示最重要的導航項目,並在空間不足時自動將多餘項目移入「更多」下拉選單,提升使用者體驗。
【主要功能】
• 自動溢出檢測:持續監控可用空間並調整導航可見性
• 響應式設計:適應任何螢幕尺寸或容器寬度
• 可自訂樣式:透過檢查器控制自訂下拉選單樣式
• 可自訂標籤:變更「更多」按鈕文字和圖示
• 無縫整合:與 WordPress 主題完美搭配
• 性能優化:使用 ResizeObserver 進行高效佈局計算
外掛標籤
開發者團隊
原文外掛簡介
Priority Nav extends the core WordPress Navigation block as a variation, implementing the Priority Plus design pattern. It displays the most important navigation items in the main menu bar and automatically moves overflow items into a “More” dropdown menu (default label: “Browse”) when horizontal space is limited.
Key Features:
Automatic Overflow Detection: Continuously monitors available space and adjusts navigation visibility
Responsive by Design: Adapts to any screen size or container width
Customizable Styling: Per-block dropdown menu styling via inspector controls, using CSS custom properties
Customizable Labels: Change the “More” button text and icon
Seamless Integration: Works beautifully with WordPress themes
Performance Optimized: Uses ResizeObserver for efficient layout calculations
Accessible: Keyboard navigation and screen reader friendly
Perfect for sites with many navigation items that need to work across all device sizes without compromising usability.
