Parameter | Details |
---|---|
$args | (string | array) (Optional) Builds sidebar based on the name and id vvalues |
$name | *(string) (Optional) The name of the specialised sidebar. Default value: null |
Argument options are:
E_USER_NOTICE
messages in debug mode, starting with version 4.2.sidebar
will be prepended to the class value. For example, a class of tal
will result in a class value of sidebar-tal
. (default: empty).<li id="%1$s" class="widget %2$s">
) Note: uses sprintf
for variable substitution</li>\n
).<h2 class="widgettitle">
).</h2>\n
).