首页 WordPress函数大全 get_header()

get_header()

2020-05-01 / 5934阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

get_header( string $name = null )

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".

参数

$name

(string)
(Optional)
The name of the specialised header.

Default value: null

大家谈论
    我的见解