This will print both h1 and p if site name and if front page
<?php if ($site_name) { ?>
<?php if ($is_front) { ?>
<h1 class="sitetitle">
<ahref="<?php print $base_path ?>" title="<?php print t('Home') ?>">
<?php print $site_name ?>
</a>
</h1>
<p>This will appear on listing type pages.</p>
<?php } ?>
<?php } ?>
This will print h1 if front page and sitename and print p if front page.
<?php if ($is_front) { ?>
<?php if ($site_name) { ?>
<h1 class="sitetitle">
<ahref="<?php print $base_path ?>" title="<?php print t('Home') ?>">
<?php print $site_name ?>
</a>
</h1>
<?php } ?>
<p>This will appear on listing type pages.</p>
<?php } ?>
1 year 17 weeks ago