function thematic_hgroup()
{
    global $my_shortname;
    $title = stripslashes(get_option($my_shortname . '_rmtitle'));
    $desc = stripslashes(get_option($my_shortname . '_rmdesc'));
    if ($title == 'false' && $desc == 'false') {
        ?>
	<hgroup>
	<?php 
        thematic_blogtitle();
        thematic_blogdescription();
        ?>
	</hgroup>
	<?php 
    } else {
        if (empty($title) || $title !== 'true') {
            thematic_blogtitle();
        }
        if (empty($desc) || $desc !== 'true') {
            thematic_blogdescription();
        }
    }
}
示例#2
0
function wicked_blogtitle()
{
    // load the custom options
    global $childoptions;
    foreach ($childoptions as $value) {
        ${$value}['id'] = get_option($value['id'], $value['std']);
    }
    if ('true' == $wicked_show_logo) {
        ?>
    <div id="blog-title" class="header-image">
      <span><a href="<?php 
        bloginfo('url');
        ?>
/" 
               title="<?php 
        bloginfo('name');
        ?>
" 
               rel="home"><?php 
        bloginfo('name');
        ?>
</a></span>
    </div>
  <?php 
    } else {
        thematic_blogtitle();
    }
}