twentyfifteen_custom_header_args

過濾鉤子
引數
  • (array) $args { An array of custom-header support arguments. @type string $default_text_color Default color of the header text. @type int $width Width in pixels of the custom header image. Default 954. @type int $height Height in pixels of the custom header image. Default 1300. @type string $wp-head-callback Callback function used to styles the header image and text displayed on the blog. }
    Required:
    Default:
定義位置
  • wp-content/themes/twentyfifteen/inc/custom-header.php , line 36
相關勾子
twentysixteen_custom_header_argstwentyfourteen_custom_header_argstwentyseventeen_custom_header_argstwentysixteen_custom_header_sizestwentyfifteen_custom_background_args
相關方法
get_custom_header_markupthe_custom_header_markupget_custom_headerhas_custom_headerget_column_headers_custom_logo_header_styles
引入
Twenty Fifteen 1.0
棄用
-

twentyfifteen_custom_header_args: 這是一個自定義函式,為Twenty Fifteen主題設定自定義標題功能。它設定了預設值,並允許使用者使用WordPress儀表盤中的”外觀”>”標題”頁面來定製他們網站的標題影象。

Twenty Fifteen自定義頁首支援引數。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
apply_filters(
apply_filters(
apply_filters(

常見問題

FAQs
檢視更多 >