get_header


get_header ( $name = null )

Parameters:
  • (string) name The name of the specialised header.
Returns:
  • (void|bool) Void on success, false if the template does not exist.
Defined at:
Change Log:
  • 5: .

Description

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

Related Functions

get_header_image, get_theme, get_custom_header, login_header, get_the_date

Top Google Results

User discussions

wpseek mobile