Wp sidebar (WP-CLI): verschil tussen versies
Naar navigatie springen
Naar zoeken springen
(Nieuwe pagina aangemaakt met '''wp sidebar'' lists registered sidebars. Dit commando kent maar één subcommando. Het komt wellicht van pas als je gebruik wilt maken van <code>wp widget</code>:...') |
|||
(2 tussenliggende versies door dezelfde gebruiker niet weergegeven) | |||
Regel 1: | Regel 1: | ||
− | ''wp sidebar'' lists registered sidebars. | + | ''wp sidebar'' lists registered sidebars. It has only one subcommand. You might need this command when working with ''widgets'' |
<pre> | <pre> | ||
Regel 34: | Regel 34: | ||
</pre> | </pre> | ||
− | + | == See also == | |
− | + | * [[Wp sidebar list (WP-CLI) | wp sidebar list]] | |
− | + | * [[Wp widget list (WP-CLI) | wp widget list]] | |
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | |||
− | |||
− | |||
− |
Huidige versie van 27 aug 2022 om 16:03
wp sidebar lists registered sidebars. It has only one subcommand. You might need this command when working with widgets
$wp help sidebar NAME wp sidebar DESCRIPTION Lists registered sidebars. SYNOPSIS wp sidebar <command> SUBCOMMANDS list Lists registered sidebars. A [sidebar][1] is any widgetized area of your theme. --- [1] https://developer.wordpress.org/themes/functionality/sidebars/ EXAMPLES # List sidebars $ wp sidebar list --fields=name,id --format=csv name,id "Widget Area",sidebar-1 "Inactive Widgets",wp_inactive_widgets