wp sidebar <command>

Lists registered sidebars.

A sidebar is any widgetized area of your theme.

EXAMPLES EXAMPLES

# List sidebars
$ wp sidebar list --fields=name,id --format=csv
name,id
"Widget Area",sidebar-1
"Inactive Widgets",wp_inactive_widgets

Top ↑

SUBCOMMANDS SUBCOMMANDS

Name Description
wp sidebar list

Lists registered sidebars.

Command documentation is regenerated at every release. To add or update an example, please submit a pull request against the corresponding part of the codebase.