Support » Themes and Templates » Set Home Title as H1 and Description as H2

  • Resolved cableghost


    The theme I am working with does not set the blog title as anything…I would like to set the title as H1 and the description as H2 ONLY for the Home page.

    Here is the Header code I have:

    <?php if (is_home()) { 	// Get the meta information from the options and echo it  - but only for the home page - pages and posts use custom fields to hold this info. ?>
    	<?php if (hmt_get_option(hmt_meta_description)): ?>
    		<meta name="description" content="<?php hmt_option('hmt_meta_description') ?>" />
    	<?php endif; ?>
  • The topic ‘Set Home Title as H1 and Description as H2’ is closed to new replies.