In this tutorial, i'll show you how to add the Tagline from the new Minimum Pro theme by StudioPress to another theme.
For this example, i'll be adding the widget for the tagline to the Genesis 2.0 Sample child theme.
Here's what the tagline looks like by default:
And here's an example of what it can look like on another theme:
In the above example it only displays conditionally on single posts and includes the site description on the left and the genesis eNews widget on the right.
Here's the code you can simply paste in your child themes functions.php file:
And here's the CSS code which goes at the end of your child themes style.css file:
I've added CSS to style the Genesis eNews Widget, change the background color of the container and customize the font style and size.
All you need to do is install the eNews widget and configure the widget settings to your own liking.
The text for the tagline is pulled from the description you add to your General Settings > Tagline and displayed on the left side of the container.