[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

Custom Header functionality for Twenty Fifteen

File Size: 380 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.

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

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

since: Twenty Fifteen 1.0

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

since: Twenty Fifteen 1.0

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

since: Twenty Fifteen 1.0



Generated: Sun Dec 22 01:00:02 2024 Cross-referenced by PHPXref 0.7.1