diff --git src/wp-content/themes/twentyfifteen/functions.php src/wp-content/themes/twentyfifteen/functions.php
index 056a361..1c382bf 100644
|
|
|
function twentyfifteen_setup() {
|
| 118 | 118 | $default_color = trim( $color_scheme[0], '#' ); |
| 119 | 119 | |
| 120 | 120 | // Setup the WordPress core custom background feature. |
| | 121 | |
| | 122 | /** |
| | 123 | * Filter Twenty Fifteen custom-header support arguments. |
| | 124 | * |
| | 125 | * @since Twenty Fifteen 1.0 |
| | 126 | * |
| | 127 | * @param array $args { |
| | 128 | * An array of custom-header support arguments. |
| | 129 | * |
| | 130 | * @type string $default-color Default color of the header. |
| | 131 | * @type string $default-attachment Default attachment of the header. |
| | 132 | * } |
| | 133 | */ |
| 121 | 134 | add_theme_support( 'custom-background', apply_filters( 'twentyfifteen_custom_background_args', array( |
| 122 | 135 | 'default-color' => $default_color, |
| 123 | 136 | 'default-attachment' => 'fixed', |
diff --git src/wp-content/themes/twentyseventeen/functions.php src/wp-content/themes/twentyseventeen/functions.php
index 2c73443..63d4064 100644
|
|
|
function twentyseventeen_content_width() {
|
| 117 | 117 | $content_width = 1120; |
| 118 | 118 | } |
| 119 | 119 | |
| | 120 | /** |
| | 121 | * Filter Twenty Seventeen content width of the theme. |
| | 122 | * |
| | 123 | * @since Twenty Seventeen 1.0 |
| | 124 | * |
| | 125 | * @param $content_width integer |
| | 126 | */ |
| 120 | 127 | $GLOBALS['content_width'] = apply_filters( 'twentyseventeen_content_width', $content_width ); |
| 121 | 128 | } |
| 122 | 129 | add_action( 'after_setup_theme', 'twentyseventeen_content_width', 0 ); |
diff --git src/wp-content/themes/twentyseventeen/inc/color-patterns.php src/wp-content/themes/twentyseventeen/inc/color-patterns.php
index 4fd22da..af44ee8 100644
|
|
|
|
| 12 | 12 | */ |
| 13 | 13 | function twentyseventeen_custom_colors_css() { |
| 14 | 14 | $hue = get_theme_mod( 'colorscheme_hue', 250 ); |
| | 15 | |
| | 16 | /** |
| | 17 | * Filter Twenty Seventeen default saturation level. |
| | 18 | * |
| | 19 | * @since Twenty Seventeen 1.0 |
| | 20 | * |
| | 21 | * @param $saturation integer |
| | 22 | */ |
| 15 | 23 | $saturation = apply_filters( 'twentyseventeen_custom_colors_saturation', 50 ); |
| 16 | 24 | $reduced_saturation = ( .8 * $saturation ) . '%'; |
| 17 | 25 | $saturation = $saturation . '%'; |
diff --git src/wp-content/themes/twentyseventeen/inc/custom-header.php src/wp-content/themes/twentyseventeen/inc/custom-header.php
index 3a8198e..d14f5aa 100644
|
|
|
|
| 15 | 15 | * @uses twentyseventeen_header_style() |
| 16 | 16 | */ |
| 17 | 17 | function twentyseventeen_custom_header_setup() { |
| | 18 | |
| | 19 | /** |
| | 20 | * Filter Twenty Seventeen custom-header support arguments. |
| | 21 | * |
| | 22 | * @since Twenty Seventeen 1.0 |
| | 23 | * |
| | 24 | * @param array $args { |
| | 25 | * An array of custom-header support arguments. |
| | 26 | * |
| | 27 | * @type string $default-image Default image of the header. |
| | 28 | * @type string $default_text_color Default color of the header text. |
| | 29 | * @type int $width Width in pixels of the custom header image. Default 954. |
| | 30 | * @type int $height Height in pixels of the custom header image. Default 1300. |
| | 31 | * @type string $wp-head-callback Callback function used to styles the header image and text |
| | 32 | * displayed on the blog. |
| | 33 | * @type string $flex-height Flex support for height of header. |
| | 34 | * } |
| | 35 | */ |
| 18 | 36 | add_theme_support( 'custom-header', apply_filters( 'twentyseventeen_custom_header_args', array( |
| 19 | 37 | 'default-image' => get_parent_theme_file_uri( '/assets/images/header.jpg' ), |
| 20 | 38 | 'default-text-color' => 'ffffff', |
diff --git src/wp-content/themes/twentyseventeen/inc/icon-functions.php src/wp-content/themes/twentyseventeen/inc/icon-functions.php
index 13034b3..695ea6e 100644
|
|
|
function twentyseventeen_social_links_icons() {
|
| 195 | 195 | 'youtube.com' => 'youtube', |
| 196 | 196 | ); |
| 197 | 197 | |
| | 198 | /** |
| | 199 | * Filter Twenty Seventeen social links icons. |
| | 200 | * |
| | 201 | * @since Twenty Seventeen 1.0 |
| | 202 | * |
| | 203 | * @param array $social_links_icons |
| | 204 | */ |
| 198 | 205 | return apply_filters( 'twentyseventeen_social_links_icons', $social_links_icons ); |
| 199 | 206 | } |