get_sidebar


get_sidebar ( $name = null )

Parameters:
  • (string) name The name of the specialised sidebar.
Defined at:

Description

Load sidebar template.Includes the sidebar template for a theme or if a name is specified then a specialised sidebar will be included. For the parameter, if the file is called "sidebar-special.php" then specify "special".

Related Functions

register_sidebar, get_site, register_sidebars, get_users, get_site_url

Top Google Results

User discussions

wpseek mobile