[resolved] Set Home Title as H1 and Description as H2 (1 post)

  1. cableghost
    Posted 6 years ago #

    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; ?>

Topic Closed

This topic has been closed to new replies.

About this Topic