<div id="container"> <div id="hd" class="container"> <h1 id="logo"><a href="index.php"><?php echo get_site_name(); ?> </a></h1> </div><!--/hd--> <div id="bd" class="container"> <div id="sidebar" class="column"> <?php echo content($_sidebar_content); ?> </div><!--/sidebar--> <div id="content" class="column"> <?php echo headline_tag(); ?> <?php echo place_image_if_alt(); ?> <?php echo content(); ?> </div><!--/content--> </div><!--/bd--> <div id="ft" class="container"> <?php echo text_navigation(); ?> </div><!--/ft--> <?php
function test_headline_tag() { # default to the page name $this->assertIdentical('<h1 class="headline">Life with Braces®</h1>' . "\n", headline_tag()); # default to the page name $this->assertIdentical('<h1 class="custom">Life with Braces®</h1>' . "\n", headline_tag('h1', array('class' => 'custom'))); # specify a _headline variable $GLOBALS['_headline'] = 'H1 Override'; $this->assertIdentical('<h1 class="headline">H1 Override</h1>' . "\n", headline_tag()); }