Advertisements

twentyeleven_get_default_link_color

Definition:
function twentyeleven_get_default_link_color( $color_scheme = null ) {}

Returns the default link color for Twenty Eleven, based on color scheme.

Parameters

  • $string $color_scheme: Color scheme. Defaults to the active color scheme.

Return values

returns:Color.

Source code

function twentyeleven_get_default_link_color( $color_scheme = null ) {

	if ( null === $color_scheme ) {

		$options = twentyeleven_get_theme_options();

		$color_scheme = $options['color_scheme'];

	}



	$color_schemes = twentyeleven_color_schemes();

	if ( ! isset( $color_schemes[ $color_scheme ] ) )

		return false;



	return $color_schemes[ $color_scheme ]['default_link_color'];

}

14733

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: