element.
*
* @since 0.1.0
*/
function Easy_site_title() {
$tag = ( is_front_page() ) ? 'h1' : 'div';
if ( $title = get_bloginfo( 'name' ) )
$title = '<' . $tag . ' id="site-title">
' . $title . '' . $tag . '>';
echo apply_atomic( 'site_title', $title );
}
/**
* Dynamic element to wrap the site description in. If it is the front page, wrap it in an
element.
* On other pages, wrap it in a
element.
*
* @since 0.1.0
*/
function Easy_site_description() {
$tag = ( is_front_page() ) ? 'h2' : 'div';
if ( $desc = get_bloginfo( 'description' ) )
$desc = "\n\t\t\t" . '<' . $tag . ' id="site-description">' . $desc . '' . $tag . '>' . "\n";
echo apply_atomic( 'site_description', $desc );
}
?>