description tags in stargazer

1 Reply ·

  1. Could you help with a fix so that the description in Stargazer has <p> tags instead of h2 tags.

    <h2 class="site-description font-primary" id="site-description">Bush to Beach on the Curtis Coast</h2>
    
  2. Justin Tadlock

    Adding this to your child theme’s functions.php should do the job:

    add_filter( 'hybrid_site_description', function( $desc ) {
    
        return sprintf( 
            '<p %s>%s</p>', 
            hybrid_get_attr( 'site-description' ),
            get_bloginfo( 'description', 'display' )
        );
    } );