Skip to content

Instantly share code, notes, and snippets.

@srikat
Created October 9, 2013 06:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save srikat/6897105 to your computer and use it in GitHub Desktop.
Save srikat/6897105 to your computer and use it in GitHub Desktop.
How to replace site tagline in .site-tagline-left with a widgeted area in Minimum Pro
In functions.php, replace
printf( '<p %s>%s</p>', genesis_attr( 'site-description' ), esc_html( get_bloginfo( 'description' ) ) );
with
genesis_widget_area( 'site-tagline-left' );
and add
genesis_register_sidebar( array(
'id' => 'site-tagline-left',
'name' => __( 'Site Tagline Left', 'minimum' ),
'description' => __( 'This is the site tagline left section.', 'minimum' ),
) );
Now go to Appearance -> Widgets and drag your desired widget into "Site Tagline Left" sidebar that should appear in the site tagline left area.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment