D
Advanced Sidebar Menu Content

Display menu when there is only the parent page

Display menu when there is only the parent page.

What it does

Display menu when there is only the parent page. It is one of the abilities the Advanced Sidebar Menu plugin exposes, so an AI agent connected to your site can run it for you.

Input schema

FieldTypeRequiredDescription
input string Required What you want this ability to do, in plain language.

Output schema

FieldTypeDescription
result string The result produced by the ability.

Permissions

The agent's WordPress user needs these capabilities. Grant only what's listed here, never a full admin account.

πŸ”’ edit_pages

How an agent calls it

Agents call this ability by name and pass the inputs it needs. A call looks roughly like this:

advanced-sidebar-menu.display-menu-when-there-is-only-the-pare
{
  "ability": "advanced-sidebar-menu.display-menu-when-there-is-only-the-pare",
  "args": { "input": ... }
}

The agent runs the ability, then hands the result back for you to review before anything is published.

Keep exploring

More Advanced Sidebar Menu abilities

All Advanced Sidebar Menu abilities β†’
D
Display the highest level parent page
Advanced Sidebar Menu
Display the highest level parent page.
D
Display the highest level parent category
Advanced Sidebar Menu
Display the highest level parent category.
D
Display categories on single posts
Advanced Sidebar Menu
Display categories on single posts.
D
Display each single post's category in a new widget/block
Advanced Sidebar Menu
Display each single post's category in a new widget/block or in same list.
S
Send pull requests via GitHub Repo
Advanced Sidebar Menu
Send pull requests via GitHub Repo