Advertisements

twentyeleven_color_schemes

Definition:
function twentyeleven_color_schemes() {}

Returns an array of color schemes registered for Twenty Eleven.

Defined filters

  • twentyeleven_color_schemes
    apply_filters( 'twentyeleven_color_schemes', $color_scheme_options )

Source code

function twentyeleven_color_schemes() {

	$color_scheme_options = array(

		'light' => array(

			'value' => 'light',

			'label' => __( 'Light', 'twentyeleven' ),

			'thumbnail' => get_template_directory_uri() . '/inc/images/light.png',

			'default_link_color' => '#1b8be0',

		),

		'dark' => array(

			'value' => 'dark',

			'label' => __( 'Dark', 'twentyeleven' ),

			'thumbnail' => get_template_directory_uri() . '/inc/images/dark.png',

			'default_link_color' => '#e4741f',

		),

	);



	return apply_filters( 'twentyeleven_color_schemes', $color_scheme_options );

}

14717

Advertisements

No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: