The site:
www.NaturallyKnockedUp.com
I'd like to place the widgeted ad box back into my header and can't quite figure out where to place the code. I hired a designer last fall and she moved all of my header options to a new template, the code:
PHP Code:
<?php if(get_theme_mod('header_layout') == 'Full') { ?>
<div id="header-blank">
<?php if(get_theme_mod('header_blog_title') == 'Image') { ?>
<div class="headerleft" id="imageheader">
<?php
if (is_home()) {
echo '<h1><a href="'.get_option('home').'/">'.get_bloginfo('name').'</a></h1>';
} else {
echo '<h4><a href="'.get_option('home').'/">'.get_bloginfo('name').'</a></h4>';
}
?>
<p><?php bloginfo('description'); ?></p>
</div>
<?php } else { ?>
<div class="headerleft">
<div class="headertext">
<?php if (is_home()) { ?>
<h1><a href="<?php echo get_settings('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
<?php } else { ?>
<h4><a href="<?php echo get_settings('home'); ?>/"><?php bloginfo('name'); ?></a></h4>
<?php } ?>
<p><?php bloginfo('description'); ?></p>
</div>
</div>
<?php } ?>
</div>
<?php } else { ?>
<div id="header">
<?php if(get_theme_mod('header_blog_title') == 'Image') { ?>
<div class="headerleft" id="imageheader">
<?php
if (is_home()) {
echo '<h1><a href="'.get_option('home').'/">'.get_bloginfo('name').'</a></h1>';
} else {
echo '<h4><a href="'.get_option('home').'/">'.get_bloginfo('name').'</a></h4>';
}
?>
<p><?php bloginfo('description'); ?></p>
</div>
<?php } else { ?>
<div class="headerleft">
<div class="headertext">
<?php if (is_home()) { ?>
<h1><a href="<?php echo get_settings('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
<?php } else { ?>
<h4><a href="<?php echo get_settings('home'); ?>/"><?php bloginfo('name'); ?></a></h4>
<?php } ?>
<p><?php bloginfo('description'); ?></p>
</div>
</div>
<?php } ?>
<div class="headerright">
<div id="headersearch"><form id="searchform" method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>">
<input type="text" value="Search this site..." name="s" id="searchbox" onfocus="if (this.value == 'Search this site...') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Search this site...';}" />
<input type="submit" id="searchbutton" value="SEARCH" /></form></div>
</div>
</div>
<?php } ?>
I've since moved a bunch of things around since she did it and want to monetize the header a bit. :-) Where, do I put the code in so that it works properly? And...if I might ask - what code?
Thanks in advance!