wp widget add <name> <sidebar-id> <position>
Adds a widget to a sidebar
Arguments
Name | Description |
---|---|
name | Widget name |
sidebar-id | ID for the corresponding sidebar |
position | Widget’s current position within the sidebar. Defaults to last |
Options
Name | Description |
---|---|
--field=value | Widget option to add, with its new value |