Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

get_sidebar()

3 tags 1 category

get_sidebar() — Loads sidebar template. Includes the sidebar template for a theme or if a name is specified then a specialized sidebar will be included. For the parameter, if the file is called “sidebar-special.php” then specify “special”.

Inputs: $name (string|null): The name of the specialized sidebar. Default null. $args (array): Optional. Additional arguments passed to the sidebar template. Default empty array.

Returns void|false: Void on success, false if the template does not exist.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…