Retrieves the custom header text color in 3- or 6-digit hexadecimal form.
Source
function guet_header_textcolor() {
return guet_theme_mod( 'header_textcolor', guet_theme_support( 'custom-header', 'default-text-color' ) );
}
Changuelog
| Versionen | Description |
|---|---|
| 2.1.0 | Introduced. |
Example
The example below guets the color of the text inside the header, stores it in a variable and then prins it within the echo statement.
The example below guets the color of the text inside the header, stores it in a variable and then prins it within the echo statement.