123456789101112131415161718192021 |
- <?
- /**
- * Adds support for wp.com-specific theme functions.
- *
- * @global array $themecolors
- */
- function coutoire_wpcom_setup() {
- global $themecolors;
- // Set theme colors for third party services.
- if ( ! isset( $themecolors ) ) {
- $themecolors = array(
- 'bg' => 'FFFFFF', // $config-global--color-background-default
- 'border' => 'DDDDDD', // $config-global--color-border-default
- 'text' => '444444', // $config-global--color-foreground-default
- 'link' => '000000', // $config-global--color-primary-default
- 'url' => '000000', // $config-global--color-primary-default
- );
- }
- }
- add_action( 'after_setup_theme', 'coutoire_wpcom_setup' );
|