Back to Home

Mega Menu - Cards

Eyebrow

Title

Desc

Back to Home

Mega Menu - Simple

Menu

📝 Overview

The Menu block displays navigation menus with flexible source options. It can render saved WordPress menus, automatically generate page lists, or display manually entered links.

⚙️ Block Options

Option Type Description
Menu Type Radio Determines the source for menu items:

  • Saved Menu – Select from registered WordPress menus created in Appearance → Menus
  • Page List (wp_list_pages) – Automatically generates a list of pages using WordPress’s wp_list_pages() function
  • Manual Input – Add links individually via a repeater field

Default: Saved Menu

Select Menu Select Choose which saved WordPress menu to display. Only visible when Menu Type is “Saved Menu”.
wp_list_pages Arguments Text Custom arguments for the wp_list_pages() function (e.g., depth=2&sort_column=menu_order). Only visible when Menu Type is “Page List”. Default: title_li=&depth=1
Manual Links Repeater Add custom links via the “Add Link” button. Each item contains a Link field. Only visible when Menu Type is “Manual Input”.

💡 Usage Notes

  • The Saved Menu option is ideal for structured navigation with nested items and custom ordering.
  • The Page List option is useful for quickly displaying site pages without manual configuration. Use the arguments field to control depth and sorting.
  • The Manual Input option provides complete control when you need a simple list of specific links.
  • The current page is highlighted with bold text via the .current_page_item class.