header_textcolor

函式
header_textcolor ( No parameters )

header_textcolor – 這是一個WordPress函式,用於檢索當前主題的自定義標題影象的文字顏色。文字顏色是用來確保文字在標題圖片的背景下是可讀的。header_textcolor函式可以用來在一個自定義的位置顯示文字顏色,或者檢查當前主題是否有一個自定義文字顏色。

顯示3位或6位十六進位制的自定義標題文字顏色(減去雜湊符號)。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
function header_textcolor() {
echo get_header_textcolor();
}
function header_textcolor() { echo get_header_textcolor(); }
function header_textcolor() {
	echo get_header_textcolor();
}

常見問題

FAQs
檢視更多 >