[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentyfifteen/inc/ -> custom-header.php (summary)

Custom Header functionality for Twenty Fifteen

File Size: 376 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 5 functions

  twentyfifteen_custom_header_setup()
  twentyfifteen_hex2rgb()
  twentyfifteen_header_style()
  twentyfifteen_header_background_color_css()
  twentyfifteen_sidebar_text_color_css()

Functions
Functions that are not part of a class:

twentyfifteen_custom_header_setup()   X-Ref
Set up the WordPress core custom header feature.


twentyfifteen_hex2rgb( $color )   X-Ref
Convert HEX to RGB.

return: array Array containing RGB (red, green, and blue) values for the given
param: string $color The original color, in 3- or 6-digit hexadecimal form.

twentyfifteen_header_style()   X-Ref
Styles the header image and text displayed on the blog.


twentyfifteen_header_background_color_css()   X-Ref
Enqueues front-end CSS for the header background color.


twentyfifteen_sidebar_text_color_css()   X-Ref
Enqueues front-end CSS for the sidebar text color.




Generated : Wed Apr 24 08:20:01 2024 Cross-referenced by PHPXref