Advertisements

twentyeleven_layouts

Definition:
function twentyeleven_layouts() {}

Returns an array of layout options registered for Twenty Eleven.

Defined filters

  • twentyeleven_layouts
    apply_filters( 'twentyeleven_layouts', $layout_options )

Source code

function twentyeleven_layouts() {

	$layout_options = array(

		'content-sidebar' => array(

			'value' => 'content-sidebar',

			'label' => __( 'Content on left', 'twentyeleven' ),

			'thumbnail' => get_template_directory_uri() . '/inc/images/content-sidebar.png',

		),

		'sidebar-content' => array(

			'value' => 'sidebar-content',

			'label' => __( 'Content on right', 'twentyeleven' ),

			'thumbnail' => get_template_directory_uri() . '/inc/images/sidebar-content.png',

		),

		'content' => array(

			'value' => 'content',

			'label' => __( 'One-column, no sidebar', 'twentyeleven' ),

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

		),

	);



	return apply_filters( 'twentyeleven_layouts', $layout_options );

}

14741

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: