scaffold_shortcode_ui
Generate a WordPress shortcode with TinyMCE button, attribute panel, and frontend rendering class for custom shortcode UI.
Instructions
Generate an enhanced WordPress shortcode with admin UI (TinyMCE button), attribute panel, and frontend rendering class.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"rootNamespace": "<rootNamespace>",
"shortcodeName": "<shortcodeName>",
"textDomain": "<textDomain>",
"attributes": "<attributes>"
},
"name": "scaffold_shortcode_ui"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rootNamespace | Yes | Plugin root namespace | |
| shortcodeName | Yes | Shortcode tag (e.g., "pricing_table") | |
| textDomain | Yes | Plugin text domain | |
| attributes | Yes | Attributes as "name:type:label:default" (e.g., "columns:number:Columns:3,style:select:Style:modern,title:text:Title:Our Plans") | |
| hasContent | No | Shortcode wraps content (default: false) |